From eaf4e9174fb46ec70d565a4ef5ebf84f68dc441b Mon Sep 17 00:00:00 2001 From: lanvent Date: Sat, 22 Apr 2023 11:59:12 +0800 Subject: [PATCH] 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. --- .flake8 | 2 +- pyproject.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/.flake8 b/.flake8 index c614a63..0af19c5 100644 --- a/.flake8 +++ b/.flake8 @@ -1,5 +1,5 @@ [flake8] -max-line-length = 88 +max-line-length = 176 select = E303,W293,W291,W292,E305,E231,E302 exclude = .tox, diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..abdab57 --- /dev/null +++ b/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" \ No newline at end of file