|
@@ -9,11 +9,11 @@ jobs:
|
|
- run: pip install --upgrade pip wheel
|
|
- run: pip install --upgrade pip wheel
|
|
- run: pip install bandit black codespell flake8 flake8-bugbear
|
|
- run: pip install bandit black codespell flake8 flake8-bugbear
|
|
flake8-comprehensions isort mypy pytest pyupgrade safety
|
|
flake8-comprehensions isort mypy pytest pyupgrade safety
|
|
- - run: bandit --recursive --skip B101 . || true # B101 is assert statements
|
|
|
|
|
|
+ - run: bandit --recursive --skip B101,B104,B310,B311 .
|
|
- run: black --check . || true
|
|
- run: black --check . || true
|
|
- - run: codespell || true # --ignore-words-list="" --skip="*.css,*.js,*.lock"
|
|
|
|
- - run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
|
|
- - run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88
|
|
|
|
|
|
+ - run: codespell
|
|
|
|
+ - run: flake8 . --count --ignore=B001,E203,E266,E722,E731,F401,F811,F841
|
|
|
|
+ --max-complexity=10 --max-line-length=121
|
|
--show-source --statistics
|
|
--show-source --statistics
|
|
- run: isort --check-only --profile black . || true
|
|
- run: isort --check-only --profile black . || true
|
|
- run: pip install -r requirements.txt || pip install --editable . || true
|
|
- run: pip install -r requirements.txt || pip install --editable . || true
|