Commit Graph

5 Commits

Author SHA1 Message Date
Cassie Jones
71a3ca8921 Merge pull request #82713 from porglezomp-misc/python-editorconfig 2025-07-02 08:53:54 -07:00
Cassie Jones
1b0f32e454 Adjust .editorconfig for Python
The Python in the repo is written with 4-space indentation (as is
standard for Python). Adjust the editorconfig to be consistent with that
standard.
2025-07-02 03:49:56 -07:00
Hamish Knight
88cf79aebd [.editorconfig] Remove trim_trailing_whitespace
Forcing this to be `false` is unhelpful for editors
that allow incremental removal of trailing whitespace
as you edit, such as Xcode. For now, avoid enforcing
the setting, leaving it up to individual editor
configurations. This restores the behavior prior to
the addition of the `.editorconfig`.
2025-02-19 22:25:00 +00:00
Pavel Yaskevich
fafa700994 [.editorconfig] Don't trim trailing whitespace
There is so much of it everywhere that opening any file
in the project ends up creating large diffs which have
nothing to do with the changes, test files are especially
affected by this.
2025-01-29 00:32:37 -08:00
Max Desiatov
0c7e7f3457 Add .editorconfig (#78087)
This sets indentation following established precedent. The file itself is identical to the one used by the `swift-syntax` repository.
2024-12-10 13:56:00 -08:00