diff options
author | Irina Truong <i.chernyavska@gmail.com> | 2019-05-25 13:08:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 13:08:56 -0700 |
commit | 8cb7009bcd0f0062942932c853706a36178f566c (patch) | |
tree | cb5bb42674ccce90b173e7a2f09bf72157ae4a86 /DEVELOP.rst | |
parent | a5e607b6fc889afd3f8960ca3903ae16b641c304 (diff) |
black all the things. (#1049)
* added black to develop guide
* no need for pep8radius.
* changelog.
* Add pre-commit checkbox.
* Add pre-commit to dev reqs.
* Add pyproject.toml for black.
* Pre-commit config.
* Add black to travis and dev reqs.
* Install and run black in travis.
* Remove black from dev reqs.
* Lower black target version.
* Re-format with black.
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. |