From: Sarah Hoffmann Date: Mon, 5 Sep 2016 20:13:08 +0000 (+0200) Subject: adapt coding style for new spaces-only policy X-Git-Tag: v3.0.0~137 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/89c157a6c1753f3c0765f140652f9c5587981125 adapt coding style for new spaces-only policy --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d52ee66..68355663 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,7 +18,7 @@ are in process of consolodating the style. The following rules apply: * Python code uses the official Python style * indention * SQL use 2 spaces - * all other use files TABs + * all other file types use 4 spaces * [BSD style](https://en.wikipedia.org/wiki/Indent_style#Allman_style) for braces * spaces * spaces before and after equal signs and operators @@ -27,7 +27,6 @@ are in process of consolodating the style. The following rules apply: * leave out space between a function name and bracket but add one between control statement(if, while, etc.) and bracket - This coding style must be applied to any new or changed code. You are also welcome to fix the coding style of existing code but please submit separate PRs for this.