From 65e13f6b61ac423373fc0509ad1be1620ad24c05 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 16 Sep 2021 19:15:52 +0200 Subject: [PATCH] Ignore flake8 rule W503 By default, flake8 currently complains both when breaking before (W503) and after (W504) a binary operator. A choice needs to be made! Best practice evolved, around 2016, from breaking after to breaking before a binary operator. Therefore ignore W503. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index d46869cad79..c9daa625910 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,4 +3,4 @@ addopts = --cov=codespell_lib --showlocals -rs --cov-report= [flake8] exclude = build, ci-helpers -ignore = +ignore = W503