From 3ffca3b63cda66dc7defc901b2f550389266e4b6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 20:19:33 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0) - [github.com/abravalheri/validate-pyproject: v0.13 → v0.20.2](https://github.com/abravalheri/validate-pyproject/compare/v0.13...v0.20.2) - [github.com/asottile/pyupgrade: v3.4.0 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.17.0) - [github.com/psf/black: 23.3.0 → 24.8.0](https://github.com/psf/black/compare/23.3.0...24.8.0) - [github.com/PyCQA/isort: 5.12.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.12.0...5.13.2) - [github.com/PyCQA/docformatter: v1.7.1 → v1.7.5](https://github.com/PyCQA/docformatter/compare/v1.7.1...v1.7.5) - [github.com/asottile/blacken-docs: 1.13.0 → 1.18.0](https://github.com/asottile/blacken-docs/compare/1.13.0...1.18.0) - [github.com/asottile/dead: v1.5.1 → v1.5.2](https://github.com/asottile/dead/compare/v1.5.1...v1.5.2) - [github.com/sphinx-contrib/sphinx-lint: v0.6.7 → v1.0.0](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.7...v1.0.0) - [github.com/PyCQA/doc8: v1.1.1 → v1.1.2](https://github.com/PyCQA/doc8/compare/v1.1.1...v1.1.2) - [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.3.0...v1.11.2) - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.269 → v0.6.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.269...v0.6.8) - [github.com/PyCQA/pylint: v2.17.4 → v3.3.1](https://github.com/PyCQA/pylint/compare/v2.17.4...v3.3.1) - [github.com/PyCQA/bandit: 1.7.5 → 1.7.10](https://github.com/PyCQA/bandit/compare/1.7.5...1.7.10) --- .pre-commit-config.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eaa775c..06969ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-yaml - id: check-toml @@ -19,39 +19,39 @@ repos: # Verify the contents of pyproject.toml - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.13 + rev: v0.20.2 hooks: - id: validate-pyproject # Updating code to use modern python patterns where available. - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.17.0 hooks: - id: pyupgrade # General Project code formatter. - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.8.0 hooks: - id: black # Sorts python imports. - repo: https://github.com/PyCQA/isort # Note - on black update blacken-docs pin should also be updated. - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: ['--profile=black'] # Formats python docstrings. - repo: https://github.com/PyCQA/docformatter - rev: v1.7.1 + rev: v1.7.5 hooks: - id: docformatter # Formats code-blocks in documentation. - repo: https://github.com/asottile/blacken-docs - rev: 1.13.0 + rev: 1.18.0 hooks: - id: blacken-docs # Note - on black update blacken-docs pin should also be updated. @@ -59,7 +59,7 @@ repos: # Used to detect unintentionally unused code. - repo: https://github.com/asottile/dead - rev: v1.5.1 + rev: v1.5.2 hooks: - id: dead args: [ @@ -69,13 +69,13 @@ repos: # Lint documentation source. - repo: https://github.com/sphinx-contrib/sphinx-lint # Make sure to also update the additional dependency pin - rev: v0.6.7 + rev: v1.0.0 hooks: - id: sphinx-lint # lint documentation - repo: https://github.com/PyCQA/doc8 - rev: v1.1.1 + rev: v1.1.2 hooks: - id: doc8 @@ -91,14 +91,14 @@ repos: # Static typehint linting. - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.11.2 hooks: - id: mypy # A faster python linter -- repo: https://github.com/charliermarsh/ruff-pre-commit +- repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.0.269' + rev: 'v0.6.8' hooks: - id: ruff @@ -118,7 +118,7 @@ repos: # Lint code in pre-commit env, note: This ignores import checks. - repo: https://github.com/PyCQA/pylint - rev: v2.17.4 + rev: v3.3.1 hooks: # Pylint is also run from within pre-commit for CI purposes. - id: pylint @@ -129,7 +129,7 @@ repos: # Lint code for security flaws. - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.7.10 hooks: - id: bandit # Assert is used exclusively in pytest.