72 errors
Flake8 found 72 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 14 in server/cshr/models/users.py
github-actions / Flake8
server/cshr/models/users.py#L14
Expected 2 blank lines, found 1 (E302)
Check failure on line 56 in server/cshr/models/users.py
github-actions / Flake8
server/cshr/models/users.py#L56
At least two spaces before inline comment (E261)
Check failure on line 74 in server/cshr/models/users.py
github-actions / Flake8
server/cshr/models/users.py#L74
Expected 2 blank lines, found 1 (E302)
Check failure on line 8 in server/cshr/models/vacations.py
github-actions / Flake8
server/cshr/models/vacations.py#L8
'django.core.exceptions.ValidationError' imported but unused (F401)
Check failure on line 63 in server/cshr/models/vacations.py
github-actions / Flake8
server/cshr/models/vacations.py#L63
Expected 2 blank lines, found 1 (E302)
Check failure on line 4 in server/cshr/serializers/event.py
github-actions / Flake8
server/cshr/serializers/event.py#L4
'server.cshr.serializers.users.BaseUserSerializer' imported but unused (F401)
Check failure on line 15 in server/cshr/serializers/public_holidays.py
github-actions / Flake8
server/cshr/serializers/public_holidays.py#L15
Blank line contains whitespace (W293)
Check failure on line 17 in server/cshr/serializers/public_holidays.py
github-actions / Flake8
server/cshr/serializers/public_holidays.py#L17
Indentation is not a multiple of 4 (E111)
Check failure on line 358 in server/cshr/serializers/users.py
github-actions / Flake8
server/cshr/serializers/users.py#L358
Blank line contains whitespace (W293)
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 3 in server/cshr/services/landing_page.py
github-actions / Flake8
server/cshr/services/landing_page.py#L3
'json' imported but unused (F401)
Check failure on line 13 in server/cshr/services/office.py
github-actions / Flake8
server/cshr/services/office.py#L13
Expected 2 blank lines, found 1 (E302)
Check failure on line 9 in server/cshr/services/public_holidays.py
github-actions / Flake8
server/cshr/services/public_holidays.py#L9
Indentation is not a multiple of 4 (E111)
Check failure on line 12 in server/cshr/services/public_holidays.py
github-actions / Flake8
server/cshr/services/public_holidays.py#L12
Indentation is not a multiple of 4 (E111)
Check failure on line 14 in server/cshr/services/public_holidays.py
github-actions / Flake8
server/cshr/services/public_holidays.py#L14
Expected 2 blank lines, found 1 (E302)
Check failure on line 15 in server/cshr/services/public_holidays.py
github-actions / Flake8
server/cshr/services/public_holidays.py#L15
Indentation is not a multiple of 4 (E111)
Check failure on line 18 in server/cshr/services/public_holidays.py
github-actions / Flake8
server/cshr/services/public_holidays.py#L18
Indentation is not a multiple of 4 (E111)
Check failure on line 19 in server/cshr/services/public_holidays.py
github-actions / Flake8
server/cshr/services/public_holidays.py#L19
Indentation is not a multiple of 4 (E111)
Check failure on line 23 in server/cshr/services/public_holidays.py
github-actions / Flake8
server/cshr/services/public_holidays.py#L23
No newline at end of file (W292)
Check failure on line 77 in server/cshr/services/users.py
github-actions / Flake8
server/cshr/services/users.py#L77
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)