Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | param=None is the same as not passing the param | Gianluca Gippetto | 2022-02-20 | 2 | -6/+7 |
| | |||||
* | Option.show_default now overrides Context.show_default | Gianluca Gippetto | 2022-02-20 | 1 | -15/+32 |
| | | | | Previously, it was the opposite. | ||||
* | keep !r format for now | David Lord | 2022-02-20 | 1 | -3/+3 |
| | |||||
* | add an ability to check that a Path has an executable bit set | Nicky Sielicki | 2022-02-19 | 1 | -8/+25 |
| | |||||
* | command and group decorator parentheses are optional | Angus L'Herrou | 2022-02-19 | 2 | -5/+85 |
| | |||||
* | remove utf-8 detection | David Lord | 2022-02-18 | 2 | -105/+0 |
| | |||||
* | Merge branch '8.0.x' | David Lord | 2022-02-18 | 1 | -1/+1 |
|\ | |||||
| * | release version 8.0.4 | David Lord | 2022-02-18 | 1 | -1/+1 |
| | | |||||
| * | Fix type for `file` argument | Yourun-Proger | 2022-02-18 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2022-02-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix typing in click.secho function | Jonxslays | 2022-01-16 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2022-01-13 | 3 | -4/+5 |
|\ \ | |/ | |||||
| * | Update shell completion to use COMPREPLY instead of COMREPLY for Bash | Ashwin Madavan | 2021-12-28 | 1 | -2/+2 |
| | | |||||
| * | Allow a callable default to have its own string representation | Krzysztof Kotlenga | 2021-12-28 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | As it was before 78a62b37c956e71b32689a0d5c75a684aa9ab56d. A callable can also be an object with __call__ and __str__ defined, in which case it makes sense to use it. Don't try too hard to show something else instead, because the developer most likely knows what he (or she) is doing. https://github.com/pallets/click/issues/2099 | ||||
| * | Fix TypeVar for decorators that handle Commands | David Euresti | 2021-12-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old type var would throw away the types of Callables. ``` import click @click.option("--name", prompt="Your name", help="The person to greet.") def hello(name: str) -> None: ... reveal_type(hello) # note: Revealed type is 'def (*Any, **Any) -> Any' ``` With this small adjustment mypy now knows that it's a `'def (name: builtins.str)'` | ||||
* | | Merge remote-tracking branch 'origin/8.0.x' | David Lord | 2021-12-26 | 3 | -3/+3 |
|\ \ | |/ | |||||
| * | Fix typo in docs | Jad El Kik | 2021-12-26 | 1 | -1/+1 |
| | | | | | | Follow up to #2107 | ||||
| * | fix typos | 180909 | 2021-12-26 | 2 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'origin/8.0.x' | David Lord | 2021-12-26 | 3 | -13/+10 |
|\ \ | |/ | |||||
| * | remove duplicate typing imports | Angus L'Herrou | 2021-12-26 | 3 | -13/+10 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-12-26 | 5 | -9/+5 |
|\ \ | |/ | |||||
| * | fix new mypy findingsupdate-requirements | David Lord | 2021-12-26 | 3 | -7/+5 |
| | | |||||
| * | update requirements | David Lord | 2021-12-26 | 2 | -2/+0 |
| | | |||||
* | | remove deprecated get_os_args | David Lord | 2021-11-10 | 2 | -20/+0 |
| | | |||||
* | | remove deprecated get_terminal_size | David Lord | 2021-11-10 | 2 | -21/+0 |
| | | |||||
* | | remove deprecated Command autocompletion parameter | David Lord | 2021-11-10 | 1 | -35/+0 |
| | | |||||
* | | remove deprecated Group.resultcallback | David Lord | 2021-11-10 | 1 | -11/+0 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-25 | 3 | -38/+44 |
|\ \ | |/ | |||||
| * | update docs for open_file and types.Path | David Lord | 2021-10-25 | 2 | -35/+41 |
| | | |||||
| * | open_file hanldes pathlib.Path("-") | David Lord | 2021-10-25 | 1 | -3/+3 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-10 | 3 | -17/+12 |
|\ \ | |/ | |||||
| * | release version 8.0.3 | David Lord | 2021-10-10 | 1 | -1/+1 |
| | | |||||
| * | invoke type casts default values | David Lord | 2021-10-10 | 1 | -1/+3 |
| | | |||||
| * | click.confirm preserves prompt when readline is imported | Alex Ball | 2021-10-10 | 1 | -2/+4 |
| | | | | | | | | same fix as for click.prompt in 8.0.0 | ||||
| * | use pathlib to resolve symlinks | David Lord | 2021-10-10 | 1 | -14/+5 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-08 | 1 | -15/+19 |
|\ \ | |/ | |||||
| * | release version 8.0.2 | David Lord | 2021-10-08 | 1 | -1/+1 |
| | | |||||
| * | option with multiple and flag_value replaces internal placeholder | Ivan Kapelyukhin | 2021-10-08 | 1 | -0/+8 |
| | | | | | | | | Co-authored-by: David Lord <davidism@gmail.com> | ||||
| * | getting default value doesn't perform type cast | David Lord | 2021-10-08 | 1 | -14/+6 |
| | | |||||
| * | count help doesn't show default range type | David Lord | 2021-10-07 | 1 | -1/+5 |
| | | |||||
* | | Merge branch '8.0.x' | David Lord | 2021-10-05 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Fix copy-paste errors in `click.style()` | Jasper Spaans | 2021-09-26 | 1 | -2/+2 |
| | | | | | | | | | | It looks like the code related to `underline` was copy-pasted, and not all the escape codes got put in correctly. | ||||
| * | Merge pull request #2064 from Yourun-proger/fix | David Lord | 2021-09-26 | 1 | -1/+1 |
| |\ | | | | | | | Fix type annotation for `type` arg | ||||
| | * | Fix type annotation for `type` arg | Yourun-Proger | 2021-09-26 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch '8.0.x' | David Lord | 2021-09-26 | 6 | -10/+10 |
|\ \ \ | |/ / | |||||
| * | | use exception chaining | David Lord | 2021-09-26 | 6 | -10/+10 |
| |/ | | | | | | | fixes flake8-bugbear B904 | ||||
* | | Merge remote-tracking branch 'origin/8.0.x' | David Lord | 2021-08-14 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Always close file descriptor to tempfilepager. | Jay Crotts | 2021-08-14 | 1 | -2/+1 |
| | | |||||
| * | Add check for WIN in _tempfilepager finally block to prevent file in use ↵ | Jay Crotts | 2021-08-14 | 1 | -1/+3 |
| | | | | | | | | error on windows | ||||
* | | Merge remote-tracking branch 'origin/8.0.x' | David Lord | 2021-08-14 | 1 | -5/+5 |
|\ \ | |/ |