blob: e1c6bb70e2cc3835c7ecd0bcc251476da1d319ed (
plain) (
blame)
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
|
[tool:pytest]
addopts = --cov=src/public
testpaths = test docs
[flake8]
exclude = conf.py
jobs = 1
max-line-length = 79
[coverage:report]
fail_under = 100
show_missing = true
[coverage:run]
branch = true
parallel = true
omit =
[coverage:paths]
source =
public
[tool:isort]
include_trailing_comma = true
known_first_party = public
length_sort_straight = true
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
order_by_type = false
skip = conf.py
[mypy]
namespace_packages = true
# Disallow dynamic typing
disallow_any_generics = true
disallow_subclassing_any = true
# Untyped definitions and calls
disallow_untyped_calls = false
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
# None and Optional handling
no_implicit_optional = true
# Configuring warnings
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
# Miscellaneous strictness flags
implicit_reexport = false
strict_equality = true
# Configuring error messages
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true
show_absolute_path = true
# Miscellaneous
warn_unused_configs = true
verbosity = 0
[mypy-pytest]
ignore_missing_imports = true
[mypy-sybil.*]
ignore_missing_imports = true
|