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
This commit is contained in:
Sean Mooney
2025-05-01 00:58:19 +01:00
committed by sean mooney
parent 1b12e80882
commit 7aabd6dd5a

View File

@@ -35,17 +35,17 @@ repos:
additional_dependencies: [] additional_dependencies: []
exclude: '^(doc|releasenotes|tools)/.*$' exclude: '^(doc|releasenotes|tools)/.*$'
- repo: https://github.com/PyCQA/bandit - repo: https://github.com/PyCQA/bandit
rev: 1.7.6 rev: 1.8.3
hooks: hooks:
- id: bandit - id: bandit
args: ['-x', 'tests', '-s', 'B101,B311,B320'] args: ['-x', 'tests', '-s', 'B101,B311,B320']
- repo: https://github.com/hhatto/autopep8 - repo: https://github.com/hhatto/autopep8
rev: v2.3.1 rev: v2.3.2
hooks: hooks:
- id: autopep8 - id: autopep8
files: '^.*\.py$' files: '^.*\.py$'
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.3.0 rev: v2.4.1
hooks: hooks:
- id: codespell - id: codespell
args: ['--ignore-words=doc/dictionary.txt'] args: ['--ignore-words=doc/dictionary.txt']
@@ -54,7 +54,7 @@ repos:
hooks: hooks:
- id: sphinx-lint - id: sphinx-lint
args: [--enable=default-role] args: [--enable=default-role]
files: ^doc/|releasenotes|api-guide files: ^doc/|^releasenotes/|^api-guide/
types: [rst] types: [rst]
- repo: https://github.com/PyCQA/doc8 - repo: https://github.com/PyCQA/doc8
rev: v1.1.2 rev: v1.1.2