-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathtox.ini
44 lines (36 loc) · 906 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
# Tox (https://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py{27,36,37,38,39,310,311,312,313}-{linux,macos,windows}
[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
[testenv]
commands =
python --version
flake8
coverage run tests.py
deps =
flake8
coverage
[flake8]
max-line-length = 280
ignore =
W191,E101,E127,E202,W293,W391,W291,E201,E203,E124,E128,E222,E226,E221,
E228,E241,E261,E265,E266,E302,E303,E306,W605,E711,E713,E731
exclude = .git,.venv,.tox,.github