-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathtox.ini
45 lines (37 loc) · 807 Bytes
/
tox.ini
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
39
40
41
42
43
44
45
[tox]
minversion=2.3
skip_missing_interpreters=true
envlist =
py3{8,9,10,11,12,13,14}
pypy3
[testenv]
changedir={toxinidir}
deps =
-r{toxinidir}/requirements.txt
{env:CHROMEDRIVER_PACKAGE}
openpyxl24: openpyxl<2.5
cryptography<3.4
commands =
py.test ./tests/ --basetemp={envtmpdir} --splinter-headless --cov xlsx2html --cov-report term-missing {posargs}
setenv =
CHROMEDRIVER_PACKAGE = {env:CHROMEDRIVER_PACKAGE:chromedriver-binary-auto}
passenv =
CHROMEDRIVER_PACKAGE
GITHUB_ACTIONS
[testenv:qa]
description = Lint
commands = flake8 xlsx2html
deps = flake8>=5,<6
[testenv:type]
description = type check
commands =
python -m mypy -p xlsx2html
deps = {[testenv]deps}
types-six
mypy>=0.901
[flake8]
exclude =
.git,
.tox,
build,
dist