Skip to content

🔧 Implement Ruff as required check instead of Black creating a commit re-formatting code #84

🔧 Implement Ruff as required check instead of Black creating a commit re-formatting code

🔧 Implement Ruff as required check instead of Black creating a commit re-formatting code #84

Triggered via pull request September 17, 2024 23:50
Status Failure
Total duration 18s
Artifacts

format-python.yml

on: pull_request
format_check
8s
format_check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (F401): cli/ldap_cmds/rbac.py#L9
cli/ldap_cmds/rbac.py:9:5: F401 `cli.ldap_cmds.ldap_connect` imported but unused
Ruff (F541): cli/ldap_cmds/rbac.py#L139
cli/ldap_cmds/rbac.py:139:23: F541 f-string without any placeholders
Ruff (F541): cli/ldap_cmds/rbac.py#L177
cli/ldap_cmds/rbac.py:177:23: F541 f-string without any placeholders
Ruff (F541): cli/ldap_cmds/rbac.py#L229
cli/ldap_cmds/rbac.py:229:23: F541 f-string without any placeholders
Ruff (F841): cli/ldap_cmds/rbac.py#L251
cli/ldap_cmds/rbac.py:251:35: F841 Local variable `no_such_object_e` is assigned to but never used
Ruff (F541): cli/ldap_cmds/rbac.py#L315
cli/ldap_cmds/rbac.py:315:23: F541 f-string without any placeholders
Ruff (F841): cli/ldap_cmds/rbac.py#L340
cli/ldap_cmds/rbac.py:340:39: F841 Local variable `no_such_object_e` is assigned to but never used
Ruff (F541): cli/ldap_cmds/rbac.py#L402
cli/ldap_cmds/rbac.py:402:23: F541 f-string without any placeholders
Ruff (F821): cli/ldap_cmds/rbac.py#L414
cli/ldap_cmds/rbac.py:414:43: F821 Undefined name `dn`
Ruff (F541): cli/ldap_cmds/rbac.py#L438
cli/ldap_cmds/rbac.py:438:23: F541 f-string without any placeholders