Pārlūkot izejas kodu

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.
lanvent 3 gadi atpakaļ
vecāks
revīzija
eaf4e9174f
2 mainītis faili ar 9 papildinājumiem un 1 dzēšanām
  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"