summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Andrea <william.j.andrea@gmail.com>2021-11-22 23:46:25 -0500
committerGitHub <noreply@github.com>2021-11-22 23:46:25 -0500
commitb8bb460dae1935420149e92317cae55d3b3c2f99 (patch)
tree2167e3a2a328ae336add34184216ce448627d618
parentf6ba11080c3909aa6fb4e0b62524b8e403a63eef (diff)
downloadpep8-b8bb460dae1935420149e92317cae55d3b3c2f99.tar.gz
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
-rw-r--r--docs/intro.rst2
1 files changed, 1 insertions, 1 deletions
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 '(' |