0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 10:58:52 +01:00
wagtail/.editorconfig
Dan Braghis 6dae6e5d07 Add and configure black
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
2022-02-15 13:06:17 +00:00

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