mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-22 11:07:57 +01:00
6dae6e5d07
This: - updates the pre-commit configuration and setup.py testing dependencies - updates isort/flake8 configuration for black - adds black linting to Makefile and CircleCI configuration - updates editorconfig with the new line length (88) for py files - updates python guidelines in docs
28 lines
363 B
INI
28 lines
363 B
INI
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
indent_style = space
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.py]
|
|
charset = utf-8
|
|
indent_size = 4
|
|
max_line_length = 88
|
|
|
|
[*.js]
|
|
charset = utf-8
|
|
|
|
[*.{html,rst,md}]
|
|
indent_size = 4
|
|
|
|
[*.{js,ts,tsx,json,yml,yaml,css,scss}]
|
|
indent_size = 2
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|