]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Remove some unneeded exceptions from mypy.ini (#2557)
authorNipunn Koorapati <nipunn1313@gmail.com>
Fri, 22 Oct 2021 03:59:48 +0000 (20:59 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Oct 2021 03:59:48 +0000 (20:59 -0700)
mypy.ini
src/black/__init__.py

index dabef4583419ae34166d28f8ffd94382d19b1bbd..6e8b7906e1d2b799a4a0def63a9c38a78d963ecb 100644 (file)
--- a/mypy.ini
+++ b/mypy.ini
@@ -32,14 +32,6 @@ check_untyped_defs=True
 # No incremental mode
 cache_dir=/dev/null
 
 # 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_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
index f01e449ea05b9d08afa5180bfa3b2b1daae6701a..5c6cb672aa2ca3a745b403bccaae50f051c7ad53 100644 (file)
@@ -1287,7 +1287,7 @@ def patch_click() -> None:
     """
     try:
         from click import core
     """
     try:
         from click import core
-        from click import _unicodefun  # type: ignore
+        from click import _unicodefun
     except ModuleNotFoundError:
         return
 
     except ModuleNotFoundError:
         return