Skip to content

Coupling approval with school #58

Coupling approval with school

Coupling approval with school #58

Triggered via pull request February 24, 2025 17:54
Status Failure
Total duration 17s
Artifacts

lint.yaml

on: pull_request
ruff lint
5s
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#L1832
coldfront/core/allocation/views.py:1832:29: E701 Multiple statements on one line (colon)
Ruff (F841): coldfront/core/allocation/views.py#L1879
coldfront/core/allocation/views.py:1879: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