From 8470777b44bed4da87aad9474f88e7f0774252a6 Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Fri, 23 Apr 2021 12:24:07 +0200 Subject: improvement: teach mypy how to deal with wildcard-imported objects By telling it where it's imported from in one case and telling it to ignore it in another. --- git/exc.py | 1 + 1 file changed, 1 insertion(+) (limited to 'git/exc.py') diff --git a/git/exc.py b/git/exc.py index 358e7ae4..6e646921 100644 --- a/git/exc.py +++ b/git/exc.py @@ -5,6 +5,7 @@ # the BSD License: http://www.opensource.org/licenses/bsd-license.php """ Module containing all exceptions thrown throughout the git package, """ +from gitdb.exc import BadName # NOQA @UnusedWildImport skipcq: PYL-W0401, PYL-W0614 from gitdb.exc import * # NOQA @UnusedWildImport skipcq: PYL-W0401, PYL-W0614 from git.compat import safe_decode -- cgit v1.2.1