Skip to content

Commit e3492c7

Browse files
author
James Boulton
committed
fxn
1 parent 31753f4 commit e3492c7

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ dmypy.json
133133
# End of https://www.gitignore.io/api/python
134134
.vscode/
135135
.VScode*
136-
*.ini
136+
Examples/*.ini
137137
.DS_Store
138138
pylint.out
139139
.noseids

tox.ini

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[tox]
2+
minversion = 3.8.0
3+
envlist = py38, py39, flake8
4+
isolated_build = true
5+
6+
[gh-actions]
7+
python =
8+
3.8: py38, flake8
9+
3.9: py39
10+
3.10: py310
11+
12+
[testenv]
13+
setenv =
14+
PYTHONPATH = {toxinidir}
15+
deps =
16+
-r{toxinidir}/requirements_dev.txt
17+
commands =
18+
pytest --basetemp={envtmpdir}
19+
20+
[testenv:flake8]
21+
basepython = python3.8
22+
deps = flake8
23+
commands = flake8 dashio Examples tests utilities
24+
25+
26+
#[testenv:mypy]
27+
#basepython = python3.6
28+
#deps =
29+
# -r{toxinidir}/requirements_dev.txt
30+
#commands = mypy dashio
31+

0 commit comments

Comments
 (0)