|
|
@ -3,7 +3,7 @@
|
|
|
|
exclude: ^(api_protobuf/.*|docs/protobuf_docs\.md|dhaul_openapi/messages/.*)$
|
|
|
|
exclude: ^(api_protobuf/.*|docs/protobuf_docs\.md|dhaul_openapi/messages/.*)$
|
|
|
|
repos:
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v5.0.0
|
|
|
|
rev: v6.0.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: end-of-file-fixer
|
|
|
@ -16,20 +16,20 @@ repos:
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 24.10.0
|
|
|
|
rev: 25.1.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- id: black
|
|
|
|
args: [--config=pyproject.toml]
|
|
|
|
args: [--config=pyproject.toml]
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.13.2
|
|
|
|
rev: 6.0.1
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
rev: "v1.13.0"
|
|
|
|
rev: "v1.17.1"
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
- id: mypy
|
|
|
|
- repo: https://github.com/PyCQA/docformatter
|
|
|
|
- repo: https://github.com/PyCQA/docformatter
|
|
|
|
rev: eb1df347edd128b30cd3368dddc3aa65edcfac38
|
|
|
|
rev: v1.7.7
|
|
|
|
# TODO: Switch back to upstream docformatter
|
|
|
|
# TODO: Switch back to upstream docformatter
|
|
|
|
# after https://github.com/PyCQA/docformatter/issues/289 is fixed
|
|
|
|
# after https://github.com/PyCQA/docformatter/issues/289 is fixed
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
@ -42,7 +42,7 @@ repos:
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: autoflake
|
|
|
|
- id: autoflake
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: 7.1.1
|
|
|
|
rev: 7.3.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- id: flake8
|
|
|
|
entry: flake8
|
|
|
|
entry: flake8
|
|
|
@ -54,11 +54,11 @@ repos:
|
|
|
|
args: ["-t=3.9-", "--violations"]
|
|
|
|
args: ["-t=3.9-", "--violations"]
|
|
|
|
# (if your target is specified in a Vermin config, you may omit the 'args' entry entirely)
|
|
|
|
# (if your target is specified in a Vermin config, you may omit the 'args' entry entirely)
|
|
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
|
|
rev: v1.35.1
|
|
|
|
rev: v1.37.1
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
- id: yamllint
|
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
|
|
rev: v0.42.0
|
|
|
|
rev: v0.45.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: markdownlint-fix
|
|
|
|
- id: markdownlint-fix
|
|
|
|
- id: markdownlint
|
|
|
|
- id: markdownlint
|
|
|
|