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:
Brendan Abolivier 2022-11-22 18:33:28 +00:00 committed by GitHub
parent 9cae44f49e
commit 9b4cb1e2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1 @@
Extend editorconfig rules on indent and line length to `.pyi` files.