Skip to content

Commit

Permalink
Remove some unneeded exceptions from mypy.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunn1313 committed Oct 22, 2021
1 parent da8a5bb commit 8131599
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ check_untyped_defs=True
# No incremental mode
cache_dir=/dev/null

[mypy-aiohttp.*]
follow_imports=skip

[mypy-black_primer.*]
# Until we're not supporting 3.6 primer needs this
disallow_any_generics=False

[mypy-black]
# The following is because of `patch_click()`. Remove when
# we drop Python 3.6 support.
warn_unused_ignores=False
2 changes: 1 addition & 1 deletion src/black/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ def patch_click() -> None:
"""
try:
from click import core
from click import _unicodefun # type: ignore
from click import _unicodefun
except ModuleNotFoundError:
return

Expand Down

0 comments on commit 8131599

Please sign in to comment.