Re: Add "format" target to make and ninja to run pgindent and pgperltidy

Поиск
Список
Период
Сортировка
От Ashutosh Bapat
Тема Re: Add "format" target to make and ninja to run pgindent and pgperltidy
Дата
Msg-id CAExHW5tuJTmuikfkabWq+mvomucY3iQ_vV-10KAsZWM7Yg6tvg@mail.gmail.com
обсуждение исходный текст
Ответ на Add "format" target to make and ninja to run pgindent and pgperltidy  ("Jelte Fennema-Nio" <postgres@jeltef.nl>)
Ответы Re: Add "format" target to make and ninja to run pgindent and pgperltidy
Список pgsql-hackers
On Wed, Dec 31, 2025 at 5:06 PM Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
>
> This tries to make running formatting a lot easier for committers, but
> primarily for new contributors. You can not format the files by simply
> running one of the folowing:
>
> make format
> ninja -C build format
>

I generally like the idea. Since perltidy is not enforced regularly
(like pgindent), running it usually ends up modifying files which are
not part of the patch. So I avoid it if not necessary. Do you propose
to make it optional?

--
Best Wishes,
Ashutosh Bapat



В списке pgsql-hackers по дате отправления: