mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
Change pep8 for pycodestyle in the docs.
This commit is contained in:
parent
53699728ec
commit
3a5af6ae99
|
@ -30,14 +30,14 @@ The config for pylint is located in .pylintrc. It specifies:
|
||||||
* Disable linting messages for missing docstring and invalid name
|
* Disable linting messages for missing docstring and invalid name
|
||||||
* max-parents=13
|
* max-parents=13
|
||||||
|
|
||||||
pep8
|
pycodestyle
|
||||||
-----
|
-----
|
||||||
|
|
||||||
This is included in flake8's checks, but you can also run it separately to see a more detailed report:
|
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>
|
$ pycodestyle <python files that you wish to lint>
|
||||||
|
|
||||||
The config for pep8 is located in setup.cfg. It specifies:
|
The config for pycodestyle is located in setup.cfg. It specifies:
|
||||||
|
|
||||||
* Set max line length to 120 chars
|
* Set max line length to 120 chars
|
||||||
* Exclude ``.tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules``
|
* Exclude ``.tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules``
|
||||||
|
|
Loading…
Reference in New Issue
Block a user