2018-12-01 16:56:58 +00:00
|
|
|
# EditorConfig: http://EditorConfig.org
|
|
|
|
|
|
|
|
|
|
root = true
|
|
|
|
|
|
|
|
|
|
[*]
|
|
|
|
|
indent_style = tab
|
|
|
|
|
indent_size = 2
|
|
|
|
|
insert_final_newline = true
|
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
|
end_of_line = lf
|
|
|
|
|
charset = utf-8
|
|
|
|
|
max_line_length = 79
|
|
|
|
|
|
|
|
|
|
[{*.html,*.css,*.js}]
|
|
|
|
|
max_line_length = off
|
|
|
|
|
|
|
|
|
|
[*.py]
|
|
|
|
|
indent_size = 4
|
|
|
|
|
indent_style = space
|
|
|
|
|
|
2022-02-27 09:33:59 -08:00
|
|
|
[*.{yml,yaml}]
|
2018-12-30 17:31:13 +00:00
|
|
|
indent_style = space
|
|
|
|
|
|
2022-02-16 00:12:08 +01:00
|
|
|
[*.rst]
|
|
|
|
|
indent_style = space
|
|
|
|
|
|
2022-03-07 13:53:35 -08:00
|
|
|
[*.md]
|
|
|
|
|
indent_style = space
|
|
|
|
|
|
2018-12-01 16:56:58 +00:00
|
|
|
# Tests don't get a line width restriction. It's still a good idea to follow
|
|
|
|
|
# the 79 character rule, but in the interests of clarity, tests often need to
|
|
|
|
|
# violate it.
|
|
|
|
|
[**/test_*.py]
|
|
|
|
|
max_line_length = off
|
2022-03-26 13:21:17 -07:00
|
|
|
|
2022-04-25 09:15:12 -07:00
|
|
|
[Dockerfile*]
|
2022-03-26 13:21:17 -07:00
|
|
|
indent_style = space
|