Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix overseen CLI default #262

Merged
merged 2 commits into from
Dec 5, 2021
Merged

Conversation

kasium
Copy link
Contributor

@kasium kasium commented Dec 5, 2021

As TOML config file support was added, all default values of the CLI must be None and be moved to a default dict.
This was forgotten for fail-under.

As TOML config file support was added, all default values of the CLI must be None and be moved to a default dict.
This was forgotten for fail-under.
@kasium
Copy link
Contributor Author

kasium commented Dec 5, 2021

@Bachmann1234 sorry, I forgot this case here. Should be the only one.
I guess, it makes sense to add some more tests in the future.

This bug will btw also lead to a fail-under of 0 even if set otherwise in the config file.

@Bachmann1234
Copy link
Owner

Thanks for the fix! I'll merge now and release tonight

@Bachmann1234 Bachmann1234 merged commit 412c87b into Bachmann1234:main Dec 5, 2021
@Bachmann1234
Copy link
Owner

@kasium thanks again. Released https://pypi.org/project/diff-cover/6.4.4/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants