# Editor defaults, so a contributor's IDE agrees with `rhiza-task fmt` before it runs
# rather than after. ruff owns Python formatting and markdownlint owns the docs; this file
# only settles what an editor decides on its own -- line endings, trailing whitespace, the
# final newline, and indent width per file type.
#
# The upstream copy carries a `[{Makefile,*.mk,*.make}]` tab stanza. It is dropped here:
# this repository ships no Makefile and no make fragments, deliberately, because this
# package is what replaces that layer. See CLAUDE.md.
root = true

# Default settings for all files
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8

# Python, reStructuredText, and text files
[*.{py,rst,txt}]
indent_style = space
indent_size = 4

# YAML, JSON, and other config files
[*.{yml,yaml,json}]
indent_style = space
indent_size = 2
