# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# https://editorconfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

# Set default charset
# 4 space indentation
[*.py]
max_line_length = 88

# Indendation for json, yml, yaml, and toml
[*.{json,yml,yaml,toml}]
indent_size = 2

# Documentation
[*.rst]
trim_trailing_whitespace = false

# Markdown files
[*.md]
trim_trailing_whitespace = false

# Tab indentation (no size specified)
[Makefile]
indent_style = tab
