Closed
Description
Our documentation should follow the PEP-8 standard, but for historical reasons there are many formats that don't. We should fix them now.
This issue is to fix the format of doc/source/cookbook.rst
. To find the errors, first is required to install a newer version of flake8-rst
:
conda install -c conda-forge flake8-rst=0.5.0
Then, all the errors can be obtained with:
$ flake8-rst doc/source/cookbook.rst
doc/source/cookbook.rst:973:42: E231 missing whitespace after ','
doc/source/cookbook.rst:975:32: C408 Unnecessary dict call - rewrite as a literal.
doc/source/cookbook.rst:975:41: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:975:43: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:975:57: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:975:59: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:975:72: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:975:74: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:986:44: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:986:50: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:986:59: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:986:63: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:986:70: E231 missing whitespace after ','
doc/source/cookbook.rst:990:65: E231 missing whitespace after ','
doc/source/cookbook.rst:990:76: E231 missing whitespace after ','
doc/source/cookbook.rst:990:86: E231 missing whitespace after ','
doc/source/cookbook.rst:990:93: E501 line too long (80 > 79 characters)
doc/source/cookbook.rst:1270:9: E305 expected 2 blank lines after class or function definition, found 1
doc/source/cookbook.rst:12:4: F401 'random' imported but unused
doc/source/cookbook.rst:20:31: E225 missing whitespace around operator
doc/source/cookbook.rst:22:4: E402 module level import not at top of file
doc/source/cookbook.rst:22:4: F401 'matplotlib' imported but unused
doc/source/cookbook.rst:60:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:60:15: E203 whitespace before ':'
doc/source/cookbook.rst:60:20: E231 missing whitespace after ','
doc/source/cookbook.rst:60:22: E231 missing whitespace after ','
doc/source/cookbook.rst:60:24: E231 missing whitespace after ','
doc/source/cookbook.rst:60:34: E203 whitespace before ':'
doc/source/cookbook.rst:60:40: E231 missing whitespace after ','
doc/source/cookbook.rst:60:43: E231 missing whitespace after ','
doc/source/cookbook.rst:60:46: E231 missing whitespace after ','
doc/source/cookbook.rst:60:50: E231 missing whitespace after ','
doc/source/cookbook.rst:60:56: E203 whitespace before ':'
doc/source/cookbook.rst:60:63: E231 missing whitespace after ','
doc/source/cookbook.rst:60:66: E231 missing whitespace after ','
doc/source/cookbook.rst:60:70: E231 missing whitespace after ','
doc/source/cookbook.rst:60:77: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:69:22: E231 missing whitespace after ','
doc/source/cookbook.rst:69:34: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:75:22: E231 missing whitespace after ','
doc/source/cookbook.rst:75:29: E231 missing whitespace after ','
doc/source/cookbook.rst:75:43: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:81:21: E231 missing whitespace after ','
doc/source/cookbook.rst:81:28: E231 missing whitespace after ','
doc/source/cookbook.rst:81:43: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:87:33: E203 whitespace before ':'
doc/source/cookbook.rst:87:53: E203 whitespace before ':'
doc/source/cookbook.rst:87:67: E231 missing whitespace after ','
doc/source/cookbook.rst:87:73: E203 whitespace before ':'
doc/source/cookbook.rst:87:81: E231 missing whitespace after ','
doc/source/cookbook.rst:87:83: E501 line too long (90 > 79 characters)
doc/source/cookbook.rst:88:20: E231 missing whitespace after ','
doc/source/cookbook.rst:96:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:96:15: E203 whitespace before ':'
doc/source/cookbook.rst:96:20: E231 missing whitespace after ','
doc/source/cookbook.rst:96:22: E231 missing whitespace after ','
doc/source/cookbook.rst:96:24: E231 missing whitespace after ','
doc/source/cookbook.rst:96:34: E203 whitespace before ':'
doc/source/cookbook.rst:96:40: E231 missing whitespace after ','
doc/source/cookbook.rst:96:43: E231 missing whitespace after ','
doc/source/cookbook.rst:96:46: E231 missing whitespace after ','
doc/source/cookbook.rst:96:50: E231 missing whitespace after ','
doc/source/cookbook.rst:96:56: E203 whitespace before ':'
doc/source/cookbook.rst:96:63: E231 missing whitespace after ','
doc/source/cookbook.rst:96:66: E231 missing whitespace after ','
doc/source/cookbook.rst:96:70: E231 missing whitespace after ','
doc/source/cookbook.rst:96:77: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:98:40: E231 missing whitespace after ','
doc/source/cookbook.rst:98:47: E231 missing whitespace after ','
doc/source/cookbook.rst:98:54: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:109:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:109:15: E203 whitespace before ':'
doc/source/cookbook.rst:109:20: E231 missing whitespace after ','
doc/source/cookbook.rst:109:22: E231 missing whitespace after ','
doc/source/cookbook.rst:109:24: E231 missing whitespace after ','
doc/source/cookbook.rst:109:34: E203 whitespace before ':'
doc/source/cookbook.rst:109:40: E231 missing whitespace after ','
doc/source/cookbook.rst:109:43: E231 missing whitespace after ','
doc/source/cookbook.rst:109:46: E231 missing whitespace after ','
doc/source/cookbook.rst:109:50: E231 missing whitespace after ','
doc/source/cookbook.rst:109:56: E203 whitespace before ':'
doc/source/cookbook.rst:109:63: E231 missing whitespace after ','
doc/source/cookbook.rst:109:66: E231 missing whitespace after ','
doc/source/cookbook.rst:109:70: E231 missing whitespace after ','
doc/source/cookbook.rst:109:77: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:111:27: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:112:27: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:123:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:123:15: E203 whitespace before ':'
doc/source/cookbook.rst:123:20: E231 missing whitespace after ','
doc/source/cookbook.rst:123:22: E231 missing whitespace after ','
doc/source/cookbook.rst:123:24: E231 missing whitespace after ','
doc/source/cookbook.rst:123:34: E203 whitespace before ':'
doc/source/cookbook.rst:123:40: E231 missing whitespace after ','
doc/source/cookbook.rst:123:43: E231 missing whitespace after ','
doc/source/cookbook.rst:123:46: E231 missing whitespace after ','
doc/source/cookbook.rst:123:50: E231 missing whitespace after ','
doc/source/cookbook.rst:123:56: E203 whitespace before ':'
doc/source/cookbook.rst:123:63: E231 missing whitespace after ','
doc/source/cookbook.rst:123:66: E231 missing whitespace after ','
doc/source/cookbook.rst:123:70: E231 missing whitespace after ','
doc/source/cookbook.rst:123:77: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:129:68: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:135:68: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:141:61: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:149:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:149:15: E203 whitespace before ':'
doc/source/cookbook.rst:149:20: E231 missing whitespace after ','
doc/source/cookbook.rst:149:22: E231 missing whitespace after ','
doc/source/cookbook.rst:149:24: E231 missing whitespace after ','
doc/source/cookbook.rst:149:34: E203 whitespace before ':'
doc/source/cookbook.rst:149:40: E231 missing whitespace after ','
doc/source/cookbook.rst:149:43: E231 missing whitespace after ','
doc/source/cookbook.rst:149:46: E231 missing whitespace after ','
doc/source/cookbook.rst:149:50: E231 missing whitespace after ','
doc/source/cookbook.rst:149:56: E203 whitespace before ':'
doc/source/cookbook.rst:149:63: E231 missing whitespace after ','
doc/source/cookbook.rst:149:66: E231 missing whitespace after ','
doc/source/cookbook.rst:149:70: E231 missing whitespace after ','
doc/source/cookbook.rst:149:77: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:152:18: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:160:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:160:15: E203 whitespace before ':'
doc/source/cookbook.rst:160:20: E231 missing whitespace after ','
doc/source/cookbook.rst:160:22: E231 missing whitespace after ','
doc/source/cookbook.rst:160:24: E231 missing whitespace after ','
doc/source/cookbook.rst:160:34: E203 whitespace before ':'
doc/source/cookbook.rst:160:40: E231 missing whitespace after ','
doc/source/cookbook.rst:160:43: E231 missing whitespace after ','
doc/source/cookbook.rst:160:46: E231 missing whitespace after ','
doc/source/cookbook.rst:160:50: E231 missing whitespace after ','
doc/source/cookbook.rst:160:56: E203 whitespace before ':'
doc/source/cookbook.rst:160:63: E231 missing whitespace after ','
doc/source/cookbook.rst:160:66: E231 missing whitespace after ','
doc/source/cookbook.rst:160:70: E231 missing whitespace after ','
doc/source/cookbook.rst:160:77: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:176:21: E231 missing whitespace after ','
doc/source/cookbook.rst:176:27: E231 missing whitespace after ','
doc/source/cookbook.rst:177:39: E231 missing whitespace after ','
doc/source/cookbook.rst:197:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:197:15: E203 whitespace before ':'
doc/source/cookbook.rst:197:20: E231 missing whitespace after ','
doc/source/cookbook.rst:197:22: E231 missing whitespace after ','
doc/source/cookbook.rst:197:24: E231 missing whitespace after ','
doc/source/cookbook.rst:197:34: E203 whitespace before ':'
doc/source/cookbook.rst:197:40: E231 missing whitespace after ','
doc/source/cookbook.rst:197:43: E231 missing whitespace after ','
doc/source/cookbook.rst:197:46: E231 missing whitespace after ','
doc/source/cookbook.rst:197:50: E231 missing whitespace after ','
doc/source/cookbook.rst:197:56: E203 whitespace before ':'
doc/source/cookbook.rst:197:63: E231 missing whitespace after ','
doc/source/cookbook.rst:197:66: E231 missing whitespace after ','
doc/source/cookbook.rst:197:70: E231 missing whitespace after ','
doc/source/cookbook.rst:197:77: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:199:40: E231 missing whitespace after ','
doc/source/cookbook.rst:199:42: E231 missing whitespace after ','
doc/source/cookbook.rst:206:17: E203 whitespace before ':'
doc/source/cookbook.rst:206:22: E231 missing whitespace after ','
doc/source/cookbook.rst:206:24: E231 missing whitespace after ','
doc/source/cookbook.rst:206:26: E231 missing whitespace after ','
doc/source/cookbook.rst:206:36: E203 whitespace before ':'
doc/source/cookbook.rst:206:42: E231 missing whitespace after ','
doc/source/cookbook.rst:206:45: E231 missing whitespace after ','
doc/source/cookbook.rst:206:48: E231 missing whitespace after ','
doc/source/cookbook.rst:206:52: E231 missing whitespace after ','
doc/source/cookbook.rst:206:58: E203 whitespace before ':'
doc/source/cookbook.rst:206:65: E231 missing whitespace after ','
doc/source/cookbook.rst:206:68: E231 missing whitespace after ','
doc/source/cookbook.rst:206:72: E231 missing whitespace after ','
doc/source/cookbook.rst:207:31: E231 missing whitespace after ','
doc/source/cookbook.rst:207:44: E231 missing whitespace after ','
doc/source/cookbook.rst:207:50: E231 missing whitespace after ','
doc/source/cookbook.rst:207:56: E231 missing whitespace after ','
doc/source/cookbook.rst:207:64: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:216:16: E261 at least two spaces before inline comment
doc/source/cookbook.rst:216:17: E262 inline comment should start with '# '
doc/source/cookbook.rst:218:23: E261 at least two spaces before inline comment
doc/source/cookbook.rst:218:24: E262 inline comment should start with '# '
doc/source/cookbook.rst:228:32: E231 missing whitespace after ','
doc/source/cookbook.rst:228:41: E231 missing whitespace after ','
doc/source/cookbook.rst:228:43: E231 missing whitespace after ','
doc/source/cookbook.rst:228:45: E231 missing whitespace after ','
doc/source/cookbook.rst:228:49: E703 statement ends with a semicolon
doc/source/cookbook.rst:228:50: E261 at least two spaces before inline comment
doc/source/cookbook.rst:228:51: E262 inline comment should start with '# '
doc/source/cookbook.rst:230:17: E261 at least two spaces before inline comment
doc/source/cookbook.rst:230:18: E262 inline comment should start with '# '
doc/source/cookbook.rst:232:16: E261 at least two spaces before inline comment
doc/source/cookbook.rst:232:17: E262 inline comment should start with '# '
doc/source/cookbook.rst:240:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:240:15: E203 whitespace before ':'
doc/source/cookbook.rst:240:20: E231 missing whitespace after ','
doc/source/cookbook.rst:240:22: E231 missing whitespace after ','
doc/source/cookbook.rst:240:24: E231 missing whitespace after ','
doc/source/cookbook.rst:240:34: E203 whitespace before ':'
doc/source/cookbook.rst:240:40: E231 missing whitespace after ','
doc/source/cookbook.rst:240:43: E231 missing whitespace after ','
doc/source/cookbook.rst:240:46: E231 missing whitespace after ','
doc/source/cookbook.rst:240:57: E203 whitespace before ':'
doc/source/cookbook.rst:240:64: E231 missing whitespace after ','
doc/source/cookbook.rst:240:67: E231 missing whitespace after ','
doc/source/cookbook.rst:240:71: E231 missing whitespace after ','
doc/source/cookbook.rst:240:78: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:242:42: E231 missing whitespace after ','
doc/source/cookbook.rst:242:44: E231 missing whitespace after ','
doc/source/cookbook.rst:252:34: E231 missing whitespace after ','
doc/source/cookbook.rst:252:46: E231 missing whitespace after ','
doc/source/cookbook.rst:254:15: E231 missing whitespace after ','
doc/source/cookbook.rst:254:19: E231 missing whitespace after ','
doc/source/cookbook.rst:254:23: E231 missing whitespace after ','
doc/source/cookbook.rst:255:83: E501 line too long (107 > 79 characters)
doc/source/cookbook.rst:257:24: E231 missing whitespace after ':'
doc/source/cookbook.rst:257:28: E231 missing whitespace after ','
doc/source/cookbook.rst:257:34: E231 missing whitespace after ':'
doc/source/cookbook.rst:257:38: E231 missing whitespace after ','
doc/source/cookbook.rst:257:44: E231 missing whitespace after ':'
doc/source/cookbook.rst:257:50: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:257:50: E231 missing whitespace after ';'
doc/source/cookbook.rst:259:12: E231 missing whitespace after ','
doc/source/cookbook.rst:259:14: E231 missing whitespace after ','
doc/source/cookbook.rst:259:51: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:259:51: E231 missing whitespace after ';'
doc/source/cookbook.rst:273:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:273:15: E203 whitespace before ':'
doc/source/cookbook.rst:273:20: E231 missing whitespace after ','
doc/source/cookbook.rst:273:22: E231 missing whitespace after ','
doc/source/cookbook.rst:273:24: E231 missing whitespace after ','
doc/source/cookbook.rst:273:34: E203 whitespace before ':'
doc/source/cookbook.rst:273:39: E231 missing whitespace after ','
doc/source/cookbook.rst:273:41: E231 missing whitespace after ','
doc/source/cookbook.rst:273:43: E231 missing whitespace after ','
doc/source/cookbook.rst:273:53: E203 whitespace before ':'
doc/source/cookbook.rst:273:58: E231 missing whitespace after ','
doc/source/cookbook.rst:273:60: E231 missing whitespace after ','
doc/source/cookbook.rst:273:62: E231 missing whitespace after ','
doc/source/cookbook.rst:273:67: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:275:28: E261 at least two spaces before inline comment
doc/source/cookbook.rst:277:19: E203 whitespace before ':'
doc/source/cookbook.rst:277:32: E203 whitespace before ':'
doc/source/cookbook.rst:277:44: E203 whitespace before ':'
doc/source/cookbook.rst:277:56: E202 whitespace before '}'
doc/source/cookbook.rst:279:59: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:279:59: E231 missing whitespace after ';'
doc/source/cookbook.rst:287:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:287:15: E203 whitespace before ':'
doc/source/cookbook.rst:287:20: E231 missing whitespace after ','
doc/source/cookbook.rst:287:22: E231 missing whitespace after ','
doc/source/cookbook.rst:287:24: E231 missing whitespace after ','
doc/source/cookbook.rst:287:26: E231 missing whitespace after ','
doc/source/cookbook.rst:287:28: E231 missing whitespace after ','
doc/source/cookbook.rst:287:30: E231 missing whitespace after ','
doc/source/cookbook.rst:287:32: E231 missing whitespace after ','
doc/source/cookbook.rst:287:42: E203 whitespace before ':'
doc/source/cookbook.rst:287:47: E231 missing whitespace after ','
doc/source/cookbook.rst:287:49: E231 missing whitespace after ','
doc/source/cookbook.rst:287:51: E231 missing whitespace after ','
doc/source/cookbook.rst:287:53: E231 missing whitespace after ','
doc/source/cookbook.rst:287:55: E231 missing whitespace after ','
doc/source/cookbook.rst:287:57: E231 missing whitespace after ','
doc/source/cookbook.rst:287:59: E231 missing whitespace after ','
doc/source/cookbook.rst:287:64: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:315:28: E203 whitespace before ':'
doc/source/cookbook.rst:315:33: E231 missing whitespace after ','
doc/source/cookbook.rst:315:35: E231 missing whitespace after ','
doc/source/cookbook.rst:316:30: E203 whitespace before ':'
doc/source/cookbook.rst:316:37: E231 missing whitespace after ','
doc/source/cookbook.rst:316:41: E231 missing whitespace after ','
doc/source/cookbook.rst:317:30: E203 whitespace before ':'
doc/source/cookbook.rst:317:37: E231 missing whitespace after ','
doc/source/cookbook.rst:317:41: E231 missing whitespace after ','
doc/source/cookbook.rst:318:30: E203 whitespace before ':'
doc/source/cookbook.rst:318:38: E231 missing whitespace after ','
doc/source/cookbook.rst:318:43: E231 missing whitespace after ','
doc/source/cookbook.rst:319:30: E203 whitespace before ':'
doc/source/cookbook.rst:319:38: E231 missing whitespace after ','
doc/source/cookbook.rst:319:43: E231 missing whitespace after ','
doc/source/cookbook.rst:319:51: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:322:28: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:322:28: E231 missing whitespace after ';'
doc/source/cookbook.rst:324:83: E501 line too long (84 > 79 characters)
doc/source/cookbook.rst:324:85: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:324:85: E231 missing whitespace after ';'
doc/source/cookbook.rst:326:35: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:326:35: E231 missing whitespace after ';'
doc/source/cookbook.rst:328:26: E231 missing whitespace after ','
doc/source/cookbook.rst:328:34: E231 missing whitespace after ','
doc/source/cookbook.rst:328:43: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:328:43: E231 missing whitespace after ';'
doc/source/cookbook.rst:338:38: E201 whitespace after '['
doc/source/cookbook.rst:338:41: E231 missing whitespace after ','
doc/source/cookbook.rst:338:58: E231 missing whitespace after ','
doc/source/cookbook.rst:338:62: E231 missing whitespace after ','
doc/source/cookbook.rst:338:81: E231 missing whitespace after ','
doc/source/cookbook.rst:338:83: E501 line too long (84 > 79 characters)
doc/source/cookbook.rst:339:39: E231 missing whitespace after ','
doc/source/cookbook.rst:339:42: E231 missing whitespace after ','
doc/source/cookbook.rst:339:53: E231 missing whitespace after ','
doc/source/cookbook.rst:339:58: E231 missing whitespace after ','
doc/source/cookbook.rst:339:72: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:340:23: E231 missing whitespace after ','
doc/source/cookbook.rst:340:32: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:350:19: E231 missing whitespace after ','
doc/source/cookbook.rst:350:26: E231 missing whitespace after ','
doc/source/cookbook.rst:350:32: E231 missing whitespace after ','
doc/source/cookbook.rst:350:39: E231 missing whitespace after ','
doc/source/cookbook.rst:350:45: E231 missing whitespace after ','
doc/source/cookbook.rst:350:52: E231 missing whitespace after ','
doc/source/cookbook.rst:350:58: E231 missing whitespace after ','
doc/source/cookbook.rst:350:65: E231 missing whitespace after ','
doc/source/cookbook.rst:350:71: E231 missing whitespace after ','
doc/source/cookbook.rst:352:25: E231 missing whitespace after ','
doc/source/cookbook.rst:352:28: E231 missing whitespace after ','
doc/source/cookbook.rst:352:31: E231 missing whitespace after ','
doc/source/cookbook.rst:352:34: E231 missing whitespace after ','
doc/source/cookbook.rst:352:38: E231 missing whitespace after ','
doc/source/cookbook.rst:352:44: E231 missing whitespace after ','
doc/source/cookbook.rst:352:56: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:358:14: E231 missing whitespace after ','
doc/source/cookbook.rst:358:22: E231 missing whitespace after ','
doc/source/cookbook.rst:358:32: E262 inline comment should start with '# '
doc/source/cookbook.rst:358:83: E501 line too long (84 > 79 characters)
doc/source/cookbook.rst:364:15: E231 missing whitespace after ','
doc/source/cookbook.rst:364:23: E231 missing whitespace after ','
doc/source/cookbook.rst:371:41: E231 missing whitespace after ','
doc/source/cookbook.rst:371:49: E231 missing whitespace after ','
doc/source/cookbook.rst:371:59: E231 missing whitespace after ','
doc/source/cookbook.rst:371:67: E231 missing whitespace after ','
doc/source/cookbook.rst:371:74: E231 missing whitespace after ','
doc/source/cookbook.rst:372:43: E231 missing whitespace after ','
doc/source/cookbook.rst:372:51: E231 missing whitespace after ','
doc/source/cookbook.rst:372:56: E231 missing whitespace after ','
doc/source/cookbook.rst:374:42: E231 missing whitespace after ','
doc/source/cookbook.rst:374:59: E231 missing whitespace after ','
doc/source/cookbook.rst:375:43: E261 at least two spaces before inline comment
doc/source/cookbook.rst:375:44: E262 inline comment should start with '# '
doc/source/cookbook.rst:377:15: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:377:17: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:377:19: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:377:22: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:377:25: E228 missing whitespace around modulo operator
doc/source/cookbook.rst:379:26: E231 missing whitespace after ','
doc/source/cookbook.rst:379:31: E231 missing whitespace after ','
doc/source/cookbook.rst:379:37: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:384:15: E231 missing whitespace after ','
doc/source/cookbook.rst:384:23: E231 missing whitespace after ','
doc/source/cookbook.rst:385:23: E231 missing whitespace after ','
doc/source/cookbook.rst:385:32: E231 missing whitespace after ','
doc/source/cookbook.rst:385:40: E231 missing whitespace after ','
doc/source/cookbook.rst:386:15: E231 missing whitespace after ','
doc/source/cookbook.rst:386:23: E231 missing whitespace after ','
doc/source/cookbook.rst:387:15: E231 missing whitespace after ','
doc/source/cookbook.rst:387:23: E231 missing whitespace after ','
doc/source/cookbook.rst:387:28: E231 missing whitespace after ','
doc/source/cookbook.rst:425:39: E231 missing whitespace after ','
doc/source/cookbook.rst:425:83: E501 line too long (114 > 79 characters)
doc/source/cookbook.rst:456:30: E203 whitespace before ':'
doc/source/cookbook.rst:456:59: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:458:4: E265 block comment should start with '# '
doc/source/cookbook.rst:476:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:476:19: E222 multiple spaces after operator
doc/source/cookbook.rst:477:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:478:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:479:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:480:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:480:28: E231 missing whitespace after ','
doc/source/cookbook.rst:480:39: E231 missing whitespace after ','
doc/source/cookbook.rst:491:45: E231 missing whitespace after ','
doc/source/cookbook.rst:493:16: E231 missing whitespace after ','
doc/source/cookbook.rst:494:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:497:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:497:37: E231 missing whitespace after ','
doc/source/cookbook.rst:497:39: E231 missing whitespace after ','
doc/source/cookbook.rst:507:26: E203 whitespace before ':'
doc/source/cookbook.rst:507:46: E203 whitespace before ':'
doc/source/cookbook.rst:538:42: E231 missing whitespace after ','
doc/source/cookbook.rst:538:53: E231 missing whitespace after ','
doc/source/cookbook.rst:539:23: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:539:25: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:539:48: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:539:50: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:542:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:543:10: E111 indentation is not a multiple of four
doc/source/cookbook.rst:544:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:546:17: E203 whitespace before ':'
doc/source/cookbook.rst:546:34: E203 whitespace before ':'
doc/source/cookbook.rst:546:53: E203 whitespace before ':'
doc/source/cookbook.rst:556:52: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:566:7: E121 continuation line under-indented for hanging indent
doc/source/cookbook.rst:568:8: E131 continuation line unaligned for hanging indent
doc/source/cookbook.rst:569:51: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:578:29: E231 missing whitespace after ':'
doc/source/cookbook.rst:578:38: E231 missing whitespace after ','
doc/source/cookbook.rst:578:46: E231 missing whitespace after ','
doc/source/cookbook.rst:578:53: E231 missing whitespace after ','
doc/source/cookbook.rst:578:60: E231 missing whitespace after ','
doc/source/cookbook.rst:579:32: E231 missing whitespace after ':'
doc/source/cookbook.rst:579:40: E231 missing whitespace after ','
doc/source/cookbook.rst:579:46: E231 missing whitespace after ','
doc/source/cookbook.rst:579:53: E231 missing whitespace after ','
doc/source/cookbook.rst:579:60: E231 missing whitespace after ','
doc/source/cookbook.rst:580:27: E231 missing whitespace after ':'
doc/source/cookbook.rst:616:34: E203 whitespace before ':'
doc/source/cookbook.rst:616:41: E231 missing whitespace after ','
doc/source/cookbook.rst:616:45: E231 missing whitespace after ','
doc/source/cookbook.rst:616:49: E231 missing whitespace after ','
doc/source/cookbook.rst:616:53: E231 missing whitespace after ','
doc/source/cookbook.rst:616:57: E231 missing whitespace after ','
doc/source/cookbook.rst:616:61: E231 missing whitespace after ','
doc/source/cookbook.rst:616:65: E231 missing whitespace after ','
doc/source/cookbook.rst:616:69: E231 missing whitespace after ','
doc/source/cookbook.rst:617:34: E203 whitespace before ':'
doc/source/cookbook.rst:619:33: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:619:45: E225 missing whitespace around operator
doc/source/cookbook.rst:619:78: E231 missing whitespace after ','
doc/source/cookbook.rst:619:83: E501 line too long (105 > 79 characters)
doc/source/cookbook.rst:636:38: E203 whitespace before ':'
doc/source/cookbook.rst:636:46: E231 missing whitespace after ','
doc/source/cookbook.rst:636:51: E231 missing whitespace after ','
doc/source/cookbook.rst:636:56: E231 missing whitespace after ','
doc/source/cookbook.rst:636:61: E231 missing whitespace after ','
doc/source/cookbook.rst:636:66: E231 missing whitespace after ','
doc/source/cookbook.rst:636:71: E231 missing whitespace after ','
doc/source/cookbook.rst:637:29: E127 continuation line over-indented for visual indent
doc/source/cookbook.rst:637:35: E203 whitespace before ':'
doc/source/cookbook.rst:637:48: E231 missing whitespace after ','
doc/source/cookbook.rst:637:59: E231 missing whitespace after ','
doc/source/cookbook.rst:637:71: E231 missing whitespace after ','
doc/source/cookbook.rst:637:81: E231 missing whitespace after ','
doc/source/cookbook.rst:637:83: E501 line too long (111 > 79 characters)
doc/source/cookbook.rst:637:92: E231 missing whitespace after ','
doc/source/cookbook.rst:637:103: E231 missing whitespace after ','
doc/source/cookbook.rst:638:36: E203 whitespace before ':'
doc/source/cookbook.rst:638:42: E231 missing whitespace after ','
doc/source/cookbook.rst:638:44: E231 missing whitespace after ','
doc/source/cookbook.rst:638:47: E231 missing whitespace after ','
doc/source/cookbook.rst:638:49: E231 missing whitespace after ','
doc/source/cookbook.rst:638:51: E231 missing whitespace after ','
doc/source/cookbook.rst:638:53: E231 missing whitespace after ','
doc/source/cookbook.rst:639:29: E231 missing whitespace after ','
doc/source/cookbook.rst:639:46: E231 missing whitespace after ','
doc/source/cookbook.rst:639:65: E231 missing whitespace after ','
doc/source/cookbook.rst:639:82: E231 missing whitespace after ','
doc/source/cookbook.rst:639:83: E501 line too long (107 > 79 characters)
doc/source/cookbook.rst:639:97: E231 missing whitespace after ','
doc/source/cookbook.rst:647:16: E231 missing whitespace after ','
doc/source/cookbook.rst:647:19: E231 missing whitespace after ','
doc/source/cookbook.rst:647:22: E231 missing whitespace after ','
doc/source/cookbook.rst:647:25: E231 missing whitespace after ','
doc/source/cookbook.rst:647:28: E231 missing whitespace after ','
doc/source/cookbook.rst:647:31: E231 missing whitespace after ','
doc/source/cookbook.rst:647:34: E231 missing whitespace after ','
doc/source/cookbook.rst:647:37: E231 missing whitespace after ','
doc/source/cookbook.rst:647:40: E231 missing whitespace after ','
doc/source/cookbook.rst:648:22: E201 whitespace after '('
doc/source/cookbook.rst:649:32: E203 whitespace before ':'
doc/source/cookbook.rst:649:83: E501 line too long (82 > 79 characters)
doc/source/cookbook.rst:650:43: E231 missing whitespace after ','
doc/source/cookbook.rst:650:50: E231 missing whitespace after ','
doc/source/cookbook.rst:650:57: E231 missing whitespace after ','
doc/source/cookbook.rst:650:64: E231 missing whitespace after ','
doc/source/cookbook.rst:650:71: E231 missing whitespace after ','
doc/source/cookbook.rst:650:78: E231 missing whitespace after ','
doc/source/cookbook.rst:650:83: E501 line too long (104 > 79 characters)
doc/source/cookbook.rst:650:85: E231 missing whitespace after ','
doc/source/cookbook.rst:650:92: E231 missing whitespace after ','
doc/source/cookbook.rst:650:99: E231 missing whitespace after ','
doc/source/cookbook.rst:651:83: E501 line too long (122 > 79 characters)
doc/source/cookbook.rst:652:46: E231 missing whitespace after ','
doc/source/cookbook.rst:652:52: E231 missing whitespace after ','
doc/source/cookbook.rst:652:58: E231 missing whitespace after ','
doc/source/cookbook.rst:652:64: E231 missing whitespace after ','
doc/source/cookbook.rst:652:69: E231 missing whitespace after ','
doc/source/cookbook.rst:652:75: E231 missing whitespace after ','
doc/source/cookbook.rst:652:81: E231 missing whitespace after ','
doc/source/cookbook.rst:652:83: E501 line too long (97 > 79 characters)
doc/source/cookbook.rst:652:87: E231 missing whitespace after ','
doc/source/cookbook.rst:652:93: E231 missing whitespace after ','
doc/source/cookbook.rst:654:41: E231 missing whitespace after ','
doc/source/cookbook.rst:654:46: E231 missing whitespace after ','
doc/source/cookbook.rst:654:51: E231 missing whitespace after ','
doc/source/cookbook.rst:654:57: E231 missing whitespace after ','
doc/source/cookbook.rst:654:63: E231 missing whitespace after ','
doc/source/cookbook.rst:654:69: E231 missing whitespace after ','
doc/source/cookbook.rst:654:75: E231 missing whitespace after ','
doc/source/cookbook.rst:654:80: E231 missing whitespace after ','
doc/source/cookbook.rst:654:83: E501 line too long (89 > 79 characters)
doc/source/cookbook.rst:654:85: E231 missing whitespace after ','
doc/source/cookbook.rst:658:24: E128 continuation line under-indented for visual indent
doc/source/cookbook.rst:659:24: E128 continuation line under-indented for visual indent
doc/source/cookbook.rst:659:34: E203 whitespace before ':'
doc/source/cookbook.rst:659:45: E203 whitespace before ':'
doc/source/cookbook.rst:660:24: E128 continuation line under-indented for visual indent
doc/source/cookbook.rst:660:31: E203 whitespace before ':'
doc/source/cookbook.rst:660:42: E203 whitespace before ':'
doc/source/cookbook.rst:683:31: E203 whitespace before ':'
doc/source/cookbook.rst:683:37: E231 missing whitespace after ','
doc/source/cookbook.rst:683:39: E231 missing whitespace after ','
doc/source/cookbook.rst:683:41: E231 missing whitespace after ','
doc/source/cookbook.rst:683:45: E231 missing whitespace after ','
doc/source/cookbook.rst:683:50: E231 missing whitespace after ','
doc/source/cookbook.rst:683:55: E231 missing whitespace after ','
doc/source/cookbook.rst:683:59: E231 missing whitespace after ','
doc/source/cookbook.rst:683:62: E231 missing whitespace after ','
doc/source/cookbook.rst:683:72: E203 whitespace before ':'
doc/source/cookbook.rst:683:80: E231 missing whitespace after ','
doc/source/cookbook.rst:683:83: E501 line too long (131 > 79 characters)
doc/source/cookbook.rst:683:84: E231 missing whitespace after ','
doc/source/cookbook.rst:683:89: E231 missing whitespace after ','
doc/source/cookbook.rst:683:95: E231 missing whitespace after ','
doc/source/cookbook.rst:683:101: E231 missing whitespace after ','
doc/source/cookbook.rst:683:111: E231 missing whitespace after ','
doc/source/cookbook.rst:683:122: E231 missing whitespace after ','
doc/source/cookbook.rst:683:127: E231 missing whitespace after ','
doc/source/cookbook.rst:686:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:688:24: C404 Unnecessary list comprehension - rewrite as a dict comprehension.
doc/source/cookbook.rst:688:30: E201 whitespace after '['
doc/source/cookbook.rst:688:35: E231 missing whitespace after ','
doc/source/cookbook.rst:688:73: E231 missing whitespace after ','
doc/source/cookbook.rst:688:83: E501 line too long (94 > 79 characters)
doc/source/cookbook.rst:688:94: E202 whitespace before ']'
doc/source/cookbook.rst:697:47: E231 missing whitespace after ','
doc/source/cookbook.rst:697:50: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:698:54: E231 missing whitespace after ','
doc/source/cookbook.rst:699:34: E231 missing whitespace after ','
doc/source/cookbook.rst:699:40: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:701:14: E231 missing whitespace after ','
doc/source/cookbook.rst:702:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:702:20: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:702:27: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:702:41: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:702:44: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:703:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:703:27: E231 missing whitespace after ','
doc/source/cookbook.rst:705:18: C404 Unnecessary list comprehension - rewrite as a dict comprehension.
doc/source/cookbook.rst:705:24: E201 whitespace after '['
doc/source/cookbook.rst:705:43: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:705:46: E231 missing whitespace after ','
doc/source/cookbook.rst:705:54: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:705:58: E231 missing whitespace after ','
doc/source/cookbook.rst:705:83: E501 line too long (91 > 79 characters)
doc/source/cookbook.rst:705:84: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:705:88: E202 whitespace before ']'
doc/source/cookbook.rst:705:92: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:714:29: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:714:31: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:714:44: E231 missing whitespace after ','
doc/source/cookbook.rst:714:52: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:714:54: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:715:29: E203 whitespace before ':'
doc/source/cookbook.rst:716:30: E203 whitespace before ':'
doc/source/cookbook.rst:717:31: E203 whitespace before ':'
doc/source/cookbook.rst:717:55: E231 missing whitespace after ','
doc/source/cookbook.rst:717:60: E231 missing whitespace after ','
doc/source/cookbook.rst:717:83: E501 line too long (83 > 79 characters)
doc/source/cookbook.rst:717:83: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:719:4: E704 multiple statements on one line (def)
doc/source/cookbook.rst:719:39: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:719:58: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:721:19: E201 whitespace after '['
doc/source/cookbook.rst:721:47: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:721:75: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:721:83: E501 line too long (117 > 79 characters)
doc/source/cookbook.rst:721:109: E226 missing whitespace around arithmetic operator
doc/source/cookbook.rst:721:117: E202 whitespace before ']'
doc/source/cookbook.rst:721:120: E703 statement ends with a semicolon
doc/source/cookbook.rst:809:23: E231 missing whitespace after ','
doc/source/cookbook.rst:809:42: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:816:34: E203 whitespace before ':'
doc/source/cookbook.rst:817:34: E203 whitespace before ':'
doc/source/cookbook.rst:818:36: E203 whitespace before ':'
doc/source/cookbook.rst:819:34: E203 whitespace before ':'
doc/source/cookbook.rst:819:57: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:819:57: E231 missing whitespace after ';'
doc/source/cookbook.rst:823:44: E231 missing whitespace after ','
doc/source/cookbook.rst:823:80: E231 missing whitespace after ','
doc/source/cookbook.rst:823:83: E501 line too long (108 > 79 characters)
doc/source/cookbook.rst:823:90: E231 missing whitespace after ','
doc/source/cookbook.rst:823:105: E231 missing whitespace after ','
doc/source/cookbook.rst:874:9: E126 continuation line over-indented for hanging indent
doc/source/cookbook.rst:954:5: E402 module level import not at top of file
doc/source/cookbook.rst:1035:54: E231 missing whitespace after ','
doc/source/cookbook.rst:1036:13: E128 continuation line under-indented for visual indent
doc/source/cookbook.rst:1141:39: E231 missing whitespace after ','
doc/source/cookbook.rst:1143:18: E231 missing whitespace after ','
doc/source/cookbook.rst:1146:48: C408 Unnecessary dict call - rewrite as a literal.
doc/source/cookbook.rst:1146:54: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:1146:56: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:1288:5: E221 multiple spaces before operator
doc/source/cookbook.rst:1294:30: E231 missing whitespace after ','
doc/source/cookbook.rst:1294:32: E231 missing whitespace after ','
doc/source/cookbook.rst:1294:34: E231 missing whitespace after ','
doc/source/cookbook.rst:1294:36: E231 missing whitespace after ','
doc/source/cookbook.rst:1298:26: E231 missing whitespace after ','
doc/source/cookbook.rst:1298:28: E231 missing whitespace after ','
doc/source/cookbook.rst:1298:30: E231 missing whitespace after ','
doc/source/cookbook.rst:1298:32: E231 missing whitespace after ','
doc/source/cookbook.rst:1307:24: E201 whitespace after '['
doc/source/cookbook.rst:1307:69: E202 whitespace before ']'
doc/source/cookbook.rst:1309:22: C408 Unnecessary dict call - rewrite as a literal.
doc/source/cookbook.rst:1309:28: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:1309:30: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:1309:35: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:1309:37: E251 unexpected spaces around keyword / parameter equals
doc/source/cookbook.rst:1309:46: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:1311:39: E703 statement ends with a semicolon
doc/source/cookbook.rst:1313:43: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:1324:21: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:1326:17: E702 multiple statements on one line (semicolon)
doc/source/cookbook.rst:1336:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1337:10: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1338:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1343:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1344:10: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1345:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1345:34: E231 missing whitespace after ','
doc/source/cookbook.rst:1349:31: E231 missing whitespace after ','
doc/source/cookbook.rst:1350:40: E231 missing whitespace after ','
doc/source/cookbook.rst:1350:43: E231 missing whitespace after ','
doc/source/cookbook.rst:1350:57: E231 missing whitespace after ','
doc/source/cookbook.rst:1350:63: E231 missing whitespace after ','
doc/source/cookbook.rst:1350:75: E231 missing whitespace after ','
doc/source/cookbook.rst:1350:80: E231 missing whitespace after ','
doc/source/cookbook.rst:1350:83: E501 line too long (83 > 79 characters)
doc/source/cookbook.rst:1352:33: E231 missing whitespace after ','
doc/source/cookbook.rst:1365:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1366:7: E111 indentation is not a multiple of four
doc/source/cookbook.rst:1369:7: E121 continuation line under-indented for hanging indent
After fixing this issue, the previous command should not report any error.