blob: ff1a619ca7d428457eb8343061fd1091c20de4b2 [file] [log] [blame]
Hynek Schlawack2ae675d2013-08-07 21:01:07 +02001Process
2=======
3
Laurens Van Houtven380a3692013-08-07 11:03:40 +02004This repository has a mandatory code review policy. Contributions
5should happen through pull requests. Never commit to ``master``
6directly.
7
Hynek Schlawack2ae675d2013-08-07 21:01:07 +02008Code
9====
Laurens Van Houtven380a3692013-08-07 11:03:40 +020010
Hynek Schlawack2ae675d2013-08-07 21:01:07 +020011When in doubt, refer to `PEP 8`_ for Python code.
12
13Docs
14====
15
16Write docstrings like this:
17
18.. code-block:: python
Laurens Van Houtven380a3692013-08-07 11:03:40 +020019
20 def some_function(some_arg):
21 """
22 Does some things.
23
24 :param some_arg: Some argument.
25 """
26
27So, specifically:
28
29- Always use three double quotes.
30- Put the three double quotes on their own line.
31- No blank line at the end.
Hynek Schlawack2ae675d2013-08-07 21:01:07 +020032- Use Sphinx parameter/attribute documentation `syntax`_.
33
34
35.. _`PEP 8`: http://www.peps.io/8/
36.. _`syntax`: http://sphinx-doc.org/domains.html#info-field-lists