Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Apply correct editorconfig to .pyi files (#14526)
Browse files Browse the repository at this point in the history
The current configuration might cause some editors to misbehave when editing stub files.
  • Loading branch information
babolivier authored and H-Shay committed Dec 13, 2022
1 parent 9a4aea1 commit 56f8fea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
root = true

# 4 space indentation
[*.py]
[*.{py,pyi}]
indent_style = space
indent_size = 4
max_line_length = 88
1 change: 1 addition & 0 deletions changelog.d/14526.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Extend editorconfig rules on indent and line length to `.pyi` files.

0 comments on commit 56f8fea

Please sign in to comment.