File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -140,18 +140,18 @@ reportUnsupportedDunderAll = "error"
140
140
[tool .mypy ]
141
141
python_version = " 3.9" # Target oldest supported Python version
142
142
strict = true
143
- follow_untyped_imports = true # Don't infer symbols from untyped packages as Any
144
143
check_untyped_defs = true # Strict check on all defs
145
144
show_column_numbers = true
145
+ # Not all imports in these stubs are gonna be typed
146
+ # Don't infer symbols from untyped packages as Any
147
+ follow_untyped_imports = true
146
148
warn_unused_ignores = false # Change from pandas
147
149
# Partial stubs are acceptable
148
150
disallow_any_generics = false
149
151
disallow_incomplete_defs = false
150
152
disallow_untyped_defs = false
151
153
# Suppressing errors
152
154
disable_error_code = [
153
- # Not all imports in these stubs are gonna be typed
154
- " import-untyped" ,
155
155
# mypy's overload implementation differs from pyright
156
156
# `assert-type` issues is tests mostly comme from checking overloads
157
157
# Since this project is specific to Pylance, just ignore them
@@ -167,8 +167,6 @@ disable_error_code = [
167
167
# These modules are to be removed soon, not worth solving many issues
168
168
module = [" matplotlib.*" , " networkx.*" ]
169
169
disable_error_code = [
170
- " valid-type" ,
171
- " override" ,
172
170
" assignment" ,
173
171
" misc" ,
174
172
]
You can’t perform that action at this time.
0 commit comments