From 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5 Mon Sep 17 00:00:00 2001 From: Trym Bremnes Date: Thu, 30 Sep 2021 08:54:43 +0200 Subject: Replace wildcard imports with concrete imports All `from import *` has now been replaced by `from import X, Y, ...`. Contributes to #1349 --- git/exc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'git/exc.py') diff --git a/git/exc.py b/git/exc.py index e8ff784c..d29a25f6 100644 --- a/git/exc.py +++ b/git/exc.py @@ -5,8 +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 gitdb.exc import BadName, BadObject # NOQA @UnusedWildImport skipcq: PYL-W0401, PYL-W0614 from git.compat import safe_decode # typing ---------------------------------------------------- -- cgit v1.2.1