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