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

pyproject.toml settings that can be configured through cli flags are ignored #4

Open
jflipts opened this issue Jun 9, 2023 · 0 comments

Comments

@jflipts
Copy link

jflipts commented Jun 9, 2023

When you specify settings in pyproject.toml that can also be set through a cli flag, the pyproject.toml file setting is ignored. This is because the setting is always overriden with the (default) value from the cli even when not explicitly passed.

Given the following configuration:

[tool.poetry-release]  
disable-push = true

and then running poetry release, it still pushes to the remote.

@jflipts jflipts changed the title pyproject.toml settings ignored that are available as well as cli flag. pyproject.toml settings that can be configured through cli flags are ignored Jun 12, 2023
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

No branches or pull requests

1 participant