Skip to content

Commit

Permalink
Bumped version for the 1.2.0 release after merging in #45 (and also f…
Browse files Browse the repository at this point in the history
…ixed some code formatting)
  • Loading branch information
Carl Crowder committed Apr 20, 2023
1 parent de30db4 commit ee3f285
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "requirements-detector"
version = "1.1.0"
version = "1.2.0"
authors = ["Landscape.io <code@landscape.io>"]
classifiers = [
'Development Status :: 5 - Production/Stable',
Expand Down
3 changes: 1 addition & 2 deletions requirements_detector/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

from .exceptions import CouldNotParseRequirements, RequirementsNotFound
from .handle_setup import from_setup_py
from .requirement import DetectedRequirement
from .poetry_semver import parse_constraint

from .requirement import DetectedRequirement

__all__ = [
"find_requirements",
Expand Down
10 changes: 6 additions & 4 deletions tests/test_poetry_semver/test_main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import pytest

from requirements_detector.poetry_semver import Version
from requirements_detector.poetry_semver import VersionRange
from requirements_detector.poetry_semver import VersionUnion
from requirements_detector.poetry_semver import parse_constraint
from requirements_detector.poetry_semver import (
Version,
VersionRange,
VersionUnion,
parse_constraint,
)


@pytest.mark.parametrize(
Expand Down
4 changes: 1 addition & 3 deletions tests/test_poetry_semver/test_version.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import pytest

from requirements_detector.poetry_semver import EmptyConstraint
from requirements_detector.poetry_semver import Version
from requirements_detector.poetry_semver import VersionRange
from requirements_detector.poetry_semver import EmptyConstraint, Version, VersionRange
from requirements_detector.poetry_semver.exceptions import ParseVersionError


Expand Down
4 changes: 1 addition & 3 deletions tests/test_poetry_semver/test_version_range.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import pytest

from requirements_detector.poetry_semver import EmptyConstraint
from requirements_detector.poetry_semver import Version
from requirements_detector.poetry_semver import VersionRange
from requirements_detector.poetry_semver import EmptyConstraint, Version, VersionRange


@pytest.fixture()
Expand Down

0 comments on commit ee3f285

Please sign in to comment.