mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-06 08:26:01 +08:00
refactoring
This commit is contained in:
parent
dc45a477b2
commit
c27f4e20f3
2
.github/workflows/lint_python.yml
vendored
2
.github/workflows/lint_python.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
- run: pip install .
|
||||
- run: pip install bandit black flake8 flake8-bugbear flake8-comprehensions isort safety mypy
|
||||
- run: mypy --install-types --non-interactive --ignore-missing-imports ./rembg
|
||||
- run: bandit --recursive --skip B101,B104,B310,B311,B303 --exclude ./rembg/_version.py ./rembg
|
||||
- run: bandit --recursive --skip B101,B104,B310,B311,B303,B110 --exclude ./rembg/_version.py ./rembg
|
||||
- run: black --force-exclude rembg/_version.py --check --diff ./rembg
|
||||
- run: flake8 ./rembg --count --ignore=B008,C901,E203,E266,E731,F401,F811,F841,W503 --max-line-length=120 --show-source --statistics --exclude ./rembg/_version.py
|
||||
- run: isort --check-only --profile black ./rembg
|
||||
|
Loading…
x
Reference in New Issue
Block a user