2021-12-10 11:48:00 +03:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-10-10 04:02:09 +05:30
|
|
|
rev: v4.5.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
|
2023-10-10 04:02:09 +05:30
|
|
|
rev: v3.15.0
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py37-plus]
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2024-01-29 03:03:54 +05:30
|
|
|
rev: 24.1.1
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2023-12-16 09:20:34 +05:30
|
|
|
rev: 5.13.2
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2023-12-24 21:38:27 +05:30
|
|
|
rev: v4.0.0-alpha.8
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
2023-10-04 11:06:51 +05:30
|
|
|
rev: v2.2.6
|
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
|
2023-09-30 12:31:08 +05:30
|
|
|
rev: v0.9.0.6
|
2021-12-10 11:48:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: shellcheck
|
|
|
|
args: [-x]
|