Skip to content

Commit 54c21bd

Browse files
authored
Make codespell and isort mandatory tests
Make codespell and isort mandatory tests. Drop bandit whose test results are not enlightening.
1 parent 6bb4e6d commit 54c21bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/lint_python.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ jobs:
66
steps:
77
- uses: actions/checkout@v2
88
- uses: actions/setup-python@v2
9-
- run: pip install bandit black codespell flake8 isort pytest pyupgrade tox
10-
- run: bandit -r . || true
9+
- run: pip install --upgrade pip
10+
- run: pip install black codespell flake8 isort pytest pyupgrade tox
1111
- run: black --check . || true
12-
- run: codespell --quiet-level=2 || true # --ignore-words-list="" --skip=""
12+
- run: codespell --quiet-level=2 # --ignore-words-list="" --skip=""
1313
- run: flake8 . --count --show-source --statistics
14-
- run: isort --profile black . || true
14+
- run: isort --profile black .
1515
- run: tox
16-
- run: pip install -r requirements.txt || true
16+
- run: pip install -e .
1717
- run: pytest . || true
1818
- run: pytest --doctest-modules . || true
1919
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true

0 commit comments

Comments
 (0)