setup.cfg: make flake8 scan *.py.in files
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 5 Nov 2024 17:48:10 +0000 (12:48 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 5 Nov 2024 19:58:27 +0000 (14:58 -0500)
commit71ae6b8c17e5a5f37bbbea48deb4d635c7b028e6
tree985aa7745385e676ca842e2b8b1edddfad1c0bdd
parent18bcd8bdd30f29196eb9c17db2d528e4f0437b16
setup.cfg: make flake8 scan *.py.in files

... in order to scan `src/bindings/python/bt2/setup.py.in` (it is a
valid Python program despite the name, the replacement tokens are only
in strings).

Make the pre-commit hooks run on this file as well (the technique is
described somewhere here [1]).

Doing so finds a small flake8 issue, fix it.

[1] https://pre-commit.com/#filtering-files-with-types

Change-Id: I1427d0d987884b72851741d6bb36620c5609ddb9
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13492
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
.pre-commit-config.yaml
setup.cfg
src/bindings/python/bt2/setup.py.in
This page took 0.024798 seconds and 4 git commands to generate.