Skip to content

Commit

Permalink
fix: Avoid deprecated stage name "commit"
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Oct 23, 2024
1 parent 69284d2 commit 6c7fc90
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
name: black
entry: black
language: system
stages: [commit]
stages: [pre-commit]
types: [python]

- id: deadnix
Expand All @@ -17,7 +17,7 @@ repos:
args: [--edit, --fail]
files: \.nix$
language: system
stages: [commit]
stages: [pre-commit]

- id: gitlint
name: gitlint
Expand All @@ -30,15 +30,15 @@ repos:
name: isort
entry: isort
language: system
stages: [commit]
stages: [pre-commit]
types: [python]

- id: mypy
name: mypy
entry: mypy
args: [--no-incremental]
language: system
stages: [commit]
stages: [pre-commit]
types: [python]
require_serial: true

Expand All @@ -47,13 +47,13 @@ repos:
entry: nixfmt
files: \.nix$
language: system
stages: [commit]
stages: [pre-commit]

- id: pylint
name: pylint
entry: pylint
language: system
stages: [commit]
stages: [pre-commit]
types: [python]
require_serial: true

Expand All @@ -64,17 +64,17 @@ repos:
files: \.nix$
pass_filenames: false
language: system
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: a99a3fbe79a9d346cabd02a5e167ad0edafe616b # v2.3.0
hooks:
- id: prettier
stages: [commit]
stages: [pre-commit]
exclude_types: [python]

- repo: https://github.com/rhysd/actionlint
rev: ea8102762106cdca9c88829f1295b39a544706f3 # frozen: v1.6.26
hooks:
- id: actionlint
stages: [commit]
stages: [pre-commit]

0 comments on commit 6c7fc90

Please sign in to comment.