2021-12-10 11:48:00 +03:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-11-24 14:08:39 +05:30
|
|
|
rev: v4.4.0
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
2022-03-14 08:53:03 +03:00
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
2021-12-10 11:48:00 +03:00
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-12-08 18:43:57 +05:30
|
|
|
rev: v3.3.1
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py37-plus]
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2022-12-10 13:52:56 +05:30
|
|
|
rev: 22.12.0
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2022-12-22 19:18:40 +05:30
|
|
|
rev: 5.11.4
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2022-10-28 18:41:42 +05:30
|
|
|
rev: v3.0.0-alpha.4
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
2022-10-15 17:45:56 +05:30
|
|
|
rev: v2.2.2
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: codespell
|
2022-08-19 12:08:32 +05:30
|
|
|
args:
|
|
|
|
- -L
|
|
|
|
- "ro"
|
2021-12-10 11:48:00 +03:00
|
|
|
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: shfmt
|
|
|
|
name: shfmt
|
|
|
|
language: golang
|
2022-02-08 12:27:54 +03:00
|
|
|
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@latest]
|
2021-12-10 11:48:00 +03:00
|
|
|
entry: shfmt
|
|
|
|
args: [-w]
|
|
|
|
types: [shell]
|
|
|
|
|
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
2022-12-18 21:36:47 +05:30
|
|
|
rev: v0.9.0.2
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: shellcheck
|
|
|
|
args: [-x]
|