From fccf2807618f335bdd34677bb64a12e91244c901 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:12:22 +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 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.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/asottile/pyupgrade: v3.7.0 → v3.19.0](https://github.com/asottile/pyupgrade/compare/v3.7.0...v3.19.0) - [github.com/psf/black: 23.3.0 → 24.10.0](https://github.com/psf/black/compare/23.3.0...24.10.0) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.9-for-vscode...v4.0.0-alpha.8) - [github.com/PyCQA/flake8: 6.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/6.0.0...7.1.1) - [github.com/PyCQA/bandit: 1.7.5 → 1.7.10](https://github.com/PyCQA/bandit/compare/1.7.5...1.7.10) - [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.3.0...v1.13.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/rstcheck/rstcheck: v6.1.2 → v6.2.4](https://github.com/rstcheck/rstcheck/compare/v6.1.2...v6.2.4) - [github.com/AleksaC/hadolint-py: v2.12.0.2 → v2.12.1b3](https://github.com/AleksaC/hadolint-py/compare/v2.12.0.2...v2.12.1b3) --- .pre-commit-config.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 756743b..4da32c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: # Other file formatting, plus common Git mistakes & text file standardization: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: check-added-large-files # Don't accidentally commit giant files. - id: check-merge-conflict # Watch for lingering merge markers. @@ -37,7 +37,7 @@ repos: # Make sure import statements are sorted uniformly. - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort @@ -58,20 +58,20 @@ repos: # Update a bunch of Python syntax, using __futures__ for Python 3.8/3.9 # Note that this sometimes conflicts with Pydantic on Python 3.8/3.9 - repo: https://github.com/asottile/pyupgrade - rev: v3.7.0 + rev: v3.19.0 hooks: - id: pyupgrade args: ["--py311-plus"] # Deterministic python formatting: - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.10.0 hooks: - id: black language_version: python3.11 - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.9-for-vscode + rev: v4.0.0-alpha.8 hooks: - id: prettier types_or: [yaml] @@ -82,7 +82,7 @@ repos: # Check for PEP8 non-compliance, code complexity, style, errors, etc: - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 args: ["--config", "tox.ini"] @@ -100,7 +100,7 @@ repos: # Check for known security vulnerabilities: - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.7.10 hooks: - id: bandit # Currently no configuration... @@ -108,7 +108,7 @@ repos: # Use type annotations to check types - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.13.0 hooks: - id: mypy additional_dependencies: @@ -119,14 +119,14 @@ repos: # Check for errors in restructuredtext (.rst) files under the doc hierarchy - repo: https://github.com/PyCQA/doc8 - rev: v1.1.1 + rev: v1.1.2 hooks: - id: doc8 args: ["--config", "tox.ini"] # Lint any RST files and embedded code blocks for syntax / formatting errors - repo: https://github.com/rstcheck/rstcheck - rev: v6.1.2 + rev: v6.2.4 hooks: - id: rstcheck additional_dependencies: [sphinx] @@ -134,7 +134,7 @@ repos: # Lint Dockerfiles for errors and to ensure best practices - repo: https://github.com/AleksaC/hadolint-py - rev: v2.12.0.2 + rev: v2.12.1b3 hooks: - id: hadolint @@ -146,7 +146,7 @@ repos: # clear outputs from Jupyter notebooks - id: nb-output-clear name: nb-output-clear - stages: [commit] + stages: [pre-commit] language: system verbose: false pass_filenames: false @@ -155,7 +155,7 @@ repos: # Run the unit tests - id: unit-tests name: unit-tests - stages: [commit] + stages: [pre-commit] language: system verbose: false pass_filenames: false