Skip to content

Fix profile improments. #961

Fix profile improments.

Fix profile improments. #961

Triggered via push October 29, 2023 17:23
Status Success
Total duration 20s
Artifacts

lint.yml

on: push
Run linters
10s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 1 warning
server/cshr/celery/send_email.py#L11
'os' imported but unused (F401)
server/cshr/celery/send_email.py#L190
Do not use bare 'except' (E722)
server/cshr/serializers/vacations.py#L11
Expected 2 blank lines, found 1 (E302)
server/cshr/serializers/vacations.py#L122
Expected 2 blank lines, found 1 (E302)
server/cshr/serializers/vacations.py#L126
Expected 2 blank lines, found 1 (E302)
server/cshr/services/vacations.py#L16
Unexpected spaces around keyword / parameter equals (E251)
server/cshr/services/vacations.py#L16
Unexpected spaces around keyword / parameter equals (E251)
server/cshr/services/vacations.py#L17
Unexpected spaces around keyword / parameter equals (E251)
server/cshr/services/vacations.py#L17
Unexpected spaces around keyword / parameter equals (E251)
server/cshr/utils/parse_date.py#L55
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
server/cshr/utils/redis_functions.py#L11
'os' imported but unused (F401)
server/cshr/utils/redis_functions.py#L25
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
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)
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)
server/cshr/views/event.py#L31
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
server/cshr/views/meetings.py#L35
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
server/cshr/views/vacations.py#L90
Do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` (E721)
server/cshr/views/vacations.py#L128
Blank line contains whitespace (W293)
server/cshr/views/vacations.py#L130
Blank line contains whitespace (W293)
server/settings.py#L161
At least two spaces before inline comment (E261)
server/settings.py#L161
Inline comment should start with '# ' (E262)
server/settings.py#L171
Trailing whitespace (W291)
server/settings.py#L177
Missing whitespace around operator (E225)
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/