-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathmypy.ini
More file actions
100 lines (70 loc) · 1.85 KB
/
mypy.ini
File metadata and controls
100 lines (70 loc) · 1.85 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[mypy]
# Mypy configuration for ADscan project
# See https://mypy.readthedocs.io/en/stable/config_file.html
# Python version
python_version = 3.12
# Platform
platform = linux
# Follow imports
follow_imports = normal
# Check untyped definitions
check_untyped_defs = True
# Disallow untyped calls
disallow_untyped_calls = False
# Disallow untyped definitions
disallow_untyped_defs = False
# Disallow incomplete stubs
disallow_incomplete_defs = False
# Check redundant casts
warn_redundant_casts = True
# Check unused ignores
warn_unused_ignores = True
# Warn about unused configs
warn_unreachable = True
# Show error codes
show_error_codes = True
# Show column numbers
show_column_numbers = True
# Pretty output
pretty = True
# Color output
color_output = True
# Incremental mode (faster for large codebases)
incremental = True
# Cache directory
cache_dir = .mypy_cache
# Ignore missing imports for third-party libraries without stubs
ignore_missing_imports = True
# Exclude patterns (if needed)
exclude = (?x)(^build/.*|^dist/.*|^\.mypy_cache/.*|^__pycache__/.*|^adscan_pypi_wrapper/.*|^tests/.*)
# Per-module options
[mypy-netifaces]
ignore_missing_imports = True
[mypy-psutil]
ignore_missing_imports = True
[mypy-questionary]
ignore_missing_imports = True
[mypy-requests]
ignore_missing_imports = True
[mypy-neo4j]
ignore_missing_imports = True
[mypy-prompt_toolkit.*]
ignore_missing_imports = True
[mypy-rich.*]
ignore_missing_imports = True
[mypy-dotenv]
ignore_missing_imports = True
[mypy-packaging]
ignore_missing_imports = True
[mypy-adscan_internal.report_generator]
ignore_missing_imports = True
# Internal modules
[mypy-adscan_internal.*]
check_untyped_defs = True
disallow_untyped_calls = False
disallow_untyped_defs = False
# Main module - can be stricter
[mypy-adscan]
check_untyped_defs = True
disallow_untyped_calls = False
disallow_untyped_defs = False