From 1f1bb0d0950a5df82efb1746dd4b94b2607404df Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 9 Aug 2024 12:28:15 +0100 Subject: [PATCH] pre-commit: Bump versions Signed-off-by: Stephen Finucane Change-Id: Ib2b7a8ae835d37d4de1a47f6d36d510ae3f49ca2 --- .pre-commit-config.yaml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 16f482bf0c..70f5408d50 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,7 @@ --- -default_language_version: - # force all unspecified python hooks to run python3 - python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: mixed-line-ending @@ -27,13 +24,9 @@ repos: hooks: - id: bashate args: ['--ignore', 'E006,E042,E043'] - - repo: local + - repo: https://opendev.org/openstack/hacking + rev: 6.1.0 hooks: - - id: flake8 - name: flake8 - additional_dependencies: - - hacking>=6.1.0,<6.2.0 - language: python - entry: flake8 - files: '^.*\.py$' + - id: hacking + additional_dependencies: [] exclude: '^(doc|releasenotes|tools)/.*$'