Skip to content

Commit

Permalink
Tweak test-run in CI-job
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Sep 18, 2023
1 parent 2ef4050 commit 665ce84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
with:
python-version: 3.x
- run: pip install --upgrade pip wheel
- run: pip install --editable . || pip install .
- run: pytest .
- run: pytest --doctest-modules .
- run: pip install bandit "black[jupyter]" codespell flake8 flake8-2020
isort mypy pytest pyupgrade
- run: bandit --recursive --skip B101,B102,B110,B112,B307,B404,B603,B607 .
Expand All @@ -20,9 +23,6 @@ jobs:
- run: flake8 . --count --exit-zero --max-complexity=66 --max-line-length=118
--show-source --statistics
- run: isort --check-only --profile black . || true
- run: pip install --editable . || pip install .
- run: mkdir --parents --verbose .mypy_cache
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
- run: pytest .
- run: pytest --doctest-modules .
- run: shopt -s globstar && pyupgrade --py37-plus **/*.py || true
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ flake8-ignore =
# E222: Multiple spaces after operator.
# E226: Missing space around arithmetic operator.
# E251: unexpected spaces around keyword/parameter equals
# E721: do not compare types
# F401: Multiple imports on one line.
# F403: Module import not at top of file.
# W503: Break before binary operator; warn on breaking after.
Expand All @@ -36,6 +37,7 @@ flake8-ignore =
__init__.py F401 F403
arrhenius.py F401
chempy/*.* E226
chempy/chemistry.py E721
chempy/kinetics/tests/test_rates.py E221 E222 E251
chempy/properties/** E222
debye_huckel.py F401
Expand Down

0 comments on commit 665ce84

Please sign in to comment.