[RFC,v1,0/3] meson: Add `meson.format` file
mbox series

Message ID 20260202112511.640320-1-barnabas.pocze@ideasonboard.com
Headers show
Series
  • meson: Add `meson.format` file
Related show

Message

Barnabás Pőcze Feb. 2, 2026, 11:25 a.m. UTC
Since 1.5.0 the `format` subcommand is provided by meson for formatting
build files. So I propose to find a suitable set of options, reformat all
files, and then add it to checkstyle.py.

The reformatting of everything is not done here, but it is somewhat significant
with the proposed settings:

  $ meson format --recursive --inplace
  $ git diff --stat
  [...]
   54 files changed, 1420 insertions(+), 936 deletions(-)

Barnabás Pőcze (3):
  meson: Add `meson.format` file
  utils: checkstyle.py: Make custom dependency checks possible
  utils: checkstyle.py: Add `MesonFormatter`

 meson.format        |  2 ++
 utils/checkstyle.py | 42 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 meson.format

--
2.52.0