Skip to content

Merge pull request #16 from NYU-ITS/minor_fix_logout #57

Merge pull request #16 from NYU-ITS/minor_fix_logout

Merge pull request #16 from NYU-ITS/minor_fix_logout #57

Triggered via push February 18, 2025 20:05
Status Failure
Total duration 18s
Artifacts

lint.yaml

on: push
ruff lint
6s
ruff lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (F811): coldfront/config/plugins/freeipa.py#L2
coldfront/config/plugins/freeipa.py:2:34: F811 Redefinition of unused `ENV` from line 1
Ruff (F401): coldfront/config/plugins/ldap_user_search.py#L5
coldfront/config/plugins/ldap_user_search.py:5:12: F401 `ldap` imported but unused; consider using `importlib.util.find_spec` to test for availability
Ruff (F811): coldfront/core/allocation/admin.py#L362
coldfront/core/allocation/admin.py:362:7: F811 Redefinition of unused `AllocationChangeStatusChoiceAdmin` from line 352
Ruff (E701): coldfront/core/allocation/views.py#L1795
coldfront/core/allocation/views.py:1795:29: E701 Multiple statements on one line (colon)
Ruff (F841): coldfront/core/allocation/views.py#L1842
coldfront/core/allocation/views.py:1842:13: F841 Local variable `attribute_change_request_obj` is assigned to but never used
Ruff (F841): coldfront/core/grant/views.py#L49
coldfront/core/grant/views.py:49:9: F841 Local variable `grant_obj` is assigned to but never used
Ruff (F841): coldfront/core/grant/views.py#L152
coldfront/core/grant/views.py:152:9: F841 Local variable `context` is assigned to but never used
Ruff (F841): coldfront/core/project/views.py#L466
coldfront/core/project/views.py:466:9: F841 Local variable `project_user_obj` is assigned to but never used
Ruff (E712): coldfront/core/project/views.py#L940
coldfront/core/project/views.py:940:12: E712 Avoid equality comparisons to `False`; use `if not allowed:` for false checks
Ruff (F841): coldfront/core/project/views.py#L1018
coldfront/core/project/views.py:1018:13: F841 Local variable `project_review_obj` is assigned to but never used