瀏覽代碼

editorconfig: add max_line_length for Python files (#13228)

See the documentation for the property here:
https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length

Signed-off-by: Sumner Evans <me@sumnerevans.com>
tags/v1.63.0rc1
Sumner Evans 1 年之前
committed by GitHub
父節點
當前提交
739adf1551
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 2 個檔案被更改,包括 2 行新增0 行删除
  1. +1
    -0
      .editorconfig
  2. +1
    -0
      changelog.d/13228.misc

+ 1
- 0
.editorconfig 查看文件

@@ -7,3 +7,4 @@ root = true
[*.py]
indent_style = space
indent_size = 4
max_line_length = 88

+ 1
- 0
changelog.d/13228.misc 查看文件

@@ -0,0 +1 @@
Add `max_line_length` setting for Python files to the `.editorconfig`. Contributed by @sumnerevans @ Beeper.

Loading…
取消
儲存