forked from nattofriends/python-ass
-
Notifications
You must be signed in to change notification settings - Fork 12
/
tox.ini
61 lines (56 loc) · 1.12 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
59
60
61
[tox]
envlist = py35,py36,py37,py38,flake8
[testenv]
deps =
pytest==5.3.5
coverage==5.0.3
commands =
coverage run -m pytest {posargs}
# coverage report -m
# coverage html --skip-covered
[pytest]
testpaths =
tests
# Linters
[testenv:flake8]
skipsdist = True
basepython = python3
deps =
flake8==3.7.9
# flake8-docstrings==1.3.0
commands =
flake8 {posargs} .
# Other tools
[flake8]
exclude =
./.*,
__pycache__/,
htmlcov/,
venv/,
dist,
build,
max-line-length=100
ignore =
# D10{0..4} Missing docstring in public {module,class,method,function,package}
# D105: Missing docstring in magic method
# D107: Missing docstring in __init__
D100, D101, D102, D103, D104, D105, D107,
# The default ignore list:
# E121, E123, E126, E133, E226, E24, E704, W503, W504
# W503: line break occurred before a binary operator
W503,
# E241: multiple spaces after ':'
# E241,
[coverage:run]
# branch = True
source =
ass
tests
omit =
_rederer_test.py
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
@(abc\.)?abstractmethod
if __name__ == ['"]__main__['"]: