Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some unneeded exceptions from mypy.ini #2557

Merged
merged 1 commit into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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