added link to contributing (in mapnik repository) to this (md)
parent
3855a05aa5
commit
4f8cec5bfa
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,8 @@ There are no coding standards yet defined for this project. This is an initial a
|
||||||
|
|
||||||
This needs to be discussed, since the current document is just a single person's draft.
|
This needs to be discussed, since the current document is just a single person's draft.
|
||||||
|
|
||||||
|
Also read 'Code commits best practices' and 'Coding Conventions' in [Contributing](https://github.com/mapnik/mapnik/blob/master/docs/contributing.markdown), in the Docs.
|
||||||
|
|
||||||
## C++
|
## C++
|
||||||
|
|
||||||
* Trailing whitespace is never allowed. This includes lines with nothing but spaces or tabs in them, as well as spaces or tabs being the last characters on a line with non-whitespace characters.
|
* Trailing whitespace is never allowed. This includes lines with nothing but spaces or tabs in them, as well as spaces or tabs being the last characters on a line with non-whitespace characters.
|
||||||
|
@ -45,6 +47,8 @@ This needs to be discussed, since the current document is just a single person's
|
||||||
(c-set-offset 'template-args-cont 'c-lineup-template-args)
|
(c-set-offset 'template-args-cont 'c-lineup-template-args)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Python
|
## Python
|
||||||
|
|
||||||
It would probably be best to follow Guido van Rossum's preferred coding style, as documented in [PEP 8](http://www.python.org/dev/peps/pep-0008/).
|
It would probably be best to follow Guido van Rossum's preferred coding style, as documented in [PEP 8](http://www.python.org/dev/peps/pep-0008/).
|
||||||
|
|
Loading…
Reference in a new issue