From 7c5ce14588f616d47bca35c3e10ee87063cb4c95 Mon Sep 17 00:00:00 2001 From: Stephen Finucane <stephenfin@redhat.com> Date: Wed, 31 May 2023 17:38:10 +0100 Subject: [PATCH] tox: Disable E501 This is more trouble than it's worth now. Black takes care of this for us. I wish I'd decided this before the blackify series :( Change-Id: Idae7a151fa4f24b932a130669fce563e7150278b Signed-off-by: Stephen Finucane <stephenfin@redhat.com> --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 54936d374..60da4bcaa 100644 --- a/tox.ini +++ b/tox.ini @@ -128,13 +128,14 @@ application-import-names = openstack # However, if you feel strongly about it, patches will be accepted to fix them # if they fix ALL of the occurances of one and only one of them. # E203 Black will put spaces after colons in list comprehensions +# E501 Black takes care of line length for us # H238 New Style Classes are the default in Python3 # H301 Black will put commas after imports that can't fit on one line # H4 Are about docstrings and there's just a huge pile of pre-existing issues. # W503 Is supposed to be off by default but in the latest pycodestyle isn't. # Also, both openstacksdk and Donald Knuth disagree with the rule. Line # breaks should occur before the binary operator for readability. -ignore = E203, H301, H238, H4, W503 +ignore = E203, E501, H301, H238, H4, W503 import-order-style = pep8 show-source = True exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,openstack/_services_mixin.py