diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 463c550..14a15af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: reformat-pyproject - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -70,7 +70,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/python-formate/pyupgrade - rev: bbe3007 + rev: v3.3.0 hooks: - id: pyupgrade args: @@ -78,13 +78,13 @@ repos: - --keep-runtime-typing - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.1 + rev: v1.5.6 hooks: - id: remove-crlf - id: forbid-crlf - repo: https://github.com/python-formate/snippet-fmt - rev: v0.1.5 + rev: v0.2.0 hooks: - id: snippet-fmt diff --git a/consolekit/options.py b/consolekit/options.py index 0ee42a8..7fe3a45 100644 --- a/consolekit/options.py +++ b/consolekit/options.py @@ -164,7 +164,6 @@ def version_callback(ctx: click.Context, param: click.Option, value: int): click.echo(f"consolekit version {__version__}") ctx.exit() - """ return click.option( @@ -354,7 +353,6 @@ class MultiValueOption(click.Option): @click_command() def main(select: Iterable[str]): select = list(select) - """ def __init__(