mirror of
https://github.com/dbcli/pgcli.git
synced 2024-10-04 01:08:51 +03:00
Merge pull request #882 from dbcli/lint-doc
Fix the commands for fixing lint errors.
This commit is contained in:
commit
996a0863b9
@ -148,8 +148,8 @@ To see stdout/stderr, use the following command:
|
||||
$ behave --no-capture
|
||||
|
||||
|
||||
PEP8 checks
|
||||
-----------
|
||||
PEP8 checks (lint)
|
||||
-----------------_
|
||||
|
||||
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
|
||||
@ -158,7 +158,7 @@ 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
|
||||
$ pep8radius master --docformatter --diff # view a diff of proposed fixes
|
||||
$ pep8radius master --docformatter --in-place # apply the fixes
|
||||
|
||||
Then commit and push the fixes.
|
||||
|
Loading…
Reference in New Issue
Block a user