Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to skip normalising requirement versions #150

Merged
merged 7 commits into from
Nov 1, 2023

Conversation

adamtheturtle
Copy link
Contributor

@adamtheturtle adamtheturtle commented Nov 1, 2023

Using this option adds compatibility with Dependabot. Without this: Dependabot will bump a package to 1.3.0 and then pyproject-fmt will fail in CI because of the difference between the new and expected package version.

Fixes #141 .

Using this option adds compatibility with Dependabot.
Without this: Dependabot will bump a package to 1.3.0 and then pyproject-fmt
will fail in CI because of the difference between the new and expected package version.
src/pyproject_fmt/cli.py Outdated Show resolved Hide resolved
src/pyproject_fmt/formatter/pep508.py Outdated Show resolved Hide resolved
tests/formatter/test_project.py Outdated Show resolved Hide resolved
tests/formatter/test_project.py Outdated Show resolved Hide resolved
tests/test_main.py Outdated Show resolved Hide resolved
Copy link
Member

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaborbernat gaborbernat merged commit 335e657 into tox-dev:main Nov 1, 2023
10 checks passed
@adamtheturtle adamtheturtle deleted the normalize-pep508-option branch November 1, 2023 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: (option to) keep .0 at the end of dependency versions
2 participants