-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
53 lines (49 loc) · 1.15 KB
/
setup.cfg
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
[flake8]
filename =
simetuc/*.py
exclude =
simetuc/test
ignore =
# comments should begin by '# ' (exactly one space after #)
E265,
# missing whitespace around arithmetic operator -> very ugly!!
E226,
# no ## double comment
E266,
# continuation line with same indent as next logical line
# (but if you add indent then you get another error!)
E125,
# parenthesis shouldn't be indented
E124
statistics = True
max-line-length = 100
output-file = flake8.txt
[tool:pytest]
testpaths = simetuc/test
addopts = -n auto --cov-report=html:simetuc/test/cov_html --cov=simetuc
log_print = False
log_cli_level = CRITICAL
[mypy]
warn_unused_ignores = True
warn_unused_configs = True
ignore_missing_imports = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
warn_redundant_casts = True
[coverage:run]
#source = simetuc
omit =
*test_*
*conftest.py*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
return NotImplemented
if 0:
if __name__ == .__main__.: