From 6a700690d73d7dc5edaabe15b7632461f1544d06 Mon Sep 17 00:00:00 2001 From: Davide Casale Date: Mon, 26 Feb 2024 19:56:59 +0100 Subject: [PATCH] Configure flake8 tool with some custom options. --- dev-requirements.txt | Bin 274 -> 380 bytes pyproject.toml | 7 ++++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 53d49eb09199b12077385d0c1b882d6b1c75a88b..b0c0355be5d804c2fd7be167c3f83556ee67034d 100644 GIT binary patch delta 111 zcmbQl^oMD}wTYLMCVo&#N@K`jNMy)nNM*2K&}B$sC}l_olBqzkA_iL^G-5De&;ycs k3}y_x3|tJT>I)bu847?Z^BJ;$dXgDRzK`#wTZXnCQC8$Oy*z|0sun91?m6* diff --git a/pyproject.toml b/pyproject.toml index 405d894..db770cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,4 +4,9 @@ profile = "black" [tool.black] target-version = ["py38", "py39", "py310", "py311"] -preview = true \ No newline at end of file +preview = true + +[tool.flake8] +max-line-length = 88 +extend-select = "B950" +extend-ignore = ["E203", "E501", "E701"]