initial commit
This commit is contained in:
commit
041e76123b
1 changed files with 42 additions and 0 deletions
42
.pre-commit-config.yaml
Normal file
42
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: "v4.4.0"
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
- id: check-json
|
||||
- id: pretty-format-json
|
||||
args: ['--autofix', '--no-sort-keys']
|
||||
# - repo: https://github.com/pre-commit/mirrors-prettier
|
||||
# rev: "" # Use the sha or tag you want to point at
|
||||
# hooks:
|
||||
# - id: prettier
|
||||
- repo: https://github.com/ambv/black
|
||||
rev: "23.1.0"
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/lovesegfault/beautysh
|
||||
rev: "v6.2.1"
|
||||
hooks:
|
||||
- id: beautysh
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: "v1.29.0"
|
||||
hooks:
|
||||
- id: yamllint
|
||||
|
||||
# - repo: local
|
||||
# hooks:
|
||||
# - id: isort
|
||||
# name: Isort
|
||||
# entry: isort --check --diff .
|
||||
# language: system
|
||||
# pass_filenames: false
|
||||
# # - id: mypy
|
||||
# # name: Mypy
|
||||
# # entry: mypy .
|
||||
# # language: system
|
||||
# # pass_filenames: false
|
||||
# - id: black
|
||||
# name: Black
|
||||
# entry: black --check .
|
||||
# language: system
|
||||
# pass_filenames: false
|
Loading…
Add table
Add a link
Reference in a new issue