-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmypy.ini
39 lines (30 loc) · 1.01 KB
/
mypy.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
32
33
34
35
36
37
38
39
[mypy]
python_version = 3.10
exclude = (^srcML|setup.py|^scratch|_skbuild|pybind11|^build/|lg_projects|litgen/integration_tests|_litgen_template|^venv|/venv|ci_scripts|importanize|imgui_bundle|^cmake-build-|^build/|litgen_notebook_display)
# Explicitly blacklist modules in use
# that don't have type stubs.
;[mypy-pytest.*]
;ignore_missing_imports = True
warn_return_any = True
warn_unused_configs = True
check_untyped_defs = True
disallow_untyped_calls = True
disallow_untyped_defs = False
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_decorators = True
disallow_incomplete_defs = True
no_implicit_optional = True
strict_equality = True
warn_redundant_casts = True
warn_unused_ignores = False
; strict = True
; Strict mode; enables the following additional flag:
; no_implicit_reexport = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-srcmlcpp.tests.*]
[mypy-litgen.tests.*]
[mypy-litgen.tests.adapt_function.*]
[mypy-litgen.tests.adapted_types.*]
[mypy-codemanip.tests.*]