File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,6 @@ global-include *.pyx *.pxd
2
2
recursive-include tests *.py *.ttf LICENSE.txt
3
3
recursive-include docs *.rst *.py make* _*/*
4
4
prune docs/_build
5
+ include *.md
6
+ include *.txt
7
+ include .coveragerc
Original file line number Diff line number Diff line change
1
+ # 'Tox' is a tool for automating sdist/build/test cycles against
2
+ # multiple Python versions:
3
+ # https://pypi.python.org/pypi/tox
4
+ # https://tox.readthedocs.io/
5
+
6
+ # To run against a specific subset of Python versions, use:
7
+ # tox -e py37
8
+
9
+ # Tox assumes that you have appropriate Python interpreters already
10
+ # installed and that they can be run as (e.g.) 'python3.8'
11
+
12
+ [tox]
13
+ envlist =
14
+ lint
15
+ py36,py37,py38,py39,
16
+
17
+ [testenv]
18
+ deps = -Ur{toxinidir}/requirements-dev.txt
19
+ passenv = PKG_CONFIG_PATH
20
+ commands =
21
+ {envpython} setup.py build_ext -i --coverage
22
+ python -m pytest
23
+
24
+ [testenv:lint]
25
+ commands =
26
+ pre-commit run --all-files --show-diff-on-failure
27
+ deps =
28
+ pre-commit
29
+ skip_install = true
30
+ passenv = PRE_COMMIT_COLOR
You can’t perform that action at this time.
0 commit comments