-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtox.ini
More file actions
102 lines (81 loc) · 2.01 KB
/
tox.ini
File metadata and controls
102 lines (81 loc) · 2.01 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[tox]
requires =
tox-venv
envlist = py36,py37
[testenv]
deps =
pytest
commands =
./test.py --filter=typed_python
[pytest]
testpaths =
typed_python
log_level = INFO
log_format = [%(asctime)s.%(msecs)03d] %(levelname)8s %(filename)30s:%(lineno)4s | %(threadName)10s | %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
# The pycodestyle section is used by autopep8
[pycodestyle]
max-line-length = 99
ignore =
E201, # whitespace after '{', '(', etc
E202, # whitespace before '}', ')', etc
E226, # missing whitespace around arithmetic operator
E227, # missing whitespace around bitwise or shift operator
E228, # missing whitespace around modulo operator
E731, # do not assign a lambda expression, use a def
W503, # line break before binary operator
W504, # line break after binary operator
exclude =
.git,
.eggs,
.venv,
.venv_3_8,
.venv_3_7,
.venv_3_6,
.venv_3_9,
.venv_3_10,
.venv_3_11,
.tox,
build
[flake8]
statistics = True
max-line-length = 139
ignore =
E201, # whitespace after '{', '(', etc
E202, # whitespace before '}', ')', etc
E226, # missing whitespace around arithmetic operator
E227, # missing whitespace around bitwise or shift operator
E228, # missing whitespace around modulo operator
E731, # do not assign a lambda expression, use a def
E741, # allow ambiguous variable names like 'l'
W503, # line break before binary operator
W504, # line break after binary operator
per-file-ignores=
__init__.py: F401,
exclude =
.git,
.eggs,
.venv,
.venv_3_8,
.venv_3_7,
.venv_3_6,
.venv_3_9,
.venv_3_10,
.venv_3_11,
.tox,
.nodeenv,
build
[coverage:run]
source =
typed_python
parallel = True
[coverage:report]
omit =
*_test.py
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
pass