topenkoff / poetry-release

Poetry plugin for easy release management
MIT License
20 stars 1 forks source link

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

Open jflipts opened 1 year ago

jflipts commented 1 year ago

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.