mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-12-01 22:14:08 +03:00
Add .pep8 and .pylintrc
This commit is contained in:
parent
40a091f432
commit
b275c7ca72
3
{{cookiecutter.repo_name}}/.pep8
Normal file
3
{{cookiecutter.repo_name}}/.pep8
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[pep8]
|
||||||
|
max-line-length = 120
|
||||||
|
exclude=*/migrations/*
|
11
{{cookiecutter.repo_name}}/.pylintrc
Normal file
11
{{cookiecutter.repo_name}}/.pylintrc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[MASTER]
|
||||||
|
load-plugins=pylint_common, pylint_django{% if cookiecutter.use_celery == "y" %}, pylint_celery {% endif %}
|
||||||
|
|
||||||
|
[FORMAT]
|
||||||
|
max-line-length=120
|
||||||
|
|
||||||
|
[MESSAGES CONTROL]
|
||||||
|
disable=missing-docstring,invalid-name
|
||||||
|
|
||||||
|
[DESIGN]
|
||||||
|
max-parents=13
|
Loading…
Reference in New Issue
Block a user