From 7aabd6dd5a1c2c092d9a2ff47a07415390af9673 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Thu, 1 May 2025 00:58:19 +0100 Subject: [PATCH] update pre-commit hook versions This updates all hooks to there latest verions notable this adds python 3.13 support to autopep8 Change-Id: Ia67ed74c9942ff26bb1f8c1d72bf57aedfcd3846 --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 545b1c45c..41b10b7ec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,17 +35,17 @@ repos: additional_dependencies: [] exclude: '^(doc|releasenotes|tools)/.*$' - repo: https://github.com/PyCQA/bandit - rev: 1.7.6 + rev: 1.8.3 hooks: - id: bandit args: ['-x', 'tests', '-s', 'B101,B311,B320'] - repo: https://github.com/hhatto/autopep8 - rev: v2.3.1 + rev: v2.3.2 hooks: - id: autopep8 files: '^.*\.py$' - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell args: ['--ignore-words=doc/dictionary.txt'] @@ -54,7 +54,7 @@ repos: hooks: - id: sphinx-lint args: [--enable=default-role] - files: ^doc/|releasenotes|api-guide + files: ^doc/|^releasenotes/|^api-guide/ types: [rst] - repo: https://github.com/PyCQA/doc8 rev: v1.1.2