mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-02 20:54:41 +03:00
Change pep 8 for pycodestyle in docs and project requirements (#1332)
* Change pep8 for pycodestyle in the docs. * Change pep8 for pycodestyle in project requirements.
This commit is contained in:
parent
53699728ec
commit
1d55a608c0
|
@ -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``
|
||||||
|
|
|
@ -5,7 +5,7 @@ binaryornot==0.4.4
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
pytest==3.2.2
|
pytest==3.2.2
|
||||||
pep8==1.7.0
|
pycodestyle==2.3.1
|
||||||
pyflakes==1.6.0
|
pyflakes==1.6.0
|
||||||
tox==2.8.2
|
tox==2.8.2
|
||||||
pytest-cookies==0.2.0
|
pytest-cookies==0.2.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user