[LTP] [PATCH v2 1/1] editorconfig: add consistent formatting rules for LTP
Jan Polensky
japo@linux.ibm.com
Tue Mar 31 21:59:43 CEST 2026
On Mon, Mar 30, 2026 at 07:23:23AM +0000, Andrea Cervesato wrote:
> > Would it work if kirk has it's own .editorconfig? I mean, it should have anyway,
> > but if it will be applied on it as a submodule.
>
> There's no need, everything is handled by `ruff` that is auto-formatting
> and cleaning up python code. Its configuration is in `pyproject.toml` and
> it's de-facto standard for python development nowadays.
>
> --
> Andrea Cervesato
> SUSE QE Automation Engineer Linux
> andrea.cervesato@suse.com
Hi Andrea, hi Petr,
thanks for the review!
I’m sending v3 addressing the comments:
Changes since v2:
- Use kernel-style tabs for C/ASM/shell (tab stop 8 via tab_width=8, indent_size=tab). (thx Andrea Cervesato, Petr Vorel)
- Split Python/Perl indentation: *.py uses 4 spaces; *.pl keeps tabs. (thx Andrea Cervesato)
Best regards,
Jan
More information about the ltp
mailing list