mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
More linter documentation in prep for merging #283.
This commit is contained in:
parent
5e1ea0940c
commit
481bdb71b3
|
@ -15,3 +15,17 @@ The config for flake8 is located in setup.cfg. It specifies:
|
|||
|
||||
* Set max line length to 120 chars
|
||||
* Exclude .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
||||
|
||||
pylint
|
||||
------
|
||||
|
||||
This is included in flake8's checks, but you can also run it separately to see a more detailed report:
|
||||
|
||||
$ pylint <python files that you wish to lint>
|
||||
|
||||
pep8
|
||||
-----
|
||||
|
||||
This is included in flake8's checks, but you can also run it separately to see a more detailed report:
|
||||
|
||||
$ pep8 <python files that you wish to lint>
|
||||
|
|
Loading…
Reference in New Issue
Block a user