# Editor defaults, so a contributor's IDE agrees with ruff before anything runs.
root = true

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

# Indentation is set per language rather than globally: prose indents to line up with a list
# marker, which is not a multiple of anything.
[*.py]
indent_style = space
indent_size = 4

[*.{json,yml,yaml,toml}]
indent_style = space
indent_size = 2

[*.md]
# Two trailing spaces are a hard line break in Markdown.
trim_trailing_whitespace = false

[Makefile]
indent_style = tab

# Conformance fixtures are pinned by digest; their bytes are the fixture.
[packages/repro/tests/conformance/cases/**]
insert_final_newline = false
trim_trailing_whitespace = false
