forked from openshift-eng/art-bot
-
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) · 747 Bytes
/
tox.ini
File metadata and controls
35 lines (31 loc) · 747 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 = py11
[gh-actions]
python =
3.8: py11
[testenv]
deps =
-r requirements-dev.txt
-r requirements.txt
passenv =
*
SETUPTOOLS_USE_DISTUTILS
setenv =
# Tell setuptools to use standard library's distutils instead of its own distutils
# Without this, tox fails to create testing environment
SETUPTOOLS_USE_DISTUTILS = stdlib
commands =
pytest tests
flake8
coverage run --branch --source artbotlib -m pytest -s tests/ -W ignore::DeprecationWarning
coverage report
[flake8]
ignore =
# imported but unused
# __init__ often imports to make available
# but does not use
F401,
# Line too long
E501,
exclude = build/*, *.ini, *.in, MANIFEST*, *.md, .eggs, .tox, venv
max-complexity = -1