Skip to content

Commit

Permalink
Clean out old tox jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson committed Dec 9, 2022
1 parent 841a19e commit 4f090b0
Showing 1 changed file with 2 additions and 42 deletions.
44 changes: 2 additions & 42 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist= py38,style
envlist= py38,py39,py39
isolated_build = True

[testenv]
Expand All @@ -19,7 +19,7 @@ deps=
legacy: numpy~=1.18
legacy: pytest~=6.0.0
legacy: astropy~=5.0.4
numpydev,s390x: cython
numpydev: cython
extras= all,tests
# astropy will complain if the home directory is missing
passenv= HOME
Expand All @@ -28,30 +28,6 @@ commands=
pip freeze
pytest --remote-data

[testenv:egg_info]
deps=
commands=
python setup.py egg_info

[testenv:docbuild]
extras= docs
commands=
pip freeze
sphinx-build -W docs build/docs

[testenv:checkdocs]
deps=
collective.checkdocs
pygments
commands=
python setup.py checkdocs

[testenv:style]
deps=
flake8
commands=
flake8 --count

# coverage run must be used because the pytest-asdf plugin will interfere
# with proper coverage measurement due to the order pytest loads its
# entry points.
Expand All @@ -71,19 +47,3 @@ extras= all,tests
commands=
pip freeze
pytest compatibility_tests/ --remote-data

[testenv:bandit]
deps=
bandit
toml
commands=
bandit -c bandit.yaml -r .

[testenv:codestyle]
skip_install = true
description = Run all style and file checks with pre-commit
deps =
pre-commit
commands =
pre-commit install-hooks
pre-commit run {posargs:--color always --all-files --show-diff-on-failure}

0 comments on commit 4f090b0

Please sign in to comment.