mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
fix(hooks): replace invalid 'stages' values with valid schema-compliant ones
Replaced 'pre-commit' and 'pre-push' stage values with valid 'commit' and 'push' as per pre-commit's schema specification. his resolves validation errors and ensures compatibility with recent versions.
This commit is contained in:
parent
ec458dc1db
commit
60e0fb6b83
1 changed files with 6 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
|||
description: prevents giant files from being committed.
|
||||
entry: check-added-large-files
|
||||
language: python
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
stages: [commit, push, manual]
|
||||
minimum_pre_commit_version: 3.2.0
|
||||
- id: check-ast
|
||||
name: check python ast
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
entry: check-executables-have-shebangs
|
||||
language: python
|
||||
types: [text, executable]
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
stages: [commit, push, manual]
|
||||
minimum_pre_commit_version: 3.2.0
|
||||
- id: check-illegal-windows-names
|
||||
name: check illegal windows names
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
entry: check-shebang-scripts-are-executable
|
||||
language: python
|
||||
types: [text]
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
stages: [commit, push, manual]
|
||||
minimum_pre_commit_version: 3.2.0
|
||||
- id: pretty-format-json
|
||||
name: pretty format json
|
||||
|
|
@ -115,7 +115,7 @@
|
|||
entry: destroyed-symlinks
|
||||
language: python
|
||||
types: [file]
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
stages: [commit, push, manual]
|
||||
- id: detect-aws-credentials
|
||||
name: detect aws credentials
|
||||
description: detects *your* aws credentials from the aws cli credentials file.
|
||||
|
|
@ -140,7 +140,7 @@
|
|||
entry: end-of-file-fixer
|
||||
language: python
|
||||
types: [text]
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
stages: [commit, push, manual]
|
||||
minimum_pre_commit_version: 3.2.0
|
||||
- id: file-contents-sorter
|
||||
name: file contents sorter
|
||||
|
|
@ -208,5 +208,5 @@
|
|||
entry: trailing-whitespace-fixer
|
||||
language: python
|
||||
types: [text]
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
stages: [commit, push, manual]
|
||||
minimum_pre_commit_version: 3.2.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue