2013-11-17 16:45:43 +04:00
|
|
|
# http://editorconfig.org
|
|
|
|
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
|
|
|
|
[*.{py,rst,ini}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2015-04-28 10:37:25 +03:00
|
|
|
[*.py]
|
2020-03-03 22:53:15 +03:00
|
|
|
line_length = 88
|
|
|
|
known_first_party = {{cookiecutter.project_slug}},config
|
2019-11-02 23:57:05 +03:00
|
|
|
multi_line_output = 3
|
|
|
|
default_section = THIRDPARTY
|
|
|
|
recursive = true
|
|
|
|
skip = venv/
|
|
|
|
skip_glob = **/migrations/*.py
|
|
|
|
include_trailing_comma = true
|
|
|
|
force_grid_wrap = 0
|
|
|
|
use_parentheses = true
|
2015-04-28 10:37:25 +03:00
|
|
|
|
2015-09-25 02:18:20 +03:00
|
|
|
[*.{html,css,scss,json,yml}]
|
2013-11-17 16:45:43 +04:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2015-04-25 16:40:32 +03:00
|
|
|
|
2015-04-28 10:37:25 +03:00
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
2015-04-25 16:40:32 +03:00
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
2016-09-21 00:22:47 +03:00
|
|
|
|
|
|
|
[nginx.conf]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|