Skip to content

Commit

Permalink
Organize project modules
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrp committed Aug 18, 2024
1 parent 6393293 commit bf127a5
Show file tree
Hide file tree
Showing 21 changed files with 584 additions and 565 deletions.
18 changes: 9 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ python-dateutil = "^2.8.2"
[tool.poetry.group.dev.dependencies]
pylint = "^2.16.2"
pytest = "^8.3.2"
pytest-cov = "^4.0.0"
pytest-cov = "^5.0.0"
pytest-profiling = "^1.7.0"
pytest-pyspec = "^0.9.0"
pytest-pyspec = "^0.10.0"

[tool.pytest.ini_options]
addopts = "--pyspec"
Expand Down
2 changes: 1 addition & 1 deletion releasy/miner_base_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from __future__ import annotations
from typing import Any, Tuple
from releasy.miner_base import AbstractMiner
from releasy.release import Commit2ReleaseMapper, Release, ReleaseSet
from releasy.release_old import Commit2ReleaseMapper, Release, ReleaseSet
from releasy.project import Project
from releasy.repository import Commit

Expand Down
2 changes: 1 addition & 1 deletion releasy/miner_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""

from typing import Any, List, Tuple
from releasy.release import Commit2ReleaseMapper, Release
from releasy.release_old import Commit2ReleaseMapper, Release

from releasy.repository import Commit, CommitSet
from .miner_base import AbstractMiner
Expand Down
2 changes: 1 addition & 1 deletion releasy/miner_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re

from .project import Project
from .release import Release, ReleaseSet
from .release_old import Release, ReleaseSet
from .miner_base import AbstractMiner
from .repository import Repository

Expand Down
2 changes: 1 addition & 1 deletion releasy/miner_semantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from typing import Any, Tuple
from unicodedata import name
from .project import Project
from .release import Release
from .release_old import Release
from .semantic import MainRelease, Patch, SReleaseSet, SemanticRelease
from .miner_base import AbstractMiner

Expand Down
169 changes: 0 additions & 169 deletions releasy/model.py

This file was deleted.

2 changes: 1 addition & 1 deletion releasy/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if TYPE_CHECKING:
from .repository import Repository
from .semantic import SReleaseSet, MainRelease, Patch
from .release import ReleaseSet
from .release_old import ReleaseSet

class Project:
def __init__(self, name: str, repository: Repository) -> None:
Expand Down
Loading

0 comments on commit bf127a5

Please sign in to comment.