# https://editorconfig.org/

root = true

[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

[*.py]
max_line_length = 88
ensure_newline_before_comments = true
include_trailing_comma = true
use_parentheses = true

# Use 2 spaces for the HTML files
[*.html]
indent_size = 2

# The JSON files contain newlines inconsistently
[*.json]
indent_size = 2
insert_final_newline = false

[*.yaml]
indent_size = 2

[*.yml]
indent_size = 2

[*.rst]
indent_size = 3
