-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsetup.cfg
70 lines (64 loc) · 1.07 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tool:pytest]
log_level = DEBUG
addopts =
--cov-config=setup.cfg
[flake8]
exclude =
doc,
.tox,
.git,
__pycache__,
build,
dist,
.eggs,
env,
.mypy_cache
ignore =
ANN101,
ANN102,
D202,
D413,
E203,
S101,
S404,
TYP101,
TYP102,
TYP002,
TYP003,
W503,
per-file-ignores =
test_*: D1, S105, ANN401
setup.py: D1
max-line-length = 88
[coverage:run]
branch = True
source = passgithelper
[coverage:paths]
source =
.
*/site-packages/
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if __name__ == "__main__":
@abc.abstractmethod
[mypy]
ignore_missing_imports=True
disallow_untyped_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_unused_configs = True
warn_unused_ignores = True
[isort]
profile = google
known_local_folder = tests
case_sensitive = false
combine_as_imports = true
force_single_line = false
multi_line_output = 3
include_trailing_comma = true
lines_after_imports = 2
line_length = 88
force_grid_wrap = false
reverse_relative = true