-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmypy.ini
More file actions
47 lines (40 loc) 路 1.07 KB
/
Copy pathmypy.ini
File metadata and controls
47 lines (40 loc) 路 1.07 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
[mypy]
# Strict mode configuration for MCP Audit
# Python version: 3.13 (matches CI environment)
# Note: Runtime supports Python 3.8+ via tomllib/toml fallback
# Strict mode
strict = True
python_version = 3.13
# Exclude test files from strict checking
exclude = (?x)(
^test_.*\.py$
)
# Strict flags (explicitly enabled for clarity)
warn_unused_configs = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
strict_concatenate = True
# Additional strictness
warn_unreachable = True
allow_redefinition = False
# Output
show_error_codes = True
show_error_context = True
show_column_numbers = True
pretty = True
# Error reporting
show_error_code_links = True
# Platform-specific
# Note: BaseTracker uses ABC from abc module
# Adapters use platform-specific imports