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

Fix incorrect pyproject.toml parsing of boolean values #133

Merged
merged 2 commits into from Dec 16, 2022

Conversation

weibullguy
Copy link
Member

Boolean options were always set as True when read from pyproject.toml. This was the result of reading a string, which always returns a True when converted to boolean. Defaults are now set using a "==". Added tests to explicitly test configuration options read from pyproject.toml.

Closes #119

@weibullguy weibullguy added P: bug PEP 257 violation or existing functionality that doesn't work as documented V: patch Bumps the patch version C: style Relates to docstring format style (e.g., Google, NumPy, Sphinx) labels Dec 16, 2022
@weibullguy weibullguy merged commit c7ee0f3 into master Dec 16, 2022
@weibullguy weibullguy deleted the fix/issue-119 branch December 16, 2022 13:56
@weibullguy weibullguy added the S: merged Closed with work merged to repository label Dec 16, 2022
@weibullguy weibullguy removed the V: patch Bumps the patch version label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: style Relates to docstring format style (e.g., Google, NumPy, Sphinx) P: bug PEP 257 violation or existing functionality that doesn't work as documented S: merged Closed with work merged to repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect pyproject.toml parsing of boolean values (e.g., for --pre-summary-space)
1 participant