Landing: 2b28c50ecd05
Project / Subsystem
binutils / binutils/build
Date
2026-07-13
Author
Tom de Vries <vries@sourceware.org>
Commit
2b28c50ecd058b3fe0328d1bf5f7bc06fd8ca41c
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- binutils/build
- patch_id
- —
- commit_hash
- 2b28c50ecd058b3fe0328d1bf5f7bc06fd8ca41c
- source_type
- public_inbox
- headline
- Refine pre-commit configuration
- tldr
- Pre-commit configuration is updated to reduce duplication and set default file paths.
- author
- Tom de Vries <vries@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • build
- • CI
- • refactoring
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-13T00:00:00.000Z
This commit refactors the .pre-commit-config.yaml file to reduce duplication by using YAML anchors and aliases for hook configurations. It also sets a default files pattern to apply hooks more consistently across Python files in the gdb, gdbserver, and gdbsupport directories. This improves maintainability and reduces redundancy in the pre-commit hook setup.