瀏覽代碼

style(linting): increase max-line-length to 176

The max-line-length configuration was increased to 176 in both .flake8 and pyproject.toml files to allow for longer lines of code.
master
lanvent 1 年之前
父節點
當前提交
eaf4e9174f
共有 2 個文件被更改,包括 9 次插入1 次删除
  1. +1
    -1
      .flake8
  2. +8
    -0
      pyproject.toml

+ 1
- 1
.flake8 查看文件

@@ -1,5 +1,5 @@
[flake8]
max-line-length = 88
max-line-length = 176
select = E303,W293,W291,W292,E305,E231,E302
exclude =
.tox,


+ 8
- 0
pyproject.toml 查看文件

@@ -0,0 +1,8 @@
[tool.black]
line-length = 176
target-version = ['py37']
include = '\.pyi?$'
extend-exclude = '.+/(dist|.venv|venv|build|lib)/.+'

[tool.isort]
profile = "black"

Loading…
取消
儲存