# EditorConfig helps maintain consistent coding styles for multiple developers working on the same project
# See https://EditorConfig.org for more information

root = true

# Top-level settings for all files
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Python files
[*.py]
indent_style = space
indent_size = 4

# C/C++ source and header files
[*.{c,cpp,h,hpp,hh,hxx}]
indent_style = space
indent_size = 4

# Makefiles use tabs
[Makefile]
indent_style = tab

# Markdown files
[*.md]
trim_trailing_whitespace = false
