forked from koodaamo/tnefparse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
49 lines (36 loc) · 988 Bytes
/
tox.ini
File metadata and controls
49 lines (36 loc) · 988 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tox]
# Python 3.5 has TLS issues on OSX at least
envlist = py27, py36, py37, py38, coverage, check-manifest
[testenv]
# install the `optional` requirements
extras = optional
# this corresponds to a `pip install -e`
usedevelop = true
deps =
pytest
pytest-console-scripts
commands = pytest {posargs}
[testenv:coverage]
basepython = python3
deps =
pytest
pytest-cov
pytest-console-scripts
commands = pytest --cov-report term-missing --cov-report html --cov
[testenv:flake8]
basepython = python3
deps = flake8
commands =
# ignore max complexity and line break after binary operator
flake8 tnefparse/ tests/ setup.py --ignore=C901,W504
# check max complexity, but do not enforce it
flake8 tnefparse/ tests/ setup.py --count --exit-zero --max-complexity=10 --statistics
[testenv:check-manifest]
basepython = python3
deps =
check-manifest
commands =
check-manifest
[flake8]
# The GitHub editor is 127 chars wide.
max-line-length = 127