[Enhancement] Coding Conventions Inconsistencies
macieslik opened this issue · comments
Blank Lines
Top-level function and class definitions should be surrounded with two blank lines.
Example of inconsistency in models.py (lines 12-25):
Consider using blank lines to indicate logical sections.
Example of inconsistency in models.py (lines 50-56) (separated try-expect blocks):
Try to use consistent formatting for similar blocks.
Example of inconsistency in test_patient.py (lines 4-16):
Docstrings
Docstrings at the beginning of modules, classes and functions with are recommended.
Example of inconsistency in test_models.py (lines 42-50):
Whitespaces
Assignments should be surrounded with a single space on both sides.
Example of inconsistency in models.py (lines 27-30):
Single whitespace should follow immediately after a comma.
Example of inconsistency in test_patient.py (lines 18-27):
There should be no whitespaces around keyword argument assignment.
Example of inconsistency in test_models.py (lines 42-50):
Redundant Code
Unused dependencies should be removed.