Skip to content

Commit 62ed538

Browse files
authored
Remove some unneeded exceptions from mypy.ini (#2557)
1 parent da8a5bb commit 62ed538

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

mypy.ini

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ check_untyped_defs=True
3232
# No incremental mode
3333
cache_dir=/dev/null
3434

35-
[mypy-aiohttp.*]
36-
follow_imports=skip
37-
3835
[mypy-black_primer.*]
3936
# Until we're not supporting 3.6 primer needs this
4037
disallow_any_generics=False
41-
42-
[mypy-black]
43-
# The following is because of `patch_click()`. Remove when
44-
# we drop Python 3.6 support.
45-
warn_unused_ignores=False

src/black/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ def patch_click() -> None:
12871287
"""
12881288
try:
12891289
from click import core
1290-
from click import _unicodefun # type: ignore
1290+
from click import _unicodefun
12911291
except ModuleNotFoundError:
12921292
return
12931293

0 commit comments

Comments
 (0)