From be42136d9958126c336ef8bafef9ac38d130f0db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=98=B8?= <😸@43-1.org> Date: Tue, 22 Sep 2020 21:15:16 +0200 Subject: [PATCH] flake8: we want line breaks before binary operators This is recommended by PEP 8. Also remove some warnings that are no longer raised. Reference: https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator --- setup.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 6c7205b2..2bf78773 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,8 @@ ignore = E122, # line too long E501, + # project choice; PEP 8 recommends line breaks before binary operators: + W503, # Ignore all flake8 errors for now. Whoever wants to fixup our code (PLEASE), # remove one, fixup all occurences, submit a merge request... E123, @@ -26,6 +28,3 @@ ignore = F812, F821, F841, - W291, - W293, - W503 -- GitLab