-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathsetup.cfg
46 lines (37 loc) · 1003 Bytes
/
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
[flake8]
exclude = venv,.venv,.git,.tox,.eggs,docs,venv,bin,lib,deps,build
# To work with Black
max-line-length = 88
# E501: line too long
# W503: Line break occurred before a binary operator
# E203: Whitespace before ':'
# D202 No blank lines allowed after function docstring
# W504 line break after binary operator
ignore =
E501,
W503,
E203,
D202,
W504
[mypy]
ignore_missing_imports = True
follow_imports = normal
follow_imports_for_stubs = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
implicit_reexport = True
strict_equality = True
[tool:pytest]
testpaths = tests
addopts = --capture no --cov ./pyvera --cov-report html:build/coverage_report --cov-report term --cov-report xml:build/coverage.xml
[coverage:run]
branch = True
[coverage:report]
fail_under = 74