From 6c071bed72cbae6b65aaf76b7cead6476429c04e Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sat, 10 May 2014 20:34:25 +0200 Subject: [PATCH] Update syntax check command --- docs/guidelines.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/guidelines.rst b/docs/guidelines.rst index d337528..0d4f81d 100644 --- a/docs/guidelines.rst +++ b/docs/guidelines.rst @@ -104,9 +104,8 @@ guidelines. There however a few exceptions: + Ignore ``E501``: The max line length is not 80 characters + Ignore ``W191``: Indent with tabs not spaces -The codebase can be checked for any violations quite easily with: +The codebase can be checked for any violations quite easily, since those rules are already specified in the +`tox `_ configuration file. :: - find . -name '*.py' | /usr/bin/grep -v minify_json | xargs pep8 --ignore=E101,E221,E241,E501,W191 - -Note: ``common/minify_json.py`` is ignored since it is foreign code. + tox -e flake8