Skip to content

Commit

Permalink
Add: Export all relevant git classes from pontos.git
Browse files Browse the repository at this point in the history
All git related classes should be imported from `pontos.git`. Other
classes, modules, functions, variables, ... not imported into
`pontos.git` are considered private.
  • Loading branch information
bjoernricks committed Jan 18, 2024
1 parent 6aefbab commit 42ff071
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions pontos/git/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,23 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#

from .git import ConfigScope, Git, GitError, MergeStrategy, TagSort
from .git import (
DEFAULT_TAG_SORT_SUFFIX,
ConfigScope,
Git,
GitError,
MergeStrategy,
TagSort,
)
from .status import Status, StatusEntry

__all__ = (
"MergeStrategy",
"DEFAULT_TAG_SORT_SUFFIX",
"ConfigScope",
"TagSort",
"GitError",
"Git",
"GitError",
"MergeStrategy",
"Status",
"StatusEntry",
"TagSort",
)

0 comments on commit 42ff071

Please sign in to comment.