diff options
author | Trym Bremnes <trym.bremnes@gmail.com> | 2021-09-30 08:54:43 +0200 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-10-01 22:27:00 +0800 |
commit | 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5 (patch) | |
tree | cab98dddccf406fde8ba89727e4f847f675fc18c /git/exc.py | |
parent | 5e73cabd041f45337b270d5e78674d88448929e6 (diff) | |
download | gitpython-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.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 ---------------------------------------------------- |