forked from cs-cordero/py-ts-interfaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
80 lines (70 loc) · 1.56 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
71
72
73
74
75
76
77
78
79
80
[mypy]
python_version = 3.7
mypy_path = stubs
dump_inference_stats = False
dump_type_stats = False
incremental = False
pdb = False
show_column_numbers = False
show_error_context = True
show_traceback = False
verbosity = 0
check_untyped_defs = True
debug_cache = False
disallow_any_decorated = False
disallow_any_explicit = False
disallow_any_expr = False
disallow_any_generics = True
disallow_any_unimported = True
disallow_incomplete_defs = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
follow_imports = normal
follow_imports_for_stubs = True
ignore_errors = False
ignore_missing_imports = False
no_implicit_optional = True
show_none_errors = True
strict_optional = True
warn_incomplete_stub = True
warn_no_return = True
warn_redundant_casts = True
warn_return_any = True
warn_unused_ignores = True
# No incremental mode
cache_dir = /tmp/
[mypy-*.tests]
ignore_errors = True
[mypy-*.pytest]
ignore_errors = True
[tool:pytest]
addopts =
-p no:cacheprovider
--cov=py_ts_interfaces
--cov-report=term-missing
--cov-config=setup.cfg
--no-cov-on-fail
cache_dir = /tmp/
console_output_style = progress
python_files = test*.py pytest*.py
testpaths = py_ts_interfaces
xfail_strict = True
[coverage:run]
omit =
py_ts_interfaces/cli.py
py_ts_interfaces/tests/*
[coverage:report]
fail_under = 96
[flake8]
# to comport with black
max-line-length = 88
extend-ignore = E203
per-file-ignores =
**/__init__.py:F401
[isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88