mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-26 17:36:27 +00:00
Apply correct editorconfig to .pyi files (#14526)
The current configuration might cause some editors to misbehave when editing stub files.
This commit is contained in:
parent
9cae44f49e
commit
9b4cb1e2ed
|
@ -4,7 +4,7 @@
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
# 4 space indentation
|
# 4 space indentation
|
||||||
[*.py]
|
[*.{py,pyi}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
max_line_length = 88
|
max_line_length = 88
|
||||||
|
|
1
changelog.d/14526.misc
Normal file
1
changelog.d/14526.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Extend editorconfig rules on indent and line length to `.pyi` files.
|
Loading…
Reference in a new issue