summaryrefslogtreecommitdiff
path: root/git/exc.py
diff options
context:
space:
mode:
authorTrym Bremnes <trym.bremnes@gmail.com>2021-09-30 08:54:43 +0200
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-10-01 22:27:00 +0800
commit53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5 (patch)
treecab98dddccf406fde8ba89727e4f847f675fc18c /git/exc.py
parent5e73cabd041f45337b270d5e78674d88448929e6 (diff)
downloadgitpython-53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5.tar.gz
Replace wildcard imports with concrete imports
All `from <module> import *` has now been replaced by `from <module> import X, Y, ...`. Contributes to #1349
Diffstat (limited to 'git/exc.py')
-rw-r--r--git/exc.py3
1 files changed, 1 insertions, 2 deletions
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 ----------------------------------------------------