From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/5] [pre-commit] Some pre-commit improvements
Date: Mon, 20 Jul 2026 14:50:51 +0200 [thread overview]
Message-ID: <20260720125056.1373177-1-tdevries@suse.de> (raw)
This patch series contains some pre-commit improvements.
The third patch fixes the problem that flake8 is not run for gdb/gdb-gdb.py.in.
The first and second patch fix flake8 problems in gdb/gdb-gdb.py.in.
The fourth and fifth patch makes pre-commit rely less on types filtering,
fixing PR build/34411.
Tested on x86_64-linux.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34411
Tom de Vries (5):
[gdb] Fix bare except in gdb/gdb-gdb.py.in
[gdb] Remove superfluous global in gdb/gdb-gdb.py.in
[pre-commit] Run flake8 for gdb/gdb-gdb.py.in
[pre-commit] Don't require text type for check-whitespace hook
[pre-commit] Don't require text type for codespell hook
.pre-commit-config.yaml | 25 ++++++++++++++++++++-----
gdb/doc/.gitattributes | 10 ++++++++++
gdb/gdb-gdb.py.in | 3 +--
gdb/testsuite/.gitattributes | 4 ++++
4 files changed, 35 insertions(+), 7 deletions(-)
create mode 100644 gdb/doc/.gitattributes
create mode 100644 gdb/testsuite/.gitattributes
base-commit: cef1fbf3b02ff6e5bc62e1b8a7d30c0a32b8b9f7
--
2.51.0
next reply other threads:[~2026-07-20 12:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 12:50 Tom de Vries [this message]
2026-07-20 12:50 ` [PATCH 1/5] [gdb] Fix bare except in gdb/gdb-gdb.py.in Tom de Vries
2026-07-20 12:50 ` [PATCH 2/5] [gdb] Remove superfluous global " Tom de Vries
2026-07-20 12:50 ` [PATCH 3/5] [pre-commit] Run flake8 for gdb/gdb-gdb.py.in Tom de Vries
2026-07-20 12:50 ` [PATCH 4/5] [pre-commit] Don't require text type for check-whitespace hook Tom de Vries
2026-07-20 12:50 ` [PATCH 5/5] [pre-commit] Don't require text type for codespell hook Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260720125056.1373177-1-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox