Skip to content

Commit

Permalink
Remove now-unused import in top-level __init__.py
Browse files Browse the repository at this point in the history
The inspect module was only used to dynamically generate __all__,
which is statically written since c862845. Although it includes
everything it originally had for compatibility (8edc53b), this did
not include modules, since the comprehension used to generate it
omitted those (which is what it needed the inspect module for).
So it was not, and is not, listed in __all__, and can be removed.
  • Loading branch information
EliahKagan committed Oct 20, 2023
1 parent 44102f3 commit 8197e90
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion git/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# flake8: noqa
# @PydevCodeAnalysisIgnore
from git.exc import * # @NoMove @IgnorePep8
import inspect
import os
import sys
import os.path as osp
Expand Down

0 comments on commit 8197e90

Please sign in to comment.