summaryrefslogtreecommitdiff
path: root/tests/test_options.py
Commit message (Expand)AuthorAgeFilesLines
* treat empty auto_envvar as NoneDavid Lord2022-03-281-3/+4
* enforce required flagDanny Sepler2022-02-201-0/+9
* Option.show_default now overrides Context.show_defaultGianluca Gippetto2022-02-201-1/+22
* Merge branch '8.0.x'David Lord2022-01-131-0/+13
|\
| * Allow a callable default to have its own string representationKrzysztof Kotlenga2021-12-281-0/+13
* | Merge branch '8.0.x'David Lord2021-10-081-3/+49
|\ \ | |/
| * option with multiple and flag_value replaces internal placeholderIvan Kapelyukhin2021-10-081-0/+23
| * getting default value doesn't perform type castDavid Lord2021-10-081-2/+17
| * count help doesn't show default range typeDavid Lord2021-10-071-2/+10
* | show_default doesn't show False default for single boolean flagcAtaman2021-08-051-5/+26
|/
* don't show empty multiple=True defaultPatryk Bęza2021-07-041-0/+10
* Fix is_bool_flag being set to True even if is_flag is FalseGianluca Gippetto2021-07-031-0/+20
* show help text with invalid defaultDavid Lord2021-05-191-1/+1
* detect type from flag_valueDavid Lord2021-05-181-0/+7
* refactor type_cast_valueDavid Lord2021-04-151-12/+33
* mark more messages for translationDavid Lord2021-04-031-2/+2
* Better error message for bad parameter default (#1805)Saif Kazi2021-03-051-0/+14
* option callback is invoked when validating prompt valueSaif8073802021-02-241-1/+17
* test for empty default with show_default=TrueBenjamin Akhras2021-02-151-0/+8
* show_default string is shown if default is NoneBenjamin Akhras2021-02-151-0/+8
* apply updated pre-commit hooksDavid Lord2021-02-081-2/+2
* add ability to provide non-flag option without valueAmy2020-10-121-0/+31
* show_default uses default_mapJoachim Jablon2020-10-111-0/+12
* correct interaction of default=tuple with multiple=TrueDavid Lord2020-10-101-14/+30
* boolean type strips space before convertingAndreas Maier2020-10-101-0/+11
* use difflib to suggest possible long option namesNarendra N2020-08-141-0/+16
* suggest renaming option from 'name' to '--name'jtrakk2020-08-121-5/+6
* refactor int, float, and range types with common basesDavid Lord2020-08-121-12/+15
* show boolean flag name for defaultovezovs2020-08-071-0/+29
* flag option with duplicate names raises ValueErrorMwiza Simbeye2020-06-241-0/+5
* show IntRange min and max in --help outputCathal2020-06-241-0/+10
* f-strings everywhereDavid Lord2020-04-201-6/+7
* apply pyupgrade --py36-plusDavid Lord2020-04-201-6/+5
* remove py2 parts of _compat moduleDavid Lord2020-04-201-4/+3
* manual cleanupDavid Lord2020-03-081-12/+9
* apply pyupgradeDavid Lord2020-03-081-2/+2
* apply flake8David Lord2020-03-061-13/+3
* apply blackDavid Lord2020-03-061-199/+213
* apply reorder-python-importsDavid Lord2020-03-061-2/+3
* fix newline wrapping in option helpDavid Lord2020-02-231-14/+22
* prevent automatic environment variables from containing dashesGregory Pakosz2020-02-221-0/+16
* Fix for string cast of MissingParameterJames Daley2020-02-161-0/+9
* Make option format replace newlines with spaces.Jay Crotts2020-02-161-3/+1
* allow bool type with bool flagsKP2020-02-161-0/+10
* ignore set empty environment variableJimmy Zeng2020-02-161-0/+11
* Always return originally passed choice for Choice()Kyle Altendorf2019-09-261-0/+15
* Ensure auto_envvar_prefix is always uppercasedStephen Rosen2018-09-121-0/+13
* Wrap click.Choice's missing messageDaw-Ran Liou2018-05-151-2/+5
* Merge pull request #887 from sirosen/feature/case-insensitive-choiceZachery Bir2018-05-151-0/+31
|\
| * Add `case_sensitive=False` as an option to ChoiceStephen Rosen2018-05-151-0/+31