Skip to content

Hide the salary info. #965

Hide the salary info.

Hide the salary info. #965

Triggered via push October 30, 2023 08:54
Status Success
Total duration 20s
Artifacts

lint.yml

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

Annotations

29 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/office.py#L13
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/users.py#L6
'server.cshr.api.permission.IsUser' imported but unused (F401)
server/cshr/views/users.py#L12
'server.cshr.services.office.get_office_by_name' imported but unused (F401)
server/cshr/views/users.py#L189
Whitespace after '[' (E201)
server/cshr/views/users.py#L189
Whitespace before ']' (E202)
server/cshr/views/users.py#L200
Blank line contains whitespace (W293)
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/