# EditorConfig helps maintain consistent coding styles across various editors
# https://editorconfig.org/

root = true

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

# Python files
[*.py]
indent_size = 4

# YAML files
[*.{yml,yaml}]
indent_size = 2

# Markdown files
[*.md]
trim_trailing_whitespace = false

# Documentation
[docs/**/*.rst]
indent_size = 4

# Configuration files
[*.{toml,ini}]
indent_size = 4

# Makefile requires tabs
[Makefile]
indent_style = tab
