From: Tom de Vries <tdevries@suse.de>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] [pre-commit] Add tclint hook
Date: Wed, 17 Sep 2025 21:43:39 +0200 [thread overview]
Message-ID: <1e6ce44e-d95c-4c2f-b1bd-e21537956ecb@suse.de> (raw)
In-Reply-To: <a568369c-9ba1-4f87-a39a-459f3df614b0@suse.de>
On 9/17/25 21:08, Tom de Vries wrote:
> So, in this case the pyproject.toml file is read, which prevents line-
> length warnings:
> ...
> $ ( cd gdb; tclint testsuite/lib/gdb.exp ) | grep -c line-length
> 0
> ...
>
> And in this case (which is what I do usually) not:
> ...
> $ tclint gdb/testsuite/lib/gdb.exp | grep -c line-length
> 17
> ...
Hmm, I missed that the same thing happens for gdb/testsuite/tclint.toml:
...
$ tclint gdb/testsuite/lib/gdb.exp | grep -c line-length
17
$ ( cd gdb; tclint testsuite/lib/gdb.exp ) | grep -c line-length
17
$ ( cd gdb/testsuite/; tclint lib/gdb.exp ) | grep -c line-length
0
...
So, then maybe gdb/tclint.toml, or ./tclint.toml or ./.tclint ?
Thanks,
- Tom
next prev parent reply other threads:[~2025-09-17 19:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 8:41 Tom de Vries
2025-09-17 15:42 ` Tom Tromey
2025-09-17 18:15 ` Tom de Vries
2025-09-17 18:35 ` Tom Tromey
2025-09-17 19:08 ` Tom de Vries
2025-09-17 19:43 ` Tom de Vries [this message]
2025-09-18 0:22 ` Tom Tromey
2025-09-19 7:14 ` 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=1e6ce44e-d95c-4c2f-b1bd-e21537956ecb@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
--cc=tom@tromey.com \
/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