-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
51 lines (43 loc) · 839 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
44
45
46
47
48
49
50
51
[tox]
isolated_build = true
skipsdist = true
envlist = py{36,37,38}
[tox:.package]
basepython = python3
[testenv]
deps =
flit
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
commands =
flit install --deps develop
python -m pytest tests/ --cov
python -m flake8 ox
python -m readme_renderer README.rst
python -m black . --check
[flake8]
# E127: over indents for visual indent
# E501: line > 79 characters
# W503: line break before binary operator
# E731: do not assign a lambda expression, use a def
ignore = E127, W503, E501, E731
exclude =
.git,
.tox,
__pycache__,
__init__.py,
docs/conf.py,
tasks.py,
build,
dist,
tests,
max-complexity = 10
[pytest]
env =
PYTHONPATH=.:$PYTHONPATH
norecursedirs =
.tox
testpaths =
tests/