forked from workalendar/workalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (31 loc) · 640 Bytes
/
Copy pathtox.ini
File metadata and controls
35 lines (31 loc) · 640 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
[tox]
envlist = pyupgrade,flake8,py37,py38,py39,py310,py311
[testenv]
allowlist_externals =
flake8
py.test
pyup_dirs
deps =
pytest
pandas
pytest-cov
freezegun
-rrequirements.astronomy.txt
commands_pre =
python setup.py develop
python --version
commands =
py.test --cov=workalendar --cov-report term-missing:skip-covered {posargs: workalendar}
[testenv:flake8]
deps =
flake8
commands_pre =
skip_install = true
commands = flake8 workalendar
[testenv:pyupgrade]
deps =
pyupgrade
pyupgrade-directories
commands_pre =
skip_install = true
commands = pyup_dirs --py37-plus --recursive .