Skip to content

Commit

Permalink
Clean up mention of manual hook stage
Browse files Browse the repository at this point in the history
This is no longer used. No pre-commit hook specifies it anymore in
`stages`, since 517f83a (gitpython-developers#1865). See b059cd5 (gitpython-developers#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.
  • Loading branch information
EliahKagan committed Mar 13, 2024
1 parent e880c33 commit f788418
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ jobs:
python-version: "3.x"

- uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files --hook-stage manual
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f788418

Please sign in to comment.