summaryrefslogtreecommitdiff
path: root/tests/test_arguments.py
Commit message (Expand)AuthorAgeFilesLines
* Update dependencies using pip-compile-multi (#2508)Sagi Buchbinder-Shadur2023-05-031-1/+5
* replace for loop with parametrizebdista2022-02-191-15/+15
* open_file hanldes pathlib.Path("-")David Lord2021-10-251-2/+2
* argument with nargs=-1 and envvar prefers command line valueMarc Schmitzer2021-05-181-0/+13
* refactor type_cast_valueDavid Lord2021-04-151-21/+13
* mark more messages for translationDavid Lord2021-04-031-2/+2
* option callback is invoked when validating prompt valueSaif8073802021-02-241-1/+1
* handle default=None for nargs and multipleDavid Lord2020-10-111-12/+15
* include parent args in subcommand help synopsisAmy2020-08-061-0/+41
* nargs=-1 works with envvarAmy Lei2020-08-051-17/+42
* f-strings everywhereDavid Lord2020-04-201-5/+7
* apply pyupgrade --py36-plusDavid Lord2020-04-201-5/+4
* remove py2 parts of _compat moduleDavid Lord2020-04-201-17/+6
* manual cleanupDavid Lord2020-03-081-38/+18
* apply flake8David Lord2020-03-061-6/+1
* apply blackDavid Lord2020-03-061-106/+115
* apply reorder-python-importsDavid Lord2020-03-061-2/+5
* Merge pull request #1468 from muggenhor/fix/utf-8-compatDavid Lord2020-03-061-1/+22
|\
| * test: verify that UTF-8 is used as a fallback for decoding argumentsGiel van Schijndel2020-03-021-1/+22
* | Fix for string cast of MissingParameterJames Daley2020-02-161-0/+9
|/
* Use pytest.raises instead of pytest.mark.xfailRobert Grant2018-05-151-5/+5
* Ensure the test fails without the fixRobert Grant2018-05-151-1/+1
* Only allow one param decl for ArgumentsRobert Grant2018-05-151-0/+9
* Add test from #612 for usage error Argument formatStephen Rosen2018-05-141-2/+2
* Fix UnboundLocalError in click.PathMarkus Unterwaditzer2016-04-041-0/+11
* Implemented defaults for args with nargs > 1.Armin Ronacher2015-11-241-0/+18
* Merge branch 'master' of github.com:mitsuhiko/clickArmin Ronacher2015-11-051-1/+1
|\
| * Fixed a broken test on 3.xArmin Ronacher2015-11-051-1/+1
* | Fixed broken tests and behavior on windows.Armin Ronacher2015-11-051-1/+2
|/
* Fixed tests for python 3Armin Ronacher2015-11-051-3/+4
* Always work on Unicode in Python 2.Armin Ronacher2015-11-051-3/+3
* Disallow nargs=-1 with a default set.Armin Ronacher2015-09-151-0/+12
* Fix bug with multiple args after star argChris Kamradt2015-07-141-0/+34
* Fixed up tests for Python 3Armin Ronacher2015-03-311-4/+4
* Added support for tuple types. This fixes #239Armin Ronacher2015-03-311-0/+21
* Error on nargs=-1 for options. This fixes #222Armin Ronacher2015-03-311-2/+2
* Fixed a bug in argument handlingArmin Ronacher2014-05-291-0/+11
* setting a default for arguments now implicitly makes it non requiredArmin Ronacher2014-05-281-0/+11
* Customize required in arguments for nargs of -1Armin Ronacher2014-05-281-1/+10
* Added a test for empty nargsArmin Ronacher2014-05-261-0/+11
* Merge branch '1.0-maintenance'Armin Ronacher2014-05-231-0/+12
|\
| * Fixed a bug that caused text files on 2.x to not accept bytestrings.Armin Ronacher2014-05-231-0/+12
* | Implemented atomic file opening support.Armin Ronacher2014-05-231-0/+20
* | Added test for "--"Armin Ronacher2014-05-231-0/+24
|/
* Also added support for nargs != for values from environment.Armin Ronacher2014-05-211-0/+21
* Fixed argument handling for "-" and added test. This fixes #77Armin Ronacher2014-05-121-0/+23
* Added support for nargs in other placesArmin Ronacher2014-05-051-0/+49