1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-23 15:58:55 +00:00

describe the current style guide in documentation

This commit is contained in:
Antoine Beaupré 2015-10-20 14:40:09 -04:00
parent 8651f87fa1
commit 03d381c2f9

View file

@ -9,6 +9,15 @@ This chapter will get you started with |project_name|' development.
|project_name| is written in Python (with a little bit of Cython and C for |project_name| is written in Python (with a little bit of Cython and C for
the performance critical parts). the performance critical parts).
Style guide
-----------
We generally follow `pep8
<https://www.python.org/dev/peps/pep-0008/>`_, with 120 columns
instead of 79. We do *not* use form-feed (``^L``) characters to
separate sections either. The `flake8
<https://flake8.readthedocs.org/>`_ commandline tool should be used to
check for style errors before sending pull requests.
Building a development environment Building a development environment
---------------------------------- ----------------------------------