-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathmypy.ini
More file actions
67 lines (54 loc) · 1.57 KB
/
Copy pathmypy.ini
File metadata and controls
67 lines (54 loc) · 1.57 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
62
63
64
65
66
67
[mypy]
# Python version
python_version = 3.9
# Strict mode settings - disabled globally for incremental typing
strict = False
# Keep some useful warnings but disable others to allow incremental typing
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = False
ignore_missing_imports = True
# Import discovery
namespace_packages = True
explicit_package_bases = True
mypy_path = .
# Error output
show_error_codes = True
show_error_context = True
show_column_numbers = True
pretty = True
color_output = True
# Ignore missing imports for optional dependencies
[mypy-yaml.*]
ignore_missing_imports = True
[mypy-psutil.*]
ignore_missing_imports = True
# Allow untyped calls for yaml module
[mypy-claude_ctx_py.activator]
disallow_untyped_calls = False
[mypy-claude_ctx_py.composer]
disallow_untyped_calls = False
# Relax strict checking on existing modules to allow incremental typing
[mypy-claude_ctx_py.cli]
disallow_any_unimported = False
disallow_untyped_calls = False
disallow_untyped_defs = False
[mypy-claude_ctx_py.commands.*]
disallow_any_unimported = False
disallow_untyped_calls = False
disallow_untyped_defs = False
[mypy-claude_ctx_py.core.*]
disallow_any_unimported = False
disallow_untyped_calls = False
disallow_untyped_defs = False
[mypy-claude_ctx_py.utils.*]
disallow_any_unimported = False
disallow_untyped_calls = False
disallow_untyped_defs = False
[mypy-claude_ctx_py.tui.*]
disallow_any_unimported = False
disallow_untyped_calls = False
disallow_untyped_defs = False
# Enable strict mode for test files to enforce type safety
[mypy-tests.*]
strict = True