1 # Nominatim contribution guidelines
5 We operate the "Fork & Pull" model explained at
7 https://help.github.com/articles/using-pull-requests
9 You should fork the project into your own repo, create a topic branch
10 there and then make one or more pull requests back to the openstreetmap repository.
11 Your pull requests will then be reviewed and discussed.
15 Nominatim historically hasn't followed a particular coding style but we
16 are in process of consolodating the style. The following rules apply:
18 * Python code uses the official Python style
21 * all other use files TABs
22 * [BSD style](https://en.wikipedia.org/wiki/Indent_style#Allman_style) for braces
24 * spaces before and after equal signs and operators
26 * no spaces after opening and before closing bracket
27 * leave out space between a function name and bracket
28 but add one between control statement(if, while, etc.) and bracket
31 This coding style must be applied to any new or changed code. You are also
32 welcome to fix the coding style of existing code but please submit separate
37 Before submitting a pull request make sure that the following tests pass:
41 NOMINATIM_DIR=<builddir> lettuce -t -Fail features/db features/osm2pgsql