diff --git a/setup.cfg b/setup.cfg index adb234ef3..86612b955 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,12 @@ [flake8] ; Rules we don’t really need: +; E226: missing whitespace around binary operator ; E501: line too long +; W503: line break before binary operator +; W504: line break after binary operator ; SQLAlchemy: ; E711: comparison to None should be ‘if cond is None:’ -ignore = E501,E711 +ignore = E226,E501,E711,W503,W504 exclude = .git, @@ -13,7 +16,7 @@ exclude = static, weasyl-apidocs, weasyl-env, - templates/* + templates/*, [tool:pytest] addopts = -ra diff --git a/templates/modcontrol/suspenduser.html b/templates/modcontrol/suspenduser.html index 1b32ac0fa..b289da3da 100644 --- a/templates/modcontrol/suspenduser.html +++ b/templates/modcontrol/suspenduser.html @@ -1,4 +1,4 @@ -$def with (templates, json_templates) +$def with (templates) $:{RENDER("common/stage_title.html", ["User Suspensions", "Moderator Control Panel", "/modcontrol"])}
@@ -70,7 +70,7 @@

Release User