Skip to content

improve code readability #365

improve code readability

improve code readability #365

Triggered via push September 23, 2024 14:09
Status Failure
Total duration 24s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
flake8: finder/admin/__init__.py#L3
'.label' imported but unused
flake8: finder/contrib/audio/models.py#L38
local variable 'exp' is assigned to but never used
flake8: finder/contrib/image/pil/models.py#L90
local variable 'exception' is assigned to but never used
flake8: finder/contrib/video/models.py#L43
local variable 'exp' is assigned to but never used
flake8: finder/contrib/video/models.py#L60
local variable 'exp' is assigned to but never used
flake8: finder/management/commands/reorganize_finder.py#L2
'django.db.models.expressions.Value' imported but unused
flake8: finder/management/commands/reorganize_finder.py#L3
'django.db.models.fields.BooleanField' imported but unused
flake8: finder/models/inode.py#L101
missing whitespace around operator
flake8: finder/models/label.py#L1
'django.conf.settings' imported but unused
flake8: finder/models/label.py#L2
'django.contrib.staticfiles.storage.staticfiles_storage' imported but unused
flake8
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
flake8
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
flake8: finder/admin/label.py#L21
blank line at end of file
isort
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
isort
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/