From f78841870cea95926a95ccaae000bd51769ba412 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 13 Mar 2024 10:46:53 -0400 Subject: [PATCH] Clean up mention of manual hook stage This is no longer used. No pre-commit hook specifies it anymore in `stages`, since 517f83a (#1865). See b059cd5 (#1868) for context. In the lint.yml GitHub Actions workflow, this removes the extra_args key altogether, because all that would remain there is --all-files, which is already the default for that action, when the extra_args key is absent. --- .github/workflows/lint.yml | 2 -- tox.ini | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a32fb6c4e..a0e81a993 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,5 +14,3 @@ jobs: python-version: "3.x" - uses: pre-commit/action@v3.0.1 - with: - extra_args: --all-files --hook-stage manual diff --git a/tox.ini b/tox.ini index 6e02e5aee..31ac9382d 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ commands = pytest --color=yes {posargs} [testenv:lint] description = Lint via pre-commit base_python = py{39,310,311,312,38,37} -commands = pre-commit run --all-files --hook-stage manual +commands = pre-commit run --all-files [testenv:mypy] description = Typecheck with mypy