-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The results using pylint to score the code . The overall code had a rating of 5 out of 10. The minimum score should be greater than 7. The code is not up to standards. The command that was ran and the outputs are given below please see to the issue as soon as possible :
$ pylint tests
Output :
************* Module test_patient
tests/test_patient.py:4:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_patient.py:5:4: C0415: Import outside toplevel (inflammation.models.Patient) (import-outside-toplevel)
tests/test_patient.py:5:4: E0611: No name 'Patient' in module 'inflammation.models' (no-name-in-module)
************* Module test_models
tests/test_models.py:10:4: C0415: Import outside toplevel (inflammation.models.daily_mean) (import-outside-toplevel)
tests/test_models.py:23:4: C0415: Import outside toplevel (inflammation.models.daily_mean) (import-outside-toplevel)
tests/test_models.py:33:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_models.py:34:4: C0415: Import outside toplevel (inflammation.models.load_json) (import-outside-toplevel)
tests/test_models.py:36:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
tests/test_models.py:47:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_models.py:48:4: C0415: Import outside toplevel (inflammation.models.s_dev) (import-outside-toplevel)
tests/test_models.py:5:0: C0411: standard import "import os" should be placed before "import numpy as np" (wrong-import-order)
Metadata
Metadata
Assignees
Labels
No labels