diff options
Diffstat (limited to 'DEVELOP.rst')
-rw-r--r-- | DEVELOP.rst | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/DEVELOP.rst b/DEVELOP.rst index 005c9f3f..774dd8d0 100644 --- a/DEVELOP.rst +++ b/DEVELOP.rst @@ -172,17 +172,7 @@ Troubleshooting the integration tests - Check `this issue <https://github.com/dbcli/pgcli/issues/945>`_ for relevant information. - Contact us on `gitter <https://gitter.im/dbcli/pgcli/>`_ or `file an issue <https://github.com/dbcli/pgcli/issues/new>`_. -PEP8 checks (lint) ------------------- +Coding Style +------------ -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 master --docformatter --diff # view a diff of proposed fixes - $ pep8radius master --docformatter --in-place # apply the fixes - -Then commit and push the fixes. +``pgcli`` uses `black <https://github.com/ambv/black>`_ to format the source code. Make sure to install black. |