Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 01dcf75

Browse files
author
David Robertson
authored
Prune mypy ignore_missing_imports list (#12608)
1 parent 8d156ec commit 01dcf75

File tree

2 files changed

+3
-51
lines changed

2 files changed

+3
-51
lines changed

changelog.d/12608.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove redundant lines of config from `mypy.ini`.

mypy.ini

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -241,98 +241,49 @@ disallow_untyped_defs = True
241241
[mypy-authlib.*]
242242
ignore_missing_imports = True
243243

244-
[mypy-bcrypt]
245-
ignore_missing_imports = True
246-
247244
[mypy-canonicaljson]
248245
ignore_missing_imports = True
249246

250247
[mypy-constantly]
251248
ignore_missing_imports = True
252249

253-
[mypy-daemonize]
254-
ignore_missing_imports = True
255-
256-
[mypy-h11]
257-
ignore_missing_imports = True
258-
259-
[mypy-hiredis]
260-
ignore_missing_imports = True
261-
262-
[mypy-hyperlink]
263-
ignore_missing_imports = True
264-
265250
[mypy-ijson.*]
266251
ignore_missing_imports = True
267252

268-
[mypy-importlib_metadata.*]
269-
ignore_missing_imports = True
270-
271-
[mypy-jaeger_client.*]
272-
ignore_missing_imports = True
273-
274-
[mypy-josepy.*]
275-
ignore_missing_imports = True
276-
277-
[mypy-jwt.*]
278-
ignore_missing_imports = True
279-
280253
[mypy-lxml]
281254
ignore_missing_imports = True
282255

283256
[mypy-msgpack]
284257
ignore_missing_imports = True
285258

286-
[mypy-nacl.*]
287-
ignore_missing_imports = True
288-
259+
# Note: WIP stubs available at
260+
# https://github.com/microsoft/python-type-stubs/tree/64934207f523ad6b611e6cfe039d85d7175d7d0d/netaddr
289261
[mypy-netaddr]
290262
ignore_missing_imports = True
291263

292264
[mypy-parameterized.*]
293265
ignore_missing_imports = True
294266

295-
[mypy-phonenumbers.*]
296-
ignore_missing_imports = True
297-
298-
[mypy-prometheus_client.*]
299-
ignore_missing_imports = True
300-
301267
[mypy-pymacaroons.*]
302268
ignore_missing_imports = True
303269

304270
[mypy-pympler.*]
305271
ignore_missing_imports = True
306272

307-
[mypy-redbaron.*]
308-
ignore_missing_imports = True
309-
310273
[mypy-rust_python_jaeger_reporter.*]
311274
ignore_missing_imports = True
312275

313276
[mypy-saml2.*]
314277
ignore_missing_imports = True
315278

316-
[mypy-sentry_sdk]
317-
ignore_missing_imports = True
318-
319279
[mypy-service_identity.*]
320280
ignore_missing_imports = True
321281

322-
[mypy-signedjson.*]
323-
ignore_missing_imports = True
324-
325282
[mypy-srvlookup.*]
326283
ignore_missing_imports = True
327284

328285
[mypy-treq.*]
329286
ignore_missing_imports = True
330287

331-
[mypy-twisted.*]
332-
ignore_missing_imports = True
333-
334-
[mypy-zope]
335-
ignore_missing_imports = True
336-
337288
[mypy-incremental.*]
338289
ignore_missing_imports = True

0 commit comments

Comments
 (0)