summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.rst
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2017-07-20 19:14:54 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2017-07-20 22:12:15 -0300
commit22f54784c23793831699b5c239d3a4b534a2aa4d (patch)
treee234c7f959a902b1fddbbd808909ec3c7de437f0 /CONTRIBUTING.rst
parentda12c5234737b7afb2865dc0a2bd99ee138678d3 (diff)
downloadpytest-22f54784c23793831699b5c239d3a4b534a2aa4d.tar.gz
Add "fix-lint" tox environment to fix linting errors
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r--CONTRIBUTING.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index edf71dad7..71d70e8b7 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -212,7 +212,12 @@ but here is a simple overview:
$ tox -e linting,py27,py36
This command will run tests via the "tox" tool against Python 2.7 and 3.6
- and also perform "lint" coding-style checks.
+ and also perform "lint" coding-style checks. If you have too much linting errors,
+ try running::
+
+ $ tox -e fix-lint
+
+ To fix pep8 related errors.
#. You can now edit your local working copy.