Skip to content

Commit

Permalink
update tox to use makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Nov 23, 2023
1 parent 53f01ca commit 1345d48
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ envlist =
lint
docs
requires =
flit
pip >= 23.0
opts = -v

Expand All @@ -14,11 +15,13 @@ basepython = python
deps =
black
flake8
isort
commands_pre =
pip list
commands =
black --check clisops tests --exclude tests/mini-esgf-data
flake8 clisops tests
make lint
allowlist_externals =
make

[testenv:docs]
extras = docs
Expand Down Expand Up @@ -48,5 +51,5 @@ commands_pre =
pip list
pip check
commands =
pytest --cov
pytest --cov clisops
- coveralls

0 comments on commit 1345d48

Please sign in to comment.