mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 18:15:53 +03: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
2 changed files with 2 additions and 1 deletions
|
@ -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