Add ruff code style checker #393
Annotations
10 errors and 1 warning
Ruff (F401):
Spybot2/settings.py#L12
Spybot2/settings.py:12:22: F401 `datetime.timedelta` imported but unused
|
Ruff (F401):
spybot/auth/backend/link_backend.py#L1
spybot/auth/backend/link_backend.py:1:40: F401 `django.contrib.auth.models.User` imported but unused
|
Ruff (F841):
spybot/auth/passkeys.py#L51
spybot/auth/passkeys.py:51:9: F841 Local variable `username` is assigned to but never used
|
Ruff (E713):
spybot/auth/passkeys.py#L81
spybot/auth/passkeys.py:81:16: E713 Test for membership should be `not in`
|
Ruff (F841):
spybot/auth/passkeys.py#L96
spybot/auth/passkeys.py:96:25: F841 Local variable `exp` is assigned to but never used
|
Ruff (F841):
spybot/auth/passkeys.py#L125
spybot/auth/passkeys.py:125:13: F841 Local variable `cred` is assigned to but never used
|
Ruff (F841):
spybot/recorder/client.py#L116
spybot/recorder/client.py:116:42: F841 Local variable `e` is assigned to but never used
|
Ruff (F541):
spybot/recorder/cron/cron.py#L90
spybot/recorder/cron/cron.py:90:40: F541 f-string without any placeholders
|
Ruff (F401):
spybot/templatetags/__init__.py#L1
spybot/templatetags/__init__.py:1:33: F401 `spybot.templatetags.ts_filters` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
|
Ruff (F401):
spybot/templatetags/__init__.py#L1
spybot/templatetags/__init__.py:1:45: F401 `spybot.templatetags.tabler_icons` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
|
Build & test (3.11)
No files were found with the provided path: tests_result.xml. No artifacts will be uploaded.
|