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
Provenance
- Commit
63c03ab- Tree
516cb4f- Author
unknown <edward.g2013@gmail.com>- Committer
unknown <edward.g2013@gmail.com>- Parent
30e907c
3 files changed+41 added−13 removed
modified:docs/arguments.rst-2 removed
66 unmodified lines67 .. admonition:: Note on Required Arguments68 69 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.70 71-72-71 Argument Escape Sequences72 ---------------------------73 74 If 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 linesmodified:.pre-commit-config.yaml+3 added-3 removed
123456678910111213141516161718192020212223247 unmodified linesci: autoupdate_branch: "8.1.x" autoupdate_schedule: monthlyrepos: - repo: https://github.com/asottile/pyupgrade rev: v3.7.0 rev: v3.10.1 hooks: - id: pyupgrade args: ["--py37-plus"] - repo: https://github.com/asottile/reorder-python-imports rev: v3.10.0 hooks: - id: reorder-python-imports args: ["--application-directories", "src"] - repo: https://github.com/psf/black rev: 23.3.0 rev: 23.7.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 rev: 6.0.0 rev: 6.1.0 hooks: - id: flake8 additional_dependencies: - flake8-bugbear7 unmodified linesmodified:CHANGES.rst+38 added-8 removed
1 .. currentmodule:: click2 3-Version 8.2.03+Version 8.1.64 -------------5 6-Unreleased6+Released 2023-07-187 8-- 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`9 10 11+Version 8.1.512+-------------13+14+Released 2023-07-1315+16+- Fix an issue with type hints for ``@click.command()``, ``@click.option()``, and17+ other decorators. Introduce typing tests. :issue:`2558`18+19+20 Version 8.1.421 -------------22 16-Unreleased23+Released 2023-07-0624 25 - 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`53 54 55 Version 8.1.356 -------------1040 unmodified lines