forked from scanny/python-pptx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
58 lines (48 loc) · 1.41 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Configuration for tox and pytest
[flake8]
exclude = dist,docs,*.egg-info,.git,lab,ref,_scratch,spec,.tox
ignore =
# -- E203 - whitespace before ':'. Black disagrees for slice expressions.
E203,
# -- W503 - line break before binary operator. Black has a different opinion about
# -- this, that binary operators should appear at the beginning of new-line
# -- expression segments. I agree because right is ragged and left lines up.
W503
max-line-length = 88
[pytest]
filterwarnings =
# -- exit on any warning not explicitly ignored here --
error
# -- pytest-xdist plugin may warn about `looponfailroots` deprecation --
ignore::DeprecationWarning:xdist
# -- pytest complains when pytest-xdist is not installed --
ignore:Unknown config option. looponfailroots:pytest.PytestConfigWarning
looponfailroots = pptx tests
norecursedirs = docs *.egg-info features .git pptx spec .tox
python_classes = Test Describe
python_functions = test_ it_ they_ but_ and_it_
[tox]
envlist = py27, py38, py311
requires = virtualenv<20.22.0
skip_missing_interpreters = false
[testenv]
deps =
behave==1.2.5
lxml>=3.1.0
Pillow>=3.3.2
pyparsing>=2.0.1
pytest
XlsxWriter>=0.5.7
commands =
py.test -qx
behave --format progress --stop --tags=-wip
[testenv:py27]
deps =
behave==1.2.5
lxml>=3.1.0
mock
Pillow>=3.3.2
pyparsing>=2.0.1
pytest
XlsxWriter>=0.5.7