From b8bb460dae1935420149e92317cae55d3b3c2f99 Mon Sep 17 00:00:00 2001 From: William Andrea Date: Mon, 22 Nov 2021 23:46:25 -0500 Subject: docs: E203 also applies to comma and semicolon Per PEP8, "Avoid extraneous whitespace ... Immediately before a comma, semicolon, or colon". https://www.python.org/dev/peps/pep-0008/#pet-peeves --- docs/intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro.rst b/docs/intro.rst index 7fbf654..ffc5fc3 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -264,7 +264,7 @@ This is the current list of error and warning codes: +------------+----------------------------------------------------------------------+ | E202 | whitespace before ')' | +------------+----------------------------------------------------------------------+ -| E203 | whitespace before ':' | +| E203 | whitespace before ',', ';', or ':' | +------------+----------------------------------------------------------------------+ +------------+----------------------------------------------------------------------+ | E211 | whitespace before '(' | -- cgit v1.2.1