add autoflake tests
All checks were successful
ci/woodpecker/push/tests Pipeline was successful

This commit is contained in:
Ivan Schaller 2022-07-15 14:10:17 +02:00
parent 820c891fd7
commit 124461f3e3
2 changed files with 9 additions and 0 deletions

View file

@ -31,6 +31,14 @@ pipeline:
commands: commands:
- isort --check-only --diff . - isort --check-only --diff .
# check unused and missing imports
test-autoflake:
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- autoflake --remove-all-unused-imports -r -v mangadlp/
- autoflake --check --remove-all-unused-imports -r -v mangadlp/
# check static typing - python # check static typing - python
test-mypy: test-mypy:
image: cr.44net.ch/ci-plugins/tests image: cr.44net.ch/ci-plugins/tests

View file

@ -11,3 +11,4 @@ pylint>=2.13.0
mypy>=0.940 mypy>=0.940
tox>=3.24.5 tox>=3.24.5
hatch>=1.0.0 hatch>=1.0.0
autoflake>=1.4