From: Simon Marchi Date: Wed, 29 Oct 2025 17:49:27 +0000 (-0400) Subject: pre-commit: run flake8 on all .py(.in)? files under gdb X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da8ad8e03abdba2b5e7794c95e6981d03fef6021;p=thirdparty%2Fbinutils-gdb.git pre-commit: run flake8 on all .py(.in)? files under gdb This covers Python files under gdb/contrib and gdb/testsuite, which are now flake8-clean. Change-Id: If587964d0735f6f585c72d18df40439424215644 Approved-By: Tom Tromey --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 155b2612777..369301254e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,7 +59,7 @@ repos: # - gdb/python/**/*.py # - gdb/testsuite/*.py # - files: '^gdb/(gdb-gdb\.py\.in|[^/]+\.py|python/.+\.py|testsuite/[^/]+\.py)$' + files: '^gdb/.*\.py(\.in)?$' args: [--config, gdb/setup.cfg] - repo: https://github.com/pycqa/isort rev: 7.0.0