mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Update syntax check command
This commit is contained in:
parent
8617618084
commit
6c071bed72
1 changed files with 3 additions and 4 deletions
|
@ -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 <http://tox.readthedocs.org/>`_ 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
|
||||
|
|
Loading…
Add table
Reference in a new issue