Skip to content

Commit 24f7094

Browse files
committed
Use tox
1 parent a8b5d1f commit 24f7094

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ pylint.txt
1717
.pyre
1818
.pytype
1919
*.swp
20+
.tox
2021
violations.pyflakes.txt

setup.cfg

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,19 @@ max-line-length = 88
77

88
[wheel]
99
universal = 1
10+
11+
[tox:tox]
12+
envlist = py36, py37, py38, mypy
13+
14+
[gh-actions]
15+
python =
16+
3.6: py36
17+
3.7: py37
18+
3.8: py38
19+
3.9: py39, mypy
20+
21+
[testenv]
22+
deps =
23+
pytest
24+
mocket
25+
commands = pytest tests

0 commit comments

Comments
 (0)