mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 00:04:13 +03:00
Starter docs on our flake8 setup.
This commit is contained in:
parent
8fa150a81f
commit
b642fed5bb
|
@ -2,3 +2,16 @@ Linters
|
|||
=======
|
||||
|
||||
.. index:: linters
|
||||
|
||||
|
||||
flake8
|
||||
-------
|
||||
|
||||
To run flake8:
|
||||
|
||||
$ flake8
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user