From da8ad8e03abdba2b5e7794c95e6981d03fef6021 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 29 Oct 2025 13:49:27 -0400 Subject: [PATCH] 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 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3