Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
Signed-off-by: Waket Zheng <[email protected]>
  • Loading branch information
waketzheng committed Sep 11, 2023
1 parent 574d5a6 commit 6199b5e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 32 deletions.
48 changes: 24 additions & 24 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
@@ -1,6 +1,6 @@
[tool.poetry]
name = "poetry-plugin-pypi-mirror"
version = "0.3.3"
version = "0.3.2"
description = "Poetry plugin that adds support for pypi.org mirrors and pull-through caches"
authors = ["Jacob Henner <[email protected]>"]
license = "BSD-3-Clause"
Expand All @@ -10,7 +10,7 @@ homepage = "https://github.com/arcesium/poetry-plugin-pypi-mirror"
repository = "https://github.com/arcesium/poetry-plugin-pypi-mirror"

[tool.poetry.dependencies]
python = "^3.8.1" # flake8 requires python>=3.8.1
python = "^3.8.1"
poetry = ">= 1.3, < 1.7"

[tool.poetry.plugins."poetry.plugin"]
Expand Down
7 changes: 1 addition & 6 deletions src/poetry_plugin_pypi_mirror/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@

from cleo.io.io import IO
from poetry.config.config import Config
from poetry.core.constraints.version import Version
from poetry.core.packages.package import Package

try:
from poetry.core.constraints.version import Version
except ImportError:
from poetry.core.semver.version import Version # Compare with poetry<1.6

from poetry.plugins.plugin import Plugin
from poetry.poetry import Poetry
from poetry.repositories.legacy_repository import LegacyRepository
Expand Down

0 comments on commit 6199b5e

Please sign in to comment.