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 2f3fa1f commit fe5774c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,3 @@ check_untyped_defs=True

# No incremental mode
cache_dir=/dev/null

[mypy-aiohttp.*]
follow_imports=skip
[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 fe5774c

Please sign in to comment.