23 errors
Flake8 found 23 errors
Annotations
Check failure on line 11 in server/cshr/celery/send_email.py
github-actions / Flake8
server/cshr/celery/send_email.py#L11
'os' imported but unused (F401)
Check failure on line 190 in server/cshr/celery/send_email.py
github-actions / Flake8
server/cshr/celery/send_email.py#L190
Do not use bare 'except' (E722)
Check failure on line 11 in server/cshr/serializers/vacations.py
github-actions / Flake8
server/cshr/serializers/vacations.py#L11
Expected 2 blank lines, found 1 (E302)
Check failure on line 122 in server/cshr/serializers/vacations.py
github-actions / Flake8
server/cshr/serializers/vacations.py#L122
Expected 2 blank lines, found 1 (E302)
Check failure on line 126 in server/cshr/serializers/vacations.py
github-actions / Flake8
server/cshr/serializers/vacations.py#L126
Expected 2 blank lines, found 1 (E302)
Check failure on line 16 in server/cshr/services/vacations.py
github-actions / Flake8
server/cshr/services/vacations.py#L16
Unexpected spaces around keyword / parameter equals (E251)
Check failure on line 16 in server/cshr/services/vacations.py
github-actions / Flake8
server/cshr/services/vacations.py#L16
Unexpected spaces around keyword / parameter equals (E251)
Check failure on line 17 in server/cshr/services/vacations.py
github-actions / Flake8
server/cshr/services/vacations.py#L17
Unexpected spaces around keyword / parameter equals (E251)
Check failure on line 17 in server/cshr/services/vacations.py
github-actions / Flake8
server/cshr/services/vacations.py#L17
Unexpected spaces around keyword / parameter equals (E251)
Check failure on line 55 in server/cshr/utils/parse_date.py
github-actions / Flake8
server/cshr/utils/parse_date.py#L55
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
Check failure on line 11 in server/cshr/utils/redis_functions.py
github-actions / Flake8
server/cshr/utils/redis_functions.py#L11
'os' imported but unused (F401)
Check failure on line 25 in server/cshr/utils/redis_functions.py
github-actions / Flake8
server/cshr/utils/redis_functions.py#L25
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
Check failure on line 38 in server/cshr/utils/vacation_balance_helper.py
github-actions / Flake8
server/cshr/utils/vacation_balance_helper.py#L38
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
Check failure on line 54 in server/cshr/utils/vacation_balance_helper.py
github-actions / Flake8
server/cshr/utils/vacation_balance_helper.py#L54
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
Check failure on line 31 in server/cshr/views/event.py
github-actions / Flake8
server/cshr/views/event.py#L31
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
Check failure on line 35 in server/cshr/views/meetings.py
github-actions / Flake8
server/cshr/views/meetings.py#L35
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
Check failure on line 90 in server/cshr/views/vacations.py
github-actions / Flake8
server/cshr/views/vacations.py#L90
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
Check failure on line 128 in server/cshr/views/vacations.py
github-actions / Flake8
server/cshr/views/vacations.py#L128
Blank line contains whitespace (W293)
Check failure on line 130 in server/cshr/views/vacations.py
github-actions / Flake8
server/cshr/views/vacations.py#L130
Blank line contains whitespace (W293)
Check failure on line 161 in server/settings.py
github-actions / Flake8
server/settings.py#L161
At least two spaces before inline comment (E261)
Check failure on line 161 in server/settings.py
github-actions / Flake8
server/settings.py#L161
Inline comment should start with '# ' (E262)
Check failure on line 171 in server/settings.py
github-actions / Flake8
server/settings.py#L171
Trailing whitespace (W291)
Check failure on line 177 in server/settings.py
github-actions / Flake8
server/settings.py#L177
Missing whitespace around operator (E225)