-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
61 lines (48 loc) · 1.25 KB
/
Copy pathmypy.ini
File metadata and controls
61 lines (48 loc) · 1.25 KB
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
[mypy]
python_version = 3.11
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
disallow_untyped_decorators = false
no_implicit_optional = false
strict_optional = false
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
follow_imports = skip
# Ignore errors in imported modules
ignore_missing_imports = true
# Exclude pydantic from type checking
[mypy-pydantic.*]
follow_imports = skip
ignore_errors = true
[mypy-pydantic._internal.*]
follow_imports = skip
ignore_errors = true
# Per-module rules
[mypy-plugins.*]
disallow_untyped_defs = false
# Stricter rules for core modules
[mypy-apilinker.core.*]
disallow_untyped_defs = false
check_untyped_defs = true
# Relax checking for dynamically-typed or API-heavy modules
[mypy-apilinker.connectors.*]
ignore_errors = true
[mypy-apilinker.examples.*]
ignore_errors = true
[mypy-apilinker.core.logger]
ignore_errors = true
[mypy-apilinker.core.error_handling]
ignore_errors = true
[mypy-apilinker.core.security]
ignore_errors = true
[mypy-apilinker.core.auth]
ignore_errors = true
[mypy-apilinker.core.scheduler]
ignore_errors = true
[mypy-apilinker.core.webhooks]
ignore_errors = true