update pre-commit checks.

This commit is contained in:
vlebourl 2022-12-08 11:46:08 +01:00
parent f8bcdddb84
commit f5b716f770

View File

@ -1,11 +1,11 @@
repos: repos:
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.31.1 rev: v3.3.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py37-plus] args: [--py37-plus]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 22.10.0
hooks: hooks:
- id: black - id: black
additional_dependencies: ['click==8.0.4'] additional_dependencies: ['click==8.0.4']
@ -14,7 +14,7 @@ repos:
- --quiet - --quiet
files: ^((custom_components)/.+)?[^/]+\.py$ files: ^((custom_components)/.+)?[^/]+\.py$
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.1.0 rev: v2.2.2
hooks: hooks:
- id: codespell - id: codespell
args: args:
@ -22,8 +22,8 @@ repos:
- --skip="./.*,*.csv,*.json,*.md" - --skip="./.*,*.csv,*.json,*.md"
- --quiet-level=2 - --quiet-level=2
exclude_types: [csv, json] exclude_types: [csv, json]
- repo: https://gitlab.com/pycqa/flake8 - repo: https://github.com/pycqa/flake8
rev: 3.9.2 rev: 6.0.0
hooks: hooks:
- id: flake8 - id: flake8
additional_dependencies: additional_dependencies:
@ -35,6 +35,6 @@ repos:
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3 rev: v1.28.0
hooks: hooks:
- id: yamllint - id: yamllint