Skip to content
Myr

Revert random file changes made by git.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by unknown · committed by unknown · parent 30e907c · Browse files · 3 files+41 added−13 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+41 added−13 removed

  • other:+41 added−13 removed

3 files+41 added−13 removed

modified:docs/arguments.rst-2 removed
66 unmodified lines
67.. admonition:: Note on Required Arguments6869 It is not recommended, but you may make at least one argument required by setting ``required=True``. It is not recommended since we think command line tools should gracefully degrade into becoming noops. We think this because command line tools are often invoked with wildcard inputs and they should not error out if the wildcard is empty.70717271Argument Escape Sequences72---------------------------7374If you want to process arguments that look like options, like a file named ``-foo.txt``, you must pass the ``--`` separator first. After you pass the ``--``, you may only pass arguments. This is a common feature for POSIX command line tools.
58 unmodified lines
modified:.pre-commit-config.yaml+3 added-3 removed
modified:CHANGES.rst+38 added-8 removed
1.. currentmodule:: click23Version 8.2.03Version 8.1.64-------------56Unreleased6Released 2023-07-1878- Use modern packaging metadata with ``pyproject.toml`` instead of ``setup.cfg``.9 :pr:`326`10- Use ``flit_core`` instead of ``setuptools`` as build backend.8- Fix an issue with type hints for ``@click.group()``. :issue:`2558`91011Version 8.1.512-------------1314Released 2023-07-131516- Fix an issue with type hints for ``@click.command()``, ``@click.option()``, and17 other decorators. Introduce typing tests. :issue:`2558`181920Version 8.1.421-------------2216Unreleased23Released 2023-07-062425- Replace all ``typing.Dict`` occurrences to ``typing.MutableMapping`` for19 parameter hints. :issue:`2255`26 parameter hints. :issue:`2255`27- Improve type hinting for decorators and give all generic types parameters.28 :issue:`2398`22- Fix return value and type signature of `shell_completion.add_completion_class` function. :pr:`2421`29- Fix return value and type signature of `shell_completion.add_completion_class`30 function. :pr:`2421`31- Bash version detection doesn't fail on Windows. :issue:`2461`32- Completion works if there is a dot (``.``) in the program name. :issue:`2166`33- Improve type annotations for pyright type checker. :issue:`2268`34- Improve responsiveness of ``click.clear()``. :issue:`2284`35- Improve command name detection when using Shiv or PEX. :issue:`2332`36- Avoid showing empty lines if command help text is empty. :issue:`2368`37- ZSH completion script works when loaded from ``fpath``. :issue:`2344`.38- ``EOFError`` and ``KeyboardInterrupt`` tracebacks are not suppressed when39 ``standalone_mode`` is disabled. :issue:`2380`40- ``@group.command`` does not fail if the group was created with a custom41 ``command_class``. :issue:`2416`42- ``multiple=True`` is allowed for flag options again and does not require43 setting ``default=()``. :issue:`2246, 2292, 2295`44- Make the decorators returned by ``@argument()`` and ``@option()`` reusable when the45 ``cls`` parameter is used. :issue:`2294`46- Don't fail when writing filenames to streams with strict errors. Replace invalid47 bytes with the replacement character (``�``). :issue:`2395`48- Remove unnecessary attempt to detect MSYS2 environment. :issue:`2355`49- Remove outdated and unnecessary detection of App Engine environment. :pr:`2554`50- ``echo()`` does not fail when no streams are attached, such as with ``pythonw`` on51 Windows. :issue:`2415`52- Argument with ``expose_value=False`` do not cause completion to fail. :issue:`2336`535455Version 8.1.356-------------
1040 unmodified lines