mesonbuild/meson

Recommend a standard coding style for meson.build files

开放

#2,608 创建于 2017年11月11日

 (8 条评论) (5 个反应) (0 位负责人)Python (1,465 个派生)batch import
documentationenhancementhelp wanted

仓库指标

星标
 (4,978 个星标)
PR 合并指标
 (平均合并 139天 13小时) (30 天内合并 51 个 PR)

描述

It seems that there is no recommended standard for the coding style of meson.build files.

So in some projects the indentation is with two spaces, in other projects it's with tabs or four spaces, etc etc.

I think it's useful to have the same coding style in all projects, it makes contributing easier, it is also easier to copy/paste a snippet of code between projects.

Like the PEP 8 for Python: https://www.python.org/dev/peps/pep-0008/

贡献者指南