-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (34 loc) · 844 Bytes
/
tox.ini
File metadata and controls
37 lines (34 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
envlist =
py{38,39,310}-test{,-devdeps}
codestyle
requires =
setuptools >= 30.3.0
pip >= 19.3.1
isolated_build = true
[testenv]
changedir = .tmp/{envname}
description = run tests
extras = test
deps =
pytest50: pytest==5.0.*
pytest51: pytest==5.1.*
pytest52: pytest==5.2.*
pytest53: pytest==5.3.*
pytest60: pytest==6.0.*
pytest61: pytest==6.1.*
pytest62: pytest==6.2.*
pytest70: pytest==7.0.*
pytest71: pytest==7.1.*
pytest80: pytest==8.0.*
pytest81: pytest==8.1.*
pytest90: pytest==9.0.*
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
commands =
pip freeze
pytest {toxinidir}/tests {posargs}
[testenv:codestyle]
skip_install = true
description = check code style, e.g. with flake8
deps = flake8
commands = flake8 pytest_astropy_header --count