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.
This commit is contained in:
lanvent
2023-04-22 11:59:12 +08:00
parent 4af2c7f3d7
commit eaf4e9174f
2 changed files with 9 additions and 1 deletions

View File

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

8
pyproject.toml Normal file
View File

@@ -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"