Skip to content

Conversation

@cAtaman
Copy link
Contributor

@cAtaman cAtaman commented Jul 8, 2021

Hides the default value in help texts for single option boolean flags when the default is False

Checklist:

  • Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • Add or update relevant docs, in the docs folder and in code.
  • Add an entry in CHANGES.rst summarizing the change and linking to the issue.
  • Add .. versionchanged:: entries in any relevant code docs.
  • Run pre-commit hooks and fix any issues.
  • Run pytest and tox, no tests failed.

@davidism davidism added this to the 8.1.0 milestone Jul 14, 2021
@davidism davidism force-pushed the 1971-hide-defaults branch from be9f14b to 2cc7244 Compare August 5, 2021 13:35
@davidism davidism merged commit 5d759e0 into pallets:main Aug 5, 2021
@davidism davidism deleted the 1971-hide-defaults branch August 5, 2021 13:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider not showing the default value of boolean flags without a secondary option (False)

2 participants