update dependencies
This commit is contained in:
parent
02e4415cb4
commit
6fac05d9d3
3 changed files with 237 additions and 230 deletions
25
scripts/lint
25
scripts/lint
|
|
@ -1,29 +1,12 @@
|
|||
#!/bin/sh -eu
|
||||
|
||||
if [ "${1:-}" = '--fix' ]; then
|
||||
autoflake \
|
||||
--remove-duplicate-keys \
|
||||
--remove-unused-variables \
|
||||
--remove-all-unused-imports \
|
||||
--ignore-init-module-imports \
|
||||
--ignore-pass-after-docstring \
|
||||
--recursive \
|
||||
--in-place \
|
||||
.
|
||||
isort --profile black .
|
||||
autoflake --recursive --in-place .
|
||||
isort .
|
||||
black .
|
||||
else
|
||||
autoflake \
|
||||
--quiet \
|
||||
--remove-duplicate-keys \
|
||||
--remove-unused-variables \
|
||||
--remove-all-unused-imports \
|
||||
--ignore-init-module-imports \
|
||||
--ignore-pass-after-docstring \
|
||||
--recursive \
|
||||
--check \
|
||||
.
|
||||
isort --profile black --check .
|
||||
autoflake --quiet --recursive --check .
|
||||
isort --check .
|
||||
black --check .
|
||||
interrogate -v .
|
||||
mypy --exclude tests .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue