Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Jan 13, 2022
1 parent a6743d0 commit 3b7399a
Show file tree
Hide file tree
Showing 31 changed files with 732 additions and 779 deletions.
10 changes: 0 additions & 10 deletions .isort.cfg

This file was deleted.

14 changes: 4 additions & 10 deletions gitman/__init__.py
Expand Up @@ -2,14 +2,8 @@

from pkg_resources import get_distribution

from .commands import ( # pylint: disable=redefined-builtin
delete as uninstall,
display as list,
init,
install,
lock,
update,
)
from .commands import delete as uninstall # pylint: disable=redefined-builtin
from .commands import display as list
from .commands import init, install, lock, update


__version__ = get_distribution('gitman').version
__version__ = get_distribution("gitman").version
5 changes: 2 additions & 3 deletions gitman/__main__.py
Expand Up @@ -6,15 +6,14 @@

from gitman.cli import main


# Declare itself as package if needed for better debugging support
# pylint: disable=multiple-imports,wrong-import-position,redefined-builtin,used-before-assignment
if __name__ == '__main__' and __package__ is None: # pragma: no cover
if __name__ == "__main__" and __package__ is None: # pragma: no cover
parent_dir = os.path.abspath(os.path.dirname(__file__))
sys.path.append(os.path.dirname(parent_dir))
__package__ = os.path.basename(parent_dir)
importlib.import_module(__package__)


if __name__ == '__main__': # pragma: no cover
if __name__ == "__main__": # pragma: no cover
main()

0 comments on commit 3b7399a

Please sign in to comment.