Skip to content

Commit 259c658

Browse files
pre-commit-ci[bot]worksbyfriday
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1ccfd69 commit 259c658

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/tox/tox_env/python/pip/req

src/tox/tox_env/python/pip/req/file.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434

3535

3636
def _looks_like_version_specifier(req: str) -> bool:
37-
"""Check if a string contains PEP 440 version specifier operators, suggesting it's an invalid requirement rather
38-
than a local path (e.g. ``pre-commit ~= 4`` where ``~=`` triggers tilde expansion if treated as a path)."""
37+
"""Check if a string contains PEP 440 version specifier operators, suggesting it's an invalid requirement rather than a local path (e.g. ``pre-commit ~= 4`` where ``~=`` triggers tilde expansion if treated as a path)."""
3938
return bool(_VERSION_SPECIFIER.search(req))
4039

4140

0 commit comments

Comments
 (0)