Public Access
generated from Philipp/template-git
Merge branch 'main' into add-mit-license
Philipp/Global-Workflows: Pre-commit Lint (Scoped) / pre-commit (pull_request) Successful in 34s
Philipp/Global-Workflows: Pre-commit Lint (Scoped) / pre-commit (pull_request) Successful in 34s
This commit is contained in:
commit
864b74c8c5
1 file changed
+35
@@ -0,0 +1,35 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v6.0.0
|
||||||
|
hooks:
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
exclude: (.txt$|README.md$)
|
||||||
|
- id: trailing-whitespace
|
||||||
|
exclude: (.txt$|README.md$)
|
||||||
|
- id: check-json
|
||||||
|
- id: check-yaml
|
||||||
|
- id: check-added-large-files
|
||||||
|
args: [--enforce-all]
|
||||||
|
- id: detect-private-key
|
||||||
|
- id: check-case-conflict
|
||||||
|
- id: check-symlinks
|
||||||
|
- id: pretty-format-json
|
||||||
|
args: [--autofix, --no-sort-keys, --no-ensure-ascii]
|
||||||
|
- id: check-merge-conflict
|
||||||
|
- id: no-commit-to-branch
|
||||||
|
args: [--branch, main]
|
||||||
|
|
||||||
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
||||||
|
rev: v2.16.0
|
||||||
|
hooks:
|
||||||
|
- id: pretty-format-yaml
|
||||||
|
args: [--autofix]
|
||||||
|
|
||||||
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
|
rev: 0.38.0
|
||||||
|
hooks:
|
||||||
|
- id: check-jsonschema
|
||||||
|
name: Check GitHub Action
|
||||||
|
files: ^action\.ya?ml$
|
||||||
|
types: [yaml]
|
||||||
|
args: [--builtin-schema, github-actions]
|
||||||
Reference in new issue
Block a user