summaryrefslogtreecommitdiffstats
path: root/DEVELOP.rst
diff options
context:
space:
mode:
authorIrina Truong <i.chernyavska@gmail.com>2017-04-07 17:00:35 -0700
committerIrina Truong <i.chernyavska@gmail.com>2017-04-07 17:00:35 -0700
commitb3ade2db9dcb16df49c2a8574237b16e981f442e (patch)
treeb70049c5a8cdc8a8b94b55fa025f1978ab26dc33 /DEVELOP.rst
parenteab935034e6b93cde75f273500d0361565aaa699 (diff)
Ported pep8radius addition from mycli.
Diffstat (limited to 'DEVELOP.rst')
-rw-r--r--DEVELOP.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/DEVELOP.rst b/DEVELOP.rst
index 0c4dedf3..dc9157f6 100644
--- a/DEVELOP.rst
+++ b/DEVELOP.rst
@@ -155,3 +155,18 @@ To see stdout/stderr, use the following command:
$ behave --no-capture
+
+PEP8 checks
+-----------
+
+When you submit a PR, the changeset is checked for pep8 compliance using
+`pep8radius <https://github.com/hayd/pep8radius>`_. If you see a build failing because
+of these checks, install pep8radius and apply style fixes:
+
+::
+
+ $ pip install pep8radius
+ $ pep8radius --docformatter --diff # view a diff of proposed fixes
+ $ pep8radius --docformatter --in-place # apply the fixes
+
+Then commit and push the fixes.