Skip to content

Commit 9b4cb1e

Browse files
authored
Apply correct editorconfig to .pyi files (#14526)
The current configuration might cause some editors to misbehave when editing stub files.
1 parent 9cae44f commit 9b4cb1e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
root = true
55

66
# 4 space indentation
7-
[*.py]
7+
[*.{py,pyi}]
88
indent_style = space
99
indent_size = 4
1010
max_line_length = 88

changelog.d/14526.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Extend editorconfig rules on indent and line length to `.pyi` files.

0 commit comments

Comments
 (0)