Merge pull request #335 from kurtmckee/update-pre-commit-hooks
Some checks failed
🏗️ / smoke-test (push) Has been cancelled
🏗️ / check (push) Has been cancelled
🏗️ / build-and-push (push) Has been cancelled

Update pre-commit hooks and `additional_dependencies`
This commit is contained in:
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) 2025-02-05 17:08:39 +01:00 committed by GitHub
commit 20d40f69a1
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ repos:
- id: add-trailing-comma - id: add-trailing-comma
- repo: https://github.com/PyCQA/isort.git - repo: https://github.com/PyCQA/isort.git
rev: 5.13.2 rev: 6.0.0
hooks: hooks:
- id: isort - id: isort
args: args:
@ -22,7 +22,7 @@ repos:
- id: remove-tabs - id: remove-tabs
- repo: https://github.com/python-jsonschema/check-jsonschema.git - repo: https://github.com/python-jsonschema/check-jsonschema.git
rev: 0.29.2 rev: 0.31.1
hooks: hooks:
- id: check-github-actions - id: check-github-actions
- id: check-github-workflows - id: check-github-workflows
@ -37,7 +37,7 @@ repos:
- id: check-readthedocs - id: check-readthedocs
- repo: https://github.com/pre-commit/pre-commit-hooks.git - repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.6.0 rev: v5.0.0
hooks: hooks:
# Side-effects: # Side-effects:
- id: end-of-file-fixer - id: end-of-file-fixer
@ -62,7 +62,7 @@ repos:
language_version: python3 language_version: python3
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.2.6 rev: v2.4.1
hooks: hooks:
- id: codespell - id: codespell
@ -78,7 +78,7 @@ repos:
- --strict - --strict
- repo: https://github.com/PyCQA/flake8.git - repo: https://github.com/PyCQA/flake8.git
rev: 7.0.0 rev: 7.1.1
hooks: hooks:
- id: flake8 - id: flake8
args: args:
@ -111,13 +111,12 @@ repos:
WPS453, WPS453,
- --max-module-members=8 # WPS202 - --max-module-members=8 # WPS202
additional_dependencies: additional_dependencies:
- flake8-2020 ~= 1.7.0 - flake8-2020 ~= 1.8.1
- flake8-pytest-style ~= 1.6.0 - flake8-pytest-style ~= 2.1.0
- wemake-python-styleguide ~= 0.19.0 - wemake-python-styleguide ~= 1.0.0
language_version: python3.11 # flake8-commas doesn't work w/ Python 3.12
- repo: https://github.com/PyCQA/pylint.git - repo: https://github.com/PyCQA/pylint.git
rev: v3.3.0 rev: v3.3.4
hooks: hooks:
- id: pylint - id: pylint
args: args: