forked from emma-heriot-watt/datasets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mypy.ini
39 lines (30 loc) · 771 Bytes
/
.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.9
exclude = (?x)(configs | storage | logs | docs)
# Import discovery
ignore_missing_imports = true
# Untyped definitions and calls
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_decorators = false
# None and Optional handling
no_implicit_optional = true
# Warnings
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
warn_unreachable = true
# Config error messages
show_error_context = false
show_column_numbers = true
show_error_codes = true
pretty = false
plugins = pydantic.mypy
[mypy-tests.*]
disallow_untyped_defs = false
[pydantic-mypy]
init_typed = true
warn_untyped_fields = true