forked from theatlantic/django-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (34 loc) · 822 Bytes
/
tox.ini
File metadata and controls
38 lines (34 loc) · 822 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
38
[tox]
envlist =
py{37,38}-django{22,30,31,32}
[testenv]
commands =
{posargs:python runtests.py}
deps =
django22: Django>=2.2.19,<3.0
django30: Django>=3.0.13,<3.1
django31: Django>=3.1.7,<3.2
django32: Django>=3.2rc1,<4.0
[testenv:pep8]
description = Run PEP8 pycodestyle (flake8) against the djxml/ package directory
skipsdist = true
skip_install = true
basepython = python3.7
deps = flake8
commands = flake8 djxml
[testenv:clean]
description = Clean all build and test artifacts
skipsdist = true
skip_install = true
deps =
whitelist_externals =
find
rm
commands =
find {toxinidir} -type f -name "*.pyc" -delete
find {toxinidir} -type d -name "__pycache__" -delete
rm -rf {toxworkdir} {toxinidir}/build django_xml.egg-info
[gh-actions]
python =
3.7: py37
3.8: py38