From 435456e4111a497917a77a3dbb270bc74d8382fc Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 12 Oct 2023 08:40:55 -0400 Subject: [PATCH] test: let black handle line lengths How can it be that telling everyone to use 80 means that black allows 88 and then pylint and pycodestyle complain!? --- pylintrc | 2 +- setup.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pylintrc b/pylintrc index e2e7059..d9d342d 100644 --- a/pylintrc +++ b/pylintrc @@ -6,7 +6,6 @@ load-plugins = pylint_pytest [MESSAGES CONTROL] enable = blacklisted-name, - line-too-long, syntax-error, init-is-generator, @@ -183,6 +182,7 @@ enable = deprecated-pragma, disable = invalid-name, + line-too-long, file-ignored, bad-indentation, unused-wildcard-import, diff --git a/setup.cfg b/setup.cfg index 084a664..ce9af44 100644 --- a/setup.cfg +++ b/setup.cfg @@ -110,10 +110,10 @@ max-line-length = 80 [pycodestyle] exclude = .git,.tox -max-line-length = 80 ; E203 = whitespace before ':' +; E501 line too long ; W503 line break before binary operator -ignore = E203,W503 +ignore = E203,E501,W503 [pydocstyle] ; D105 = Missing docstring in magic method