Update lint_python.yml

This commit is contained in:
Christian Clauss
2021-02-28 08:09:18 +01:00
committed by GitHub
parent 794467443c
commit 9e79817bd5

View File

@@ -6,7 +6,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install bandit black codespell flake8 isort mypy pytest pyupgrade
- run: pip install bandit black codespell flake8 isort mypy pytest pyupgrade safety
- run: bandit -r . || true
- run: black --check . || true
- run: codespell --ignore-words-list="mape" --quiet-level=2 # --skip=""
@@ -17,3 +17,4 @@ jobs:
- run: pytest . || true
- run: pytest --doctest-modules . || true
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true
- run: safety check || true