From 69a7dc594aa8d080deb1f7d13107002638d6714c Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Thu, 3 Oct 2019 12:13:02 +0300 Subject: [PATCH] Ignore deprecated flake8 W503 --- setup.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 3236eed1..a4e0547c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,14 +1,17 @@ # Since there is overlap in the violations that the different tools check for, it makes sense to quiesce some warnings # in some tools if those warnings in other tools are preferred. This avoids the need to add duplicate lint warnings. +# max-line-length should be removed ASAP! + [pycodestyle] max-line-length = 119 [flake8] max-line-length = 119 -ignore = E722,F841 +ignore = E722,F841,W503 # E722: pylint is preferred for bare-except # F841: pylint is preferred for unused-variable +# W503: deprecated: https://bugs.python.org/issue26763 - https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator # pylint honours the [MESSAGES CONTROL] section # as well as [MASTER] section