From 4af8beffbd7ae63c8a0685f14747e46e7f2bf886 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:45:54 +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: - 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.5.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.269...v0.5.4) - [github.com/psf/black: 23.3.0 → 24.4.2](https://github.com/psf/black/compare/23.3.0...24.4.2) - [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/PyCQA/flake8: 6.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/6.0.0...7.1.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/bandit: 1.7.5 → 1.7.9](https://github.com/PyCQA/bandit/compare/1.7.5...1.7.9) - [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.11.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.3.0...v1.11.0) - [github.com/hoefling/pre-commit-pytype: 2023.4.27 → 2024.4.11](https://github.com/hoefling/pre-commit-pytype/compare/2023.4.27...2024.4.11) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ff996d..3179cae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,8 +5,8 @@ ci: - pytype # does not support py3.11 yet repos: -- repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.269 +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.5.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -20,7 +20,7 @@ repos: args: [--fix, --exit-non-zero-on-fix, --config=_typeshed/pyproject.toml] - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.4.2 hooks: - id: black types: [] @@ -32,7 +32,7 @@ repos: files: ^_typeshed/.*.pyi?$ args: [--config=_typeshed/pyproject.toml] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: no-commit-to-branch - id: trailing-whitespace @@ -47,7 +47,7 @@ repos: - id: pretty-format-json args: [--autofix] - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.1.0 hooks: - id: flake8 additional_dependencies: @@ -58,24 +58,24 @@ repos: - flake8-pyproject==1.2.2 - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.7.9 hooks: - id: bandit exclude: tests/ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.11.0 hooks: - id: mypy exclude: tests/.*.py types: [python] additional_dependencies: [devpi-client,keyring] - repo: https://github.com/hoefling/pre-commit-pytype - rev: 2023.4.27 + rev: 2024.4.11 hooks: - id: pytype exclude: tests/.*.py