click
click copied to clipboard
Show empty default
Use None instead of "" to indicate that default_string is unset to allow for empty string defaults.
https://github.com/pallets/click/issues/2500
- fixes #2500
New behavior:

Checklist:
- [x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
- [x] Add or update relevant docs, in the docs folder and in code.
- [x] Add an entry in
CHANGES.rstsummarizing the change and linking to the issue. - [x] Add
.. versionchanged::entries in any relevant code docs. - [x] Run
pre-commithooks and fix any issues. - [x] Run
pytestandtox, no tests failed.