|
@@ -3,7 +3,7 @@ exclude: ^(data/.*|.vscode/.*)$
|
|
|
repos:
|
|
repos:
|
|
|
- repo: https://github.com/commitizen-tools/commitizen
|
|
- repo: https://github.com/commitizen-tools/commitizen
|
|
|
# Please run `pre-commit install --hook-type commit-msg` to check commit messages
|
|
# Please run `pre-commit install --hook-type commit-msg` to check commit messages
|
|
|
- rev: v2.42.0
|
|
|
|
|
|
|
+ rev: 3.2.1
|
|
|
hooks:
|
|
hooks:
|
|
|
- id: commitizen
|
|
- id: commitizen
|
|
|
|
|
|
|
@@ -22,19 +22,26 @@ repos:
|
|
|
args: ["--maxkb=1000"]
|
|
args: ["--maxkb=1000"]
|
|
|
|
|
|
|
|
- repo: https://github.com/codespell-project/codespell.git
|
|
- repo: https://github.com/codespell-project/codespell.git
|
|
|
- rev: v2.2.2
|
|
|
|
|
|
|
+ rev: v2.2.4
|
|
|
hooks:
|
|
hooks:
|
|
|
- id: codespell
|
|
- id: codespell
|
|
|
name: codespell
|
|
name: codespell
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
- rev: v3.3.1
|
|
|
|
|
|
|
+ rev: v3.4.0
|
|
|
hooks:
|
|
hooks:
|
|
|
- id: pyupgrade
|
|
- id: pyupgrade
|
|
|
args: [--py39-plus]
|
|
args: [--py39-plus]
|
|
|
|
|
|
|
|
|
|
+ - repo: https://github.com/hadialqattan/pycln
|
|
|
|
|
+ rev: v2.1.3
|
|
|
|
|
+ hooks:
|
|
|
|
|
+ - id: pycln
|
|
|
|
|
+ name: pycln (python)
|
|
|
|
|
+ args: [--config=pyproject.toml]
|
|
|
|
|
+
|
|
|
- repo: https://github.com/psf/black
|
|
- repo: https://github.com/psf/black
|
|
|
- rev: 23.1.0
|
|
|
|
|
|
|
+ rev: 23.3.0
|
|
|
hooks:
|
|
hooks:
|
|
|
- id: black
|
|
- id: black
|
|
|
|
|
|
|
@@ -51,14 +58,14 @@ repos:
|
|
|
name: pydocstyle
|
|
name: pydocstyle
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
- rev: v1.0.1
|
|
|
|
|
|
|
+ rev: v1.2.0
|
|
|
hooks:
|
|
hooks:
|
|
|
- id: mypy
|
|
- id: mypy
|
|
|
name: mypy
|
|
name: mypy
|
|
|
additional_dependencies: ["types-pytz"]
|
|
additional_dependencies: ["types-pytz"]
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/pylint
|
|
- repo: https://github.com/pycqa/pylint
|
|
|
- rev: v2.16.2
|
|
|
|
|
|
|
+ rev: v2.17.4
|
|
|
hooks:
|
|
hooks:
|
|
|
- id: pylint
|
|
- id: pylint
|
|
|
types: [python]
|
|
types: [python]
|