-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
108 lines (81 loc) · 2.3 KB
/
mypy.ini
File metadata and controls
108 lines (81 loc) · 2.3 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
101
102
103
104
105
106
107
108
[mypy]
python_version = 3.9
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 = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_unreachable = True
strict_equality = True
show_error_codes = True
show_column_numbers = True
show_error_context = True
# Configure module search paths
mypy_path = flask_app
# Files to check
files = flask_app/
# Exclude patterns
exclude = flask_app/__pycache__/.*|flask_app/tests/__pycache__/.*|flask_app/cache/.*|.*\.pyc$
# Third-party library configurations
[mypy-flask.*]
ignore_missing_imports = True
[mypy-flask_cors.*]
ignore_missing_imports = True
[mypy-geopandas.*]
ignore_missing_imports = True
[mypy-mercantile.*]
ignore_missing_imports = True
[mypy-shapely.*]
ignore_missing_imports = True
[mypy-requests.*]
ignore_missing_imports = True
[mypy-dotenv.*]
ignore_missing_imports = True
[mypy-openpyxl.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-folium.*]
ignore_missing_imports = True
[mypy-osmnx.*]
ignore_missing_imports = True
[mypy-notebook.*]
ignore_missing_imports = True
[mypy-nbformat.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
# Building Data Utilities dependency (external package)
[mypy-building_data_utilities.*]
ignore_missing_imports = True
# More lenient settings for test files
[mypy-flask_app.tests.*]
ignore_errors = True
# Specific focus on new service modules with gradual strictness
[mypy-flask_app.services.logging_utils]
disallow_untyped_defs = True
disallow_incomplete_defs = True
[mypy-flask_app.services.data_transformation_service]
disallow_untyped_defs = True
disallow_incomplete_defs = True
[mypy-flask_app.services.common_service]
disallow_untyped_defs = True
disallow_incomplete_defs = True
[mypy-flask_app.services.geocoding_service]
disallow_untyped_defs = True
disallow_incomplete_defs = True
[mypy-flask_app.services.file_processing_service]
disallow_untyped_defs = True
disallow_incomplete_defs = True
[mypy-flask_app.services.footprint_service]
disallow_untyped_defs = True
disallow_incomplete_defs = True