This commit is contained in:
parent
820c891fd7
commit
124461f3e3
2 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,14 @@ pipeline:
|
|||
commands:
|
||||
- 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
|
||||
test-mypy:
|
||||
image: cr.44net.ch/ci-plugins/tests
|
||||
|
|
|
@ -11,3 +11,4 @@ pylint>=2.13.0
|
|||
mypy>=0.940
|
||||
tox>=3.24.5
|
||||
hatch>=1.0.0
|
||||
autoflake>=1.4
|
||||
|
|
Loading…
Reference in a new issue