forked from KotlinIsland/basedmypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy_self_check.ini
31 lines (28 loc) · 904 Bytes
/
mypy_self_check.ini
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
[mypy]
strict = True
disallow_any_unimported = True
show_traceback = True
pretty = True
always_false = MYPYC
plugins = mypy.plugins.proper_plugin
python_version = 3.8
exclude = mypy/typeshed/|mypyc/test-data/|mypyc/lib-rt/
enable_error_code = ignore-without-code,bad-cast
enable_incomplete_feature = PreciseTupleTypes
show_error_code_links = True
nonlocal_partial_types = True
allow_any_expr = True
allow_any_explicit = True
allow_any_decorated = True
no_warn_unreachable = True
implicit_reexport = True
disallow_redefinition = True
disable_error_code = truthy-bool, truthy-iterable, no-untyped-usage, possibly-undefined, explicit-override, redundant-expr
work_not_properly_function_names = True
[mypy-_pytest.*,pytest.*]
incomplete_is_typed = True
infer_function_types = False
default_return = False
[mypy-mypy.visitor]
# See docstring for NodeVisitor for motivation.
disable_error_code = empty-body