2021-12-10 08:48:00 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-04-08 21:44:53 +00:00
|
|
|
rev: v4.6.0
|
2021-12-10 08:48:00 +00:00
|
|
|
hooks:
|
2022-03-14 05:53:03 +00:00
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
2021-12-10 08:48:00 +00:00
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2024-03-25 07:48:37 +00:00
|
|
|
rev: v3.15.2
|
2021-12-10 08:48:00 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py37-plus]
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2024-05-01 06:54:38 +00:00
|
|
|
rev: 24.4.2
|
2021-12-10 08:48:00 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2023-12-16 03:50:34 +00:00
|
|
|
rev: 5.13.2
|
2021-12-10 08:48:00 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2023-12-24 16:08:27 +00:00
|
|
|
rev: v4.0.0-alpha.8
|
2021-12-10 08:48:00 +00:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
2023-10-04 05:36:51 +00:00
|
|
|
rev: v2.2.6
|
2021-12-10 08:48:00 +00:00
|
|
|
hooks:
|
|
|
|
- id: codespell
|
2022-08-19 06:38:32 +00:00
|
|
|
args:
|
|
|
|
- -L
|
|
|
|
- "ro"
|
2021-12-10 08:48:00 +00:00
|
|
|
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: shfmt
|
|
|
|
name: shfmt
|
|
|
|
language: golang
|
2022-02-08 09:27:54 +00:00
|
|
|
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@latest]
|
2021-12-10 08:48:00 +00:00
|
|
|
entry: shfmt
|
|
|
|
args: [-w]
|
|
|
|
types: [shell]
|
|
|
|
|
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
2024-03-19 05:24:17 +00:00
|
|
|
rev: v0.10.0.1
|
2021-12-10 08:48:00 +00:00
|
|
|
hooks:
|
|
|
|
- id: shellcheck
|
|
|
|
args: [-x]
|