1: D100 Missing docstring in public module
25:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. import cgi should be before import time
26:1: E402 module level import not at top of file
27:1: E402 module level import not at top of file
28:1: I100 Imports statements are in the wrong order. import re should be before import string
28:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. import locale should be before import re
29:1: E402 module level import not at top of file
30:1: I201 Missing newline before sections or imports.
30:1: E402 module level import not at top of file
31:1: I100 Imports statements are in the wrong order. from urllib should be before from six
31:1: I201 Missing newline before sections or imports.
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
34:1: I101 Imported names are in the wrong order. Should be CFG_BASE_URL, CFG_BIBINDEX_CHARS_PUNCTUATION, CFG_BIBRANK_SHOW_CITATION_GRAPHS, CFG_BIBRANK_SHOW_CITATION_STATS, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBRANK_SHOW_DOWNLOAD_STATS, CFG_BIBRANK_SHOW_READING_STATS, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_SITE_ADMIN_EMAIL, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_NAME_INTL, CFG_SITE_RECORD, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_VERSION, CFG_WEBCOMMENT_ALLOW_COMMENTS, CFG_WEBCOMMENT_ALLOW_REVIEWS, CFG_WEBSEARCH_ADVANCEDSEARCH_PATTERN_BOX_WIDTH, CFG_WEBSEARCH_AUTHOR_ET_AL_THRESHOLD, CFG_WEBSEARCH_DEFAULT_SEARCH_INTERFACE, CFG_WEBSEARCH_DEF_RECORDS_IN_GROUPS, CFG_WEBSEARCH_LIGHTSEARCH_PATTERN_BOX_WIDTH, CFG_WEBSEARCH_MAX_RECORDS_IN_GROUPS, CFG_WEBSEARCH_PREV_NEXT_HIT_FOR_GUESTS, CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT, CFG_WEBSEARCH_RESULTS_OVERVIEW_MAX_COLLS_TO_PRINT, CFG_WEBSEARCH_RSS_TTL, CFG_WEBSEARCH_SHOW_COMMENT_COUNT, CFG_WEBSEARCH_SHOW_REVIEW_COUNT, CFG_WEBSEARCH_SIMPLESEARCH_PATTERN_BOX_WIDTH, CFG_WEBSEARCH_SPLIT_BY_COLLECTION, CFG_WEBSEARCH_USE_ALEPH_SYSNOS, CFG_WEBSEARCH_WILDCARD_LIMIT
34:1: F401 'CFG_WEBCOMMENT_ALLOW_REVIEWS' imported but unused
34:1: F401 'CFG_WEBSEARCH_SHOW_REVIEW_COUNT' imported but unused
34:1: F401 'CFG_WEBSEARCH_SHOW_COMMENT_COUNT' imported but unused
34:1: F401 'CFG_WEBSEARCH_DEF_RECORDS_IN_GROUPS' imported but unused
34:1: F401 'CFG_WEBSEARCH_USE_ALEPH_SYSNOS' imported but unused
34:1: F401 'CFG_WEBCOMMENT_ALLOW_COMMENTS' imported but unused
34:1: F401 'CFG_INSPIRE_SITE' imported but unused
34:1: F401 'CFG_WEBSEARCH_RESULTS_OVERVIEW_MAX_COLLS_TO_PRINT' imported but unused
34:1: E402 module level import not at top of file
35:6: E126 continuation line over-indented for hanging indent
70:1: E402 module level import not at top of file
71:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.dbquery
71:1: E402 module level import not at top of file
72:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.base.i18n
72:1: E402 module level import not at top of file
73:1: I101 Imported names are in the wrong order. Should be create_html_link, create_url, drop_default_urlargd, make_canonical_urlargd
73:1: E402 module level import not at top of file
74:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
74:1: E402 module level import not at top of file
75:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.utils.html
75:1: E402 module level import not at top of file
76:1: E402 module level import not at top of file
77:1: E402 module level import not at top of file
79:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.modules.formatter
79:1: F401 'intbitset' imported but unused
79:1: E402 module level import not at top of file
81:1: E402 module level import not at top of file
82:1: E402 module level import not at top of file
83:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch_external_collections.config should be before from invenio.legacy.websearch_external_collections.utils
83:1: E402 module level import not at top of file
84:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.websearch_external_collections.config
84:1: E402 module level import not at top of file
89:1: E302 expected 2 blank lines, found 1
89: D101 Missing docstring in public class
123:34: E261 at least two spaces before inline comment
127: D102 Missing docstring in public method
137:13: E203 whitespace before ':'
140:32: E203 whitespace before ':'
141:32: E203 whitespace before ':'
142:32: E203 whitespace before ':'
143:32: E203 whitespace before ':'
144:32: E203 whitespace before ':'
145:32: E203 whitespace before ':'
146:32: E203 whitespace before ':'
148:32: E203 whitespace before ':'
149:32: E203 whitespace before ':'
150:32: E203 whitespace before ':'
152:32: E203 whitespace before ':'
153:32: E203 whitespace before ':'
154:32: E203 whitespace before ':'
155:32: E203 whitespace before ':'
158:13: E126 continuation line over-indented for hanging indent
158:17: E203 whitespace before ':'
159:20: E203 whitespace before ':'
160:21: E203 whitespace before ':'
161:22: E203 whitespace before ':'
162:21: E203 whitespace before ':'
163:22: E203 whitespace before ':'
164:22: E203 whitespace before ':'
165:19: E203 whitespace before ':'
166:20: E203 whitespace before ':'
167:20: E203 whitespace before ':'
168:19: E203 whitespace before ':'
169:19: E203 whitespace before ':'
170:19: E203 whitespace before ':'
171:20: E203 whitespace before ':'
172:21: E203 whitespace before ':'
173:21: E203 whitespace before ':'
174:21: E203 whitespace before ':'
175:19: E203 whitespace before ':'
176:20: E203 whitespace before ':'
177:20: E203 whitespace before ':'
178:20: E203 whitespace before ':'
179:20: E203 whitespace before ':'
180:21: E203 whitespace before ':'
181:19: E203 whitespace before ':'
182:18: E203 whitespace before ':'
183:22: E203 whitespace before ':'
184:22: E203 whitespace before ':'
185:22: E203 whitespace before ':'
186:26: E203 whitespace before ':'
187:21: E203 whitespace before ':'
188:25: E203 whitespace before ':'
189:24: E203 whitespace before ':'
190:25: E203 whitespace before ':'
191:25: E203 whitespace before ':'
192:23: E203 whitespace before ':'
193:25: E203 whitespace before ':'
194:24: E203 whitespace before ':'
195:24: E203 whitespace before ':'
196:24: E203 whitespace before ':'
197:24: E203 whitespace before ':'
198:28: E203 whitespace before ':'
199:23: E203 whitespace before ':'
200:24: E203 whitespace before ':'
201:25: E203 whitespace before ':'
202:26: E203 whitespace before ':'
203:25: E203 whitespace before ':'
204:26: E203 whitespace before ':'
205:26: E203 whitespace before ':'
206:27: E203 whitespace before ':'
207:21: E203 whitespace before ':'
208:25: E203 whitespace before ':'
209:23: E203 whitespace before ':'
210:24: E203 whitespace before ':'
211:23: E203 whitespace before ':'
212:24: E203 whitespace before ':'
213:24: E203 whitespace before ':'
214:22: E203 whitespace before ':'
215:26: E203 whitespace before ':'
216:23: E203 whitespace before ':'
217:25: E203 whitespace before ':'
218:23: E203 whitespace before ':'
219:25: E203 whitespace before ':'
220:24: E203 whitespace before ':'
221:22: E203 whitespace before ':'
222:26: E203 whitespace before ':'
223:25: E203 whitespace before ':'
224:25: E203 whitespace before ':'
230: D210 No whitespaces allowed surrounding docstring text
230: D400 First line should end with a period (not 'a')
230: D205 1 blank line required between summary line and description (found 0)
237:17: E266 too many leading '#' for block comment
276:17: F841 local variable 'pmid' is assigned to but never used
278:17: F841 local variable 'bibcode' is assigned to but never used
280:17: F841 local variable 'oai' is assigned to but never used
286:9: E266 too many leading '#' for block comment
290:18: E127 continuation line over-indented for visual indent
291:18: E127 continuation line over-indented for visual indent
292:18: E127 continuation line over-indented for visual indent
292:76: E271 multiple spaces after keyword
301:9: E266 too many leading '#' for block comment
303:17: E127 continuation line over-indented for visual indent
304:17: E127 continuation line over-indented for visual indent
305:17: E127 continuation line over-indented for visual indent
306:17: E127 continuation line over-indented for visual indent
313:9: E266 too many leading '#' for block comment
315:18: E127 continuation line over-indented for visual indent
316:18: E127 continuation line over-indented for visual indent
317:18: E127 continuation line over-indented for visual indent
321:13: F841 local variable 'journal_query' is assigned to but never used
323:9: E266 too many leading '#' for block comment
325:16: E127 continuation line over-indented for visual indent
334:9: E266 too many leading '#' for block comment
336:16: E127 continuation line over-indented for visual indent
337:16: E127 continuation line over-indented for visual indent
338:16: E127 continuation line over-indented for visual indent
342:13: F841 local variable 'issn_query' is assigned to but never used
344:9: E266 too many leading '#' for block comment
351:9: E266 too many leading '#' for block comment
352:18: E261 at least two spaces before inline comment
352:19: E262 inline comment should start with '# '
357:9: E266 too many leading '#' for block comment
361:24: E203 whitespace before ':'
362:25: E203 whitespace before ':'
363:25: E203 whitespace before ':'
367:24: E203 whitespace before ':'
368:25: E203 whitespace before ':'
369:25: E203 whitespace before ':'
373:24: E203 whitespace before ':'
374:25: E203 whitespace before ':'
375:25: E203 whitespace before ':'
379:24: E203 whitespace before ':'
380:25: E203 whitespace before ':'
381:25: E203 whitespace before ':'
386:24: E203 whitespace before ':'
387:25: E203 whitespace before ':'
388:25: E203 whitespace before ':'
391:24: E203 whitespace before ':'
392:25: E203 whitespace before ':'
393:25: E203 whitespace before ':'
395:9: E266 too many leading '#' for block comment
398:20: E203 whitespace before ':'
399:21: E203 whitespace before ':'
400:21: E203 whitespace before ':'
403:20: E203 whitespace before ':'
404:21: E203 whitespace before ':'
405:21: E203 whitespace before ':'
407:13: E266 too many leading '#' for block comment
409:25: E126 continuation line over-indented for hanging indent
409:28: E203 whitespace before ':'
410:29: E203 whitespace before ':'
411:29: E203 whitespace before ':'
413: D210 No whitespaces allowed surrounding docstring text
413: D401 First line should be in imperative mood ('Return', not 'Returns')
413: D200 One-line docstring should fit on one line with quotes (found 2)
433:3: E128 continuation line under-indented for visual indent
443: D210 No whitespaces allowed surrounding docstring text
443: D202 No blank lines allowed after function docstring (found 1)
443: D400 First line should end with a period (not 'h')
443: D205 1 blank line required between summary line and description (found 0)
475: D210 No whitespaces allowed surrounding docstring text
475: D202 No blank lines allowed after function docstring (found 1)
499: D202 No blank lines allowed after function docstring (found 1)
499: D400 First line should end with a period (not 'L')
526: D202 No blank lines allowed after function docstring (found 1)
526: D400 First line should end with a period (not 's')
536:17: E127 continuation line over-indented for visual indent
551:5: E303 too many blank lines (2)
551: D401 First line should be in imperative mood ('Create', not 'Creates')
551: D400 First line should end with a period (not ')')
572: D210 No whitespaces allowed surrounding docstring text
572: D401 First line should be in imperative mood ('Create', not 'Creates')
572: D201 No blank lines allowed before function docstring (found 1)
572: D202 No blank lines allowed after function docstring (found 1)
605:20: E126 continuation line over-indented for hanging indent
608:16: E126 continuation line over-indented for hanging indent
614:27: E201 whitespace after '{'
614:42: E203 whitespace before ':'
614:57: E202 whitespace before '}'
621:44: E203 whitespace before ':'
624: D401 First line should be in imperative mood ('Create', not 'Creates')
624: D400 First line should end with a period (not 's')
624: D205 1 blank line required between summary line and description (found 0)
636:38: E203 whitespace before ':'
636:66: E203 whitespace before ':'
640: D401 First line should be in imperative mood ('Produce', not 'Produces')
640: D202 No blank lines allowed after function docstring (found 1)
641:54: E261 at least two spaces before inline comment
670:9: E303 too many blank lines (2)
671:21: E127 continuation line over-indented for visual indent
679:84: E251 unexpected spaces around keyword / parameter equals
683:85: E502 the backslash is redundant between brackets
722:35: E231 missing whitespace after ':'
723:35: E231 missing whitespace after ':'
728:73: E502 the backslash is redundant between brackets
740:87: E502 the backslash is redundant between brackets
774:20: E203 whitespace before ':'
775:29: E203 whitespace before ':'
777:25: E203 whitespace before ':'
778:25: E203 whitespace before ':'
779:24: E203 whitespace before ':'
780:28: E203 whitespace before ':'
781:28: E203 whitespace before ':'
782:33: E203 whitespace before ':'
788: D401 First line should be in imperative mood ('Produce', not 'Produces')
788: D202 No blank lines allowed after function docstring (found 1)
819:9: E303 too many blank lines (2)
820:21: E127 continuation line over-indented for visual indent
851:20: E203 whitespace before ':'
852:29: E203 whitespace before ':'
854:25: E203 whitespace before ':'
855:25: E203 whitespace before ':'
856:24: E203 whitespace before ':'
857:31: E203 whitespace before ':'
858:28: E203 whitespace before ':'
859:28: E203 whitespace before ':'
860:33: E203 whitespace before ':'
864: D401 First line should be in imperative mood ('Produce', not 'Produces')
864: D202 No blank lines allowed after function docstring (found 1)
864: D208 Docstring is over-indented
865:36: E261 at least two spaces before inline comment
916:9: E303 too many blank lines (2)
917:18: E128 continuation line under-indented for visual indent
963:20: E203 whitespace before ':'
964:29: E203 whitespace before ':'
966:25: E203 whitespace before ':'
967:25: E203 whitespace before ':'
968:24: E203 whitespace before ':'
970:29: E203 whitespace before ':'
971:33: E203 whitespace before ':'
972:30: E203 whitespace before ':'
974:29: E203 whitespace before ':'
975:33: E203 whitespace before ':'
976:30: E203 whitespace before ':'
978:29: E203 whitespace before ':'
979:33: E203 whitespace before ':'
981:28: E203 whitespace before ':'
982:28: E203 whitespace before ':'
983:33: E203 whitespace before ':'
1000:24: E126 continuation line over-indented for hanging indent
1000:38: E203 whitespace before ':'
1001:39: E203 whitespace before ':'
1002:22: E126 continuation line over-indented for hanging indent
1047:21: E126 continuation line over-indented for hanging indent
1047:28: E203 whitespace before ':'
1048:28: E203 whitespace before ':'
1050:33: E203 whitespace before ':'
1051:33: E203 whitespace before ':'
1053:31: E203 whitespace before ':'
1054:34: E203 whitespace before ':'
1055:33: E203 whitespace before ':'
1056:34: E203 whitespace before ':'
1057:34: E203 whitespace before ':'
1058:37: E203 whitespace before ':'
1059:36: E203 whitespace before ':'
1060:19: E126 continuation line over-indented for hanging indent
1064:5: E303 too many blank lines (2)
1064: D202 No blank lines allowed after function docstring (found 1)
1064: D400 First line should end with a period (not 'e')
1064: D205 1 blank line required between summary line and description (found 0)
1085:18: E127 continuation line over-indented for visual indent
1091:37: E128 continuation line under-indented for visual indent
1091:42: E261 at least two spaces before inline comment
1092:37: E128 continuation line under-indented for visual indent
1092:43: E261 at least two spaces before inline comment
1093:37: E128 continuation line under-indented for visual indent
1094:37: E128 continuation line under-indented for visual indent
1095:37: E128 continuation line under-indented for visual indent
1099:5: E303 too many blank lines (2)
1099: D401 First line should be in imperative mood ('Create', not 'Creates')
1099: D202 No blank lines allowed after function docstring (found 1)
1151:27: E203 whitespace before ':'
1151:18: E225 missing whitespace around operator
1170:26: E203 whitespace before ':'
1171:16: E203 whitespace before ':'
1172:21: E203 whitespace before ':'
1173:22: E203 whitespace before ':'
1192:14: E225 missing whitespace around operator
1194:24: E203 whitespace before ':'
1195:31: E126 continuation line over-indented for hanging indent
1195:35: E251 unexpected spaces around keyword / parameter equals
1195:37: E251 unexpected spaces around keyword / parameter equals
1196:36: E251 unexpected spaces around keyword / parameter equals
1196:38: E251 unexpected spaces around keyword / parameter equals
1197:33: E251 unexpected spaces around keyword / parameter equals
1197:35: E251 unexpected spaces around keyword / parameter equals
1198:29: E126 continuation line over-indented for hanging indent
1199:24: E203 whitespace before ':'
1200:26: E203 whitespace before ':'
1201:28: E203 whitespace before ':'
1202:28: E203 whitespace before ':'
1207:5: E303 too many blank lines (2)
1207: D401 First line should be in imperative mood ('Return', not 'Returns')
1207: D202 No blank lines allowed after function docstring (found 1)
1207: D208 Docstring is over-indented
1230:22: E203 whitespace before ':'
1231:22: E203 whitespace before ':'
1232:60: E127 continuation line over-indented for visual indent
1232:66: E203 whitespace before ':'
1233:22: E203 whitespace before ':'
1234:60: E127 continuation line over-indented for visual indent
1234:66: E203 whitespace before ':'
1235:22: E203 whitespace before ':'
1236:60: E127 continuation line over-indented for visual indent
1236:66: E203 whitespace before ':'
1237:22: E203 whitespace before ':'
1238:60: E127 continuation line over-indented for visual indent
1238:66: E203 whitespace before ':'
1239:22: E203 whitespace before ':'
1240:60: E127 continuation line over-indented for visual indent
1240:66: E203 whitespace before ':'
1241:15: E124 closing bracket does not match visual indentation
1244: D401 First line should be in imperative mood ('Check', not 'Checks')
1244: D208 Docstring is over-indented
1259: D401 First line should be in imperative mood ('Return', not 'Returns')
1259: D202 No blank lines allowed after function docstring (found 1)
1259: D208 Docstring is over-indented
1281:22: E203 whitespace before ':'
1282:22: E203 whitespace before ':'
1282:66: E203 whitespace before ':'
1283:22: E203 whitespace before ':'
1283:66: E203 whitespace before ':'
1284:22: E203 whitespace before ':'
1284:66: E203 whitespace before ':'
1285:15: E124 closing bracket does not match visual indentation
1288: D401 First line should be in imperative mood ('Produce', not 'Produces')
1288: D208 Docstring is over-indented
1305:17: E126 continuation line over-indented for hanging indent
1305:23: E203 whitespace before ':'
1306:22: E203 whitespace before ':'
1307:22: E203 whitespace before ':'
1308:15: E126 continuation line over-indented for hanging indent
1317:18: E126 continuation line over-indented for hanging indent
1317:24: E203 whitespace before ':'
1318:23: E203 whitespace before ':'
1319:23: E203 whitespace before ':'
1320:16: E126 continuation line over-indented for hanging indent
1322:100: E502 the backslash is redundant between brackets
1323:93: E502 the backslash is redundant between brackets
1332:18: E126 continuation line over-indented for hanging indent
1332:24: E203 whitespace before ':'
1333:23: E203 whitespace before ':'
1334:23: E203 whitespace before ':'
1335:16: E126 continuation line over-indented for hanging indent
1342: D401 First line should be in imperative mood ('Produce', not 'Produces')
1342: D400 First line should end with a period (not 'e')
1342: D205 1 blank line required between summary line and description (found 0)
1342: D208 Docstring is over-indented
1360:22: E201 whitespace after '{'
1363:21: E124 closing bracket does not match visual indentation
1366: D401 First line should be in imperative mood ('Create', not 'Creates')
1366: D201 No blank lines allowed before function docstring (found 1)
1366: D202 No blank lines allowed after function docstring (found 1)
1366: D205 1 blank line required between summary line and description (found 0)
1412:41: E203 whitespace before ':'
1419:21: E201 whitespace after '{'
1424:100: E203 whitespace before ':'
1424:123: E202 whitespace before '}'
1429:122: E203 whitespace before ':'
1429:145: E202 whitespace before '}'
1431:104: E203 whitespace before ':'
1431:127: E202 whitespace before '}'
1435:104: E203 whitespace before ':'
1435:127: E202 whitespace before '}'
1437:118: E203 whitespace before ':'
1437:141: E202 whitespace before '}'
1443:23: E203 whitespace before ':'
1455:29: E201 whitespace after '{'
1455:39: E203 whitespace before ':'
1455:62: E203 whitespace before ':'
1458:76: E201 whitespace after '{'
1458:82: E203 whitespace before ':'
1458:100: E202 whitespace before '}'
1467:32: E203 whitespace before ':'
1474:37: E126 continuation line over-indented for hanging indent
1474:38: E201 whitespace after '{'
1474:48: E203 whitespace before ':'
1474:71: E203 whitespace before ':'
1483: D102 Missing docstring in public method
1510:34: E127 continuation line over-indented for visual indent
1510:35: E201 whitespace after '{'
1520: D202 No blank lines allowed after function docstring (found 1)
1544: D401 First line should be in imperative mood ('Display', not 'Displays')
1544: D202 No blank lines allowed after function docstring (found 1)
1544: D400 First line should end with a period (not 'e')
1559: D401 First line should be in imperative mood ('Display', not 'Displays')
1559: D202 No blank lines allowed after function docstring (found 1)
1559: D400 First line should end with a period (not 'e')
1574: D401 First line should be in imperative mood ('Display', not 'Displays')
1574: D202 No blank lines allowed after function docstring (found 1)
1574: D400 First line should end with a period (not 'e')
1590:5: E303 too many blank lines (2)
1590: D401 First line should be in imperative mood ('Format', not 'Formats')
1590: D202 No blank lines allowed after function docstring (found 1)
1619:17: E122 continuation line missing indentation or outdented
1620:17: E122 continuation line missing indentation or outdented
1633:23: E126 continuation line over-indented for hanging indent
1655:32: E203 whitespace before ':'
1655:73: E203 whitespace before ','
1656:30: E203 whitespace before ':'
1660:5: E303 too many blank lines (2)
1660: D401 First line should be in imperative mood ('Produce', not 'Produces')
1660: D202 No blank lines allowed after function docstring (found 1)
1680:26: E126 continuation line over-indented for hanging indent
1680:36: E203 whitespace before ':'
1681:36: E203 whitespace before ':'
1682:36: E203 whitespace before ':'
1683:24: E126 continuation line over-indented for hanging indent
1687: D401 First line should be in imperative mood ('Produce', not 'Produces')
1687: D400 First line should end with a period (not 'x')
1706:24: E203 whitespace before ':'
1707:20: E203 whitespace before ':'
1717:22: E126 continuation line over-indented for hanging indent
1717:32: E203 whitespace before ':'
1718:32: E203 whitespace before ':'
1719:32: E203 whitespace before ':'
1720:20: E126 continuation line over-indented for hanging indent
1725: D401 First line should be in imperative mood ('Display', not 'Displays')
1725: D202 No blank lines allowed after function docstring (found 1)
1725: D400 First line should end with a period (not 'd')
1750: D401 First line should be in imperative mood ('Display', not 'Displays')
1750: D400 First line should end with a period (not 'd')
1771:22: E126 continuation line over-indented for hanging indent
1771:29: E203 whitespace before ':'
1772:20: E126 continuation line over-indented for hanging indent
1785:76: E203 whitespace before ':'
1787:75: E203 whitespace before ':'
1787:131: E202 whitespace before '}'
1790:22: E126 continuation line over-indented for hanging indent
1790:27: E203 whitespace before ':'
1791:28: E203 whitespace before ':'
1792:20: E126 continuation line over-indented for hanging indent
1795: D401 First line should be in imperative mood ('Display', not 'Displays')
1795: D202 No blank lines allowed after function docstring (found 1)
1795: D400 First line should end with a period (not 'h')
1819: D401 First line should be in imperative mood ('Display', not 'Displays')
1819: D202 No blank lines allowed after function docstring (found 1)
1819: D400 First line should end with a period (not 'x')
1857:26: E261 at least two spaces before inline comment
1880: D401 First line should be in imperative mood ('Display', not 'Displays')
1880: D202 No blank lines allowed after function docstring (found 1)
1880: D400 First line should end with a period (not 'x')
1917:17: E126 continuation line over-indented for hanging indent
1917:23: E203 whitespace before ':'
1918:21: E203 whitespace before ':'
1919:15: E126 continuation line over-indented for hanging indent
1929:26: E203 whitespace before ':'
1952:30: E203 whitespace before ':'
1964:47: E203 whitespace before ':'
1972:22: E128 continuation line under-indented for visual indent
1973:22: E128 continuation line under-indented for visual indent
1974:22: E128 continuation line under-indented for visual indent
1975:22: E128 continuation line under-indented for visual indent
1975:26: E203 whitespace before ':'
1980:22: E128 continuation line under-indented for visual indent
1981:22: E128 continuation line under-indented for visual indent
1982:22: E128 continuation line under-indented for visual indent
1983:22: E128 continuation line under-indented for visual indent
1983:26: E203 whitespace before ':'
1995:23: E128 continuation line under-indented for visual indent
1996:60: E127 continuation line over-indented for visual indent
1997:44: E203 whitespace before ':'
2002: D401 First line should be in imperative mood ('Display', not 'Displays')
2002: D201 No blank lines allowed before function docstring (found 1)
2002: D202 No blank lines allowed after function docstring (found 1)
2002: D400 First line should end with a period (not 'x')
2065:9: E303 too many blank lines (2)
2082:64: E203 whitespace before ':'
2086:25: E203 whitespace before ':'
2100:35: E126 continuation line over-indented for hanging indent
2100:37: E251 unexpected spaces around keyword / parameter equals
2100:39: E251 unexpected spaces around keyword / parameter equals
2101:44: E251 unexpected spaces around keyword / parameter equals
2101:46: E251 unexpected spaces around keyword / parameter equals
2102:43: E251 unexpected spaces around keyword / parameter equals
2102:45: E251 unexpected spaces around keyword / parameter equals
2103:41: E251 unexpected spaces around keyword / parameter equals
2103:43: E251 unexpected spaces around keyword / parameter equals
2104:33: E126 continuation line over-indented for hanging indent
2162:26: E203 whitespace before ':'
2163:30: E203 whitespace before ':'
2164:28: E203 whitespace before ':'
2165:21: E203 whitespace before ':'
2166:32: E203 whitespace before ':'
2167:35: E126 continuation line over-indented for hanging indent
2171:33: E126 continuation line over-indented for hanging indent
2172:15: E131 continuation line unaligned for hanging indent
2172:26: E203 whitespace before ':'
2173:35: E126 continuation line over-indented for hanging indent
2176:33: E126 continuation line over-indented for hanging indent
2177:26: E203 whitespace before ':'
2178:19: E203 whitespace before ':'
2179:30: E203 whitespace before ':'
2180:35: E126 continuation line over-indented for hanging indent
2184:33: E126 continuation line over-indented for hanging indent
2185:26: E203 whitespace before ':'
2186:35: E126 continuation line over-indented for hanging indent
2189:33: E126 continuation line over-indented for hanging indent
2190:26: E203 whitespace before ':'
2191:19: E203 whitespace before ':'
2192:30: E203 whitespace before ':'
2193:35: E126 continuation line over-indented for hanging indent
2197:33: E126 continuation line over-indented for hanging indent
2198:23: E203 whitespace before ':'
2199:23: E203 whitespace before ':'
2200:24: E203 whitespace before ':'
2201:19: E203 whitespace before ':'
2236:15: E121 continuation line under-indented for hanging indent
2246:24: E203 whitespace before ':'
2247:28: E203 whitespace before ':'
2248:18: E203 whitespace before ':'
2249:29: E203 whitespace before ':'
2250:35: E126 continuation line over-indented for hanging indent
2254:33: E126 continuation line over-indented for hanging indent
2255:23: E203 whitespace before ':'
2256:23: E203 whitespace before ':'
2257:24: E203 whitespace before ':'
2258:19: E203 whitespace before ':'
2272:88: E502 the backslash is redundant between brackets
2273:19: E128 continuation line under-indented for visual indent
2274:19: E128 continuation line under-indented for visual indent
2275:19: E128 continuation line under-indented for visual indent
2276:19: E128 continuation line under-indented for visual indent
2293:15: E121 continuation line under-indented for hanging indent
2293:28: E203 whitespace before ':'
2304:24: E203 whitespace before ':'
2305:18: E203 whitespace before ':'
2306:29: E203 whitespace before ':'
2307:35: E126 continuation line over-indented for hanging indent
2311:33: E126 continuation line over-indented for hanging indent
2312:23: E203 whitespace before ':'
2313:23: E203 whitespace before ':'
2314:24: E203 whitespace before ':'
2315:19: E203 whitespace before ':'
2320:9: E266 too many leading '#' for block comment
2346:29: E203 whitespace before ':'
2347:30: E203 whitespace before ':'
2348:27: E203 whitespace before ':'
2349:18: E126 continuation line over-indented for hanging indent
2351:9: E266 too many leading '#' for block comment
2369:25: E126 continuation line over-indented for hanging indent
2369:34: E203 whitespace before ':'
2370:38: E203 whitespace before ':'
2371:29: E203 whitespace before ':'
2372:23: E126 continuation line over-indented for hanging indent
2374:9: E266 too many leading '#' for block comment
2376:17: E261 at least two spaces before inline comment
2378:13: F841 local variable 'cell_6_a' is assigned to but never used
2379:13: F841 local variable 'cell_6_b' is assigned to but never used
2398:25: E126 continuation line over-indented for hanging indent
2398:32: E203 whitespace before ':'
2399:32: E203 whitespace before ':'
2401:32: E203 whitespace before ':'
2402:32: E203 whitespace before ':'
2403:23: E126 continuation line over-indented for hanging indent
2405:9: E266 too many leading '#' for block comment
2411:33: E201 whitespace after '{'
2411:41: E203 whitespace before ':'
2411:53: E203 whitespace before ':'
2441:19: E126 continuation line over-indented for hanging indent
2441:28: E203 whitespace before ':'
2442:32: E203 whitespace before ':'
2443:31: E203 whitespace before ':'
2444:30: E203 whitespace before ':'
2445:30: E203 whitespace before ':'
2446:37: E126 continuation line over-indented for hanging indent
2446:44: E203 whitespace before ':'
2447:43: E203 whitespace before ':'
2448:35: E126 continuation line over-indented for hanging indent
2449:37: E126 continuation line over-indented for hanging indent
2449:44: E203 whitespace before ':'
2450:43: E203 whitespace before ':'
2451:35: E126 continuation line over-indented for hanging indent
2452:30: E203 whitespace before ':'
2453:30: E203 whitespace before ':'
2454:30: E203 whitespace before ':'
2455:37: E126 continuation line over-indented for hanging indent
2455:44: E203 whitespace before ':'
2456:43: E203 whitespace before ':'
2457:35: E126 continuation line over-indented for hanging indent
2458:37: E126 continuation line over-indented for hanging indent
2458:44: E203 whitespace before ':'
2459:43: E203 whitespace before ':'
2460:35: E126 continuation line over-indented for hanging indent
2461:30: E203 whitespace before ':'
2462:35: E126 continuation line over-indented for hanging indent
2466:17: E121 continuation line under-indented for hanging indent
2468:9: E266 too many leading '#' for block comment
2472: D210 No whitespaces allowed surrounding docstring text
2472: D401 First line should be in imperative mood ('Produce', not 'Produces')
2472: D400 First line should end with a period (not 'd')
2472: D300 Use """triple double quotes""" (found '-quotes)
2483:18: E126 continuation line over-indented for hanging indent
2483:24: E203 whitespace before ':'
2484:25: E203 whitespace before ':'
2485:16: E126 continuation line over-indented for hanging indent
2487: D401 First line should be in imperative mood ('Add', not 'Adds')
2487: D209 Multi-line docstring closing quotes should be on a separate line
2487: D202 No blank lines allowed after function docstring (found 1)
2487: D400 First line should end with a period (not 'y')
2487: D205 1 blank line required between summary line and description (found 0)
2496:32: E203 whitespace before ':'
2497:31: E203 whitespace before ':'
2501:40: E203 whitespace before ':'
2501: D400 First line should end with a period (not 'r')
2501: D300 Use """triple double quotes""" (found '-quotes)
2505:38: E203 whitespace before ':'
2505: D400 First line should end with a period (not 'r')
2505: D300 Use """triple double quotes""" (found '-quotes)
2509: D401 First line should be in imperative mood ('Print', not 'Prints')
2509: D201 No blank lines allowed before function docstring (found 1)
2509: D202 No blank lines allowed after function docstring (found 1)
2509: D205 1 blank line required between summary line and description (found 0)
2578:21: E126 continuation line over-indented for hanging indent
2579:30: E203 whitespace before ':'
2582:19: E126 continuation line over-indented for hanging indent
2587:26: E201 whitespace after '{'
2587:36: E203 whitespace before ':'
2587:51: E202 whitespace before '}'
2593:22: E126 continuation line over-indented for hanging indent
2593:34: E203 whitespace before ':'
2594:20: E126 continuation line over-indented for hanging indent
2600:26: E261 at least two spaces before inline comment
2616:17: E124 closing bracket does not match visual indentation
2643:49: E231 missing whitespace after ':'
2647:61: E128 continuation line under-indented for visual indent
2648:61: E128 continuation line under-indented for visual indent
2653:13: E303 too many blank lines (2)
2654:13: F841 local variable 'cc' is assigned to but never used
2655:13: F841 local variable 'sc' is assigned to but never used
2669:22: E126 continuation line over-indented for hanging indent
2669:28: E203 whitespace before ':'
2670:28: E203 whitespace before ':'
2671:20: E126 continuation line over-indented for hanging indent
2682:26: E126 continuation line over-indented for hanging indent
2682:32: E203 whitespace before ':'
2683:24: E126 continuation line over-indented for hanging indent
2690: D401 First line should be in imperative mood ('Print', not 'Prints')
2690: D201 No blank lines allowed before function docstring (found 1)
2690: D202 No blank lines allowed after function docstring (found 1)
2690: D205 1 blank line required between summary line and description (found 0)
2691:32: E128 continuation line under-indented for visual indent
2692:32: E128 continuation line under-indented for visual indent
2693:32: E128 continuation line under-indented for visual indent
2694:32: E128 continuation line under-indented for visual indent
2695:32: E128 continuation line under-indented for visual indent
2696:32: E128 continuation line under-indented for visual indent
2759:21: E126 continuation line over-indented for hanging indent
2760:30: E203 whitespace before ':'
2763:19: E126 continuation line over-indented for hanging indent
2768:26: E201 whitespace after '{'
2768:36: E203 whitespace before ':'
2768:51: E202 whitespace before '}'
2776:26: E126 continuation line over-indented for hanging indent
2776:38: E203 whitespace before ':'
2777:24: E126 continuation line over-indented for hanging indent
2790:26: E261 at least two spaces before inline comment
2806:17: E124 closing bracket does not match visual indentation
2833:49: E231 missing whitespace after ':'
2837:61: E128 continuation line under-indented for visual indent
2838:61: E128 continuation line under-indented for visual indent
2843:13: E303 too many blank lines (2)
2844:13: F841 local variable 'cc' is assigned to but never used
2845:13: F841 local variable 'sc' is assigned to but never used
2859:22: E126 continuation line over-indented for hanging indent
2859:28: E203 whitespace before ':'
2860:28: E203 whitespace before ':'
2861:20: E126 continuation line over-indented for hanging indent
2872:26: E126 continuation line over-indented for hanging indent
2872:32: E203 whitespace before ':'
2873:24: E126 continuation line over-indented for hanging indent
2880: D400 First line should end with a period (not 'g')
2880: D205 1 blank line required between summary line and description (found 0)
2907: D205 1 blank line required between summary line and description (found 0)
2928: D401 First line should be in imperative mood ('Return', not 'Returns')
2928: D400 First line should end with a period (not 't')
2928: D205 1 blank line required between summary line and description (found 0)
2943: D401 First line should be in imperative mood ('Return', not 'Returns')
2943: D400 First line should end with a period (not 't')
2943: D205 1 blank line required between summary line and description (found 0)
2956:15: E271 multiple spaces after keyword
2959:5: E303 too many blank lines (2)
2959: D401 First line should be in imperative mood ('Return', not 'Returns')
2959: D202 No blank lines allowed after function docstring (found 1)
2959: D400 First line should end with a period (not 'e')
2959: D205 1 blank line required between summary line and description (found 0)
2989:9: F841 local variable '_' is assigned to but never used
2992:13: F821 undefined name 'out'
2993:27: E203 whitespace before ':'
2994:27: E203 whitespace before ':'
2995:28: E203 whitespace before ':'
3001: D401 First line should be in imperative mood ('Print', not 'Prints')
3001: D202 No blank lines allowed after function docstring (found 1)
3041:21: E126 continuation line over-indented for hanging indent
3041:146: E502 the backslash is redundant between brackets
3041:29: E203 whitespace before ':'
3046:19: E126 continuation line over-indented for hanging indent
3053:25: E126 continuation line over-indented for hanging indent
3053:89: E502 the backslash is redundant between brackets
3053:33: E203 whitespace before ':'
3056:23: E126 continuation line over-indented for hanging indent
3061:25: E126 continuation line over-indented for hanging indent
3061:159: E502 the backslash is redundant between brackets
3061:33: E203 whitespace before ':'
3066:23: E126 continuation line over-indented for hanging indent
3090:39: E127 continuation line over-indented for visual indent
3090:51: E203 whitespace before ':'
3091:46: E203 whitespace before ':'
3092:51: E203 whitespace before ':'
3093:48: E203 whitespace before ':'
3100:39: E127 continuation line over-indented for visual indent
3100:51: E203 whitespace before ':'
3101:46: E203 whitespace before ':'
3102:51: E203 whitespace before ':'
3103:48: E203 whitespace before ':'
3111:162: E251 unexpected spaces around keyword / parameter equals
3111:164: E251 unexpected spaces around keyword / parameter equals
3111: D202 No blank lines allowed after function docstring (found 1)
3111: D200 One-line docstring should fit on one line with quotes (found 2)
3120:13: F841 local variable 'db_id' is assigned to but never used
3160: D401 First line should be in imperative mood ('Print', not 'Prints')
3160: D400 First line should end with a period (not 't')
3171:9: F841 local variable '_' is assigned to but never used
3174:9: E303 too many blank lines (2)
3197:32: E203 whitespace before ':'
3199:26: E203 whitespace before ':'
3200:33: E203 whitespace before ':'
3204: D210 No whitespaces allowed surrounding docstring text
3204: D400 First line should end with a period (not 's')
3213:5: E303 too many blank lines (2)
3213: D202 No blank lines allowed after function docstring (found 1)
3213: D400 First line should end with a period (not 's')
3244:31: E203 whitespace before ':'
3251: D202 No blank lines allowed after function docstring (found 1)
3251: D400 First line should end with a period (not 's')
3265:17: E126 continuation line over-indented for hanging indent
3265:26: E203 whitespace before ':'
3266:15: E126 continuation line over-indented for hanging indent
3273:37: E126 continuation line over-indented for hanging indent
3276:69: E231 missing whitespace after ':'
3277:29: E203 whitespace before ':'
3283: D401 First line should be in imperative mood ('Display', not 'Displays')
3283: D400 First line should end with a period (not 'd')
3296:18: E127 continuation line over-indented for visual indent
3305:65: E126 continuation line over-indented for hanging indent
3326:37: E126 continuation line over-indented for hanging indent
3371: D202 No blank lines allowed after function docstring (found 1)
3371: D205 1 blank line required between summary line and description (found 0)
3371: D208 Docstring is over-indented
3400:16: E201 whitespace after '{'
3400:43: E202 whitespace before '}'
3405:23: E203 whitespace before ':'
3411: D401 First line should be in imperative mood ('Display', not 'Displays')
3411: D400 First line should end with a period (not 'y')
3425:18: E127 continuation line over-indented for visual indent
3447:9: E266 too many leading '#' for block comment
3450:18: E126 continuation line over-indented for hanging indent
3461: D401 First line should be in imperative mood ('Display', not 'Displays')
3461: D400 First line should end with a period (not 'y')
3475: D401 First line should be in imperative mood ('Create', not 'Creates')
3525:49: E502 the backslash is redundant between brackets
3526:34: E127 continuation line over-indented for visual indent
3527:51: E502 the backslash is redundant between brackets
3529:43: E502 the backslash is redundant between brackets
3531:45: E502 the backslash is redundant between brackets
3532:30: E128 continuation line under-indented for visual indent
3533:43: E502 the backslash is redundant between brackets
3535:47: E502 the backslash is redundant between brackets
3536:30: E128 continuation line under-indented for visual indent
3537:41: E502 the backslash is redundant between brackets
3538:30: E128 continuation line under-indented for visual indent
3539:42: E502 the backslash is redundant between brackets
3540:30: E128 continuation line under-indented for visual indent
3544:9: E124 closing bracket does not match visual indentation
3547: D401 First line should be in imperative mood ('Create', not 'Creates')
3554: D401 First line should be in imperative mood ('Create', not 'Creates')
3571:5: W191 indentation contains tabs
3571:5: E101 indentation contains mixed spaces and tabs
3576:1: W191 indentation contains tabs
3576:1: E101 indentation contains mixed spaces and tabs
3577:1: E101 indentation contains mixed spaces and tabs
3595:49: E502 the backslash is redundant between brackets
3596:34: E127 continuation line over-indented for visual indent
3597:51: E502 the backslash is redundant between brackets
3599:43: E502 the backslash is redundant between brackets
3601:45: E502 the backslash is redundant between brackets
3602:30: E128 continuation line under-indented for visual indent
3603:43: E502 the backslash is redundant between brackets
3605:17: E127 continuation line over-indented for visual indent
3610: D401 First line should be in imperative mood ('Create', not 'Creates')
3616: D401 First line should be in imperative mood ('Create', not 'Creates')
3621: D401 First line should be in imperative mood ('Create', not 'Creates')
3626: D401 First line should be in imperative mood ('Create', not 'Creates')
3631: D401 First line should be in imperative mood ('Create', not 'Creates')
3636: D401 First line should be in imperative mood ('Create', not 'Creates')
3641: D401 First line should be in imperative mood ('Create', not 'Creates')
3646: D401 First line should be in imperative mood ('Create', not 'Creates')
3651: D401 First line should be in imperative mood ('Create', not 'Creates')
3656: D401 First line should be in imperative mood ('Create', not 'Creates')
3661: D401 First line should be in imperative mood ('Create', not 'Creates')
3666: D401 First line should be in imperative mood ('Create', not 'Creates')
3673: D401 First line should be in imperative mood ('Create', not 'Creates')
3678: D401 First line should be in imperative mood ('Create', not 'Creates')
3678: D400 First line should end with a period (not ')')
3683: D401 First line should be in imperative mood ('Create', not 'Creates')
3683: D400 First line should end with a period (not ')')
3688: D200 One-line docstring should fit on one line with quotes (found 3)
3696: D200 One-line docstring should fit on one line with quotes (found 3)
3704:22: E201 whitespace after '{'
3711: D202 No blank lines allowed after function docstring (found 1)
3735:25: E126 continuation line over-indented for hanging indent
3741:25: E126 continuation line over-indented for hanging indent
3749:17: E126 continuation line over-indented for hanging indent
3749:26: E203 whitespace before ':'
3753: D401 First line should be in imperative mood ('Return', not 'Returns')
3753: D400 First line should end with a period (not 'd')
3773:9: F841 local variable '_' is assigned to but never used
3775:9: E266 too many leading '#' for block comment
3780: D401 First line should be in imperative mood ('Display', not 'Displays')
3780: D202 No blank lines allowed after function docstring (found 1)
3780: D400 First line should end with a period (not 's')
3780: D205 1 blank line required between summary line and description (found 0)
3815:25: E126 continuation line over-indented for hanging indent
3840:25: E126 continuation line over-indented for hanging indent
3850:33: E126 continuation line over-indented for hanging indent
3853:41: E128 continuation line under-indented for visual indent
3855:41: E128 continuation line under-indented for visual indent
3862:33: E126 continuation line over-indented for hanging indent
3863:45: E128 continuation line under-indented for visual indent
3865:45: E128 continuation line under-indented for visual indent
3877:33: E126 continuation line over-indented for hanging indent
3878:45: E128 continuation line under-indented for visual indent
3881:45: E128 continuation line under-indented for visual indent
3885:45: E128 continuation line under-indented for visual indent
3887:45: E128 continuation line under-indented for visual indent
3890:21: E126 continuation line over-indented for hanging indent
3893: D401 First line should be in imperative mood ('Display', not 'Displays')
3906:9: F841 local variable '_' is assigned to but never used
3956:18: E127 continuation line over-indented for visual indent
3959:48: E222 multiple spaces after operator
3967:5: E303 too many blank lines (2)
3967: D401 First line should be in imperative mood ('Return', not 'Returns')
3967: D400 First line should end with a period (not 'd')
3991:71: E211 whitespace before '('
3998:28: E201 whitespace after '{'
3999:30: E127 continuation line over-indented for visual indent
4001:30: E124 closing bracket does not match visual indentation
4007:68: E211 whitespace before '('
4015: D401 First line should be in imperative mood ('Return', not 'Returns')
4015: D202 No blank lines allowed after function docstring (found 1)
4015: D400 First line should end with a period (not 'd')
4028: D401 First line should be in imperative mood ('Return', not 'Returns')
4028: D202 No blank lines allowed after function docstring (found 1)
4028: D400 First line should end with a period (not 'd')
4041: D401 First line should be in imperative mood ('Return', not 'Returns')
4041: D400 First line should end with a period (not 'e')
4070:17: E122 continuation line missing indentation or outdented
4070:69: E261 at least two spaces before inline comment
4070:70: E262 inline comment should start with '# '
4076:39: E126 continuation line over-indented for hanging indent
4080: D401 First line should be in imperative mood ('Return', not 'Returns')
4080: D400 First line should end with a period (not 'd')
4081:63: E127 continuation line over-indented for visual indent
4094:9: F841 local variable '_' is assigned to but never used
4109: D401 First line should be in imperative mood ('Return', not 'Returns')
4109: D400 First line should end with a period (not 'd')
4123:9: F841 local variable '_' is assigned to but never used
4144: D401 First line should be in imperative mood ('Return', not 'Returns')
4144: D400 First line should end with a period (not 's')
4163:71: E211 whitespace before '('
4164:64: E211 whitespace before '('
4170:38: E201 whitespace after '{'
4171:65: E127 continuation line over-indented for visual indent
4172:57: E202 whitespace before '}'
4176:5: E303 too many blank lines (2)
4176: D401 First line should be in imperative mood ('Return', not 'Returns')
4176: D400 First line should end with a period (not 'd')
4195:30: E261 at least two spaces before inline comment
4195:31: E262 inline comment should start with '# '
4205:69: E211 whitespace before '('
4206:77: E211 whitespace before '('
4211:5: E303 too many blank lines (2)
4211: D401 First line should be in imperative mood ('Return', not 'Returns')
4211: D400 First line should end with a period (not 'd')
4229: D209 Multi-line docstring closing quotes should be on a separate line
4229: D400 First line should end with a period (not 's')
4235: D209 Multi-line docstring closing quotes should be on a separate line
4235: D400 First line should end with a period (not 's')
4241: D209 Multi-line docstring closing quotes should be on a separate line
4241: D400 First line should end with a period (not 'k')
4253:27: E127 continuation line over-indented for visual indent
4258: D102 Missing docstring in public method
4266:24: E127 continuation line over-indented for visual indent
4282:16: E127 continuation line over-indented for visual indent
4315:41: E127 continuation line over-indented for visual indent
4331:60: E127 continuation line over-indented for visual indent
4340:41: E126 continuation line over-indented for hanging indent
4344:57: E127 continuation line over-indented for visual indent
4355: D102 Missing docstring in public method
4358: D102 Missing docstring in public method
4363: D209 Multi-line docstring closing quotes should be on a separate line
4399:49: E127 continuation line over-indented for visual indent
4413:43: E127 continuation line over-indented for visual indent
4422: D400 First line should end with a period (not 'e')
4422: D205 1 blank line required between summary line and description (found 0)
4470: D400 First line should end with a period (not 's')
4483:109: E502 the backslash is redundant between brackets
4484:115: E502 the backslash is redundant between brackets
4485:109: E502 the backslash is redundant between brackets
4486:38: E128 continuation line under-indented for visual indent
4486:46: E502 the backslash is redundant between brackets
4487:38: E128 continuation line under-indented for visual indent
4488:22: E127 continuation line over-indented for visual indent
4491: D401 First line should be in imperative mood ('Return', not 'Returns')
4491: D400 First line should end with a period (not 's')


Check out http://stackoverflow.com/a/24925767/711380
rename(2) on modern Linux kernels won't do this, but at some point `mv a/ b/` moved the target of `a` if `a` is a symlink to a directory, while `mv a b/` always moves the link itself.


1: D400 First line should end with a period (not 'o')
1: D200 One-line docstring should fit on one line with quotes (found 3)
2: L102 copyright year is outdated, expected 2015 but got 2014
23:1: E402 module level import not at top of file
24:1: I100 Imports statements are in the wrong order. import cgi should be before import time
24:1: E402 module level import not at top of file
25:1: E402 module level import not at top of file
26:1: E402 module level import not at top of file
27:1: I100 Imports statements are in the wrong order. import sys should be before import urllib
27:1: E402 module level import not at top of file
28:1: I100 Imports statements are in the wrong order. import string should be before import sys
28:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: I201 Missing newline before sections or imports.
31:1: E402 module level import not at top of file
32:1: I101 Imported names are in the wrong order. Should be CFG_BASE_URL, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_NAME_INTL, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_VERSION, CFG_WEBSTYLE_TEMPLATE_SKIN
32:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.ext.template
32:1: F401 'CFG_SITE_SECURE_URL' imported but unused
32:1: F401 'CFG_SITE_RECORD' imported but unused
32:1: F401 'CFG_VERSION' imported but unused
32:1: F401 'CFG_WEBSTYLE_TEMPLATE_SKIN' imported but unused
32:1: E402 module level import not at top of file
33:6: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be gettext_set_language, is_language_rtl, language_list_long
45:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
45:1: F401 'is_language_rtl' imported but unused
45:1: E402 module level import not at top of file
46:1: I101 Imported names are in the wrong order. Should be create_html_link, get_canonical_and_alternates_urls, make_canonical_urlargd
46:1: F401 'get_canonical_and_alternates_urls' imported but unused
46:1: E402 module level import not at top of file
47:30: E126 continuation line over-indented for hanging indent
48:1: I100 Imports statements are in the wrong order. from invenio.utils.date should be before from invenio.utils.url
48:1: F401 'convert_datestruct_to_dategui' imported but unused
48:1: E402 module level import not at top of file
49:31: E126 continuation line over-indented for hanging indent
50:1: I100 Imports statements are in the wrong order. from invenio.modules.formatter should be before from invenio.utils.date
50:1: E402 module level import not at top of file
51:1: E402 module level import not at top of file
52:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.html
52:1: E402 module level import not at top of file
56: D101 Missing docstring in public class
58: D202 No blank lines allowed after function docstring (found 1)
58: D400 First line should end with a period (not 'y')
58: D208 Docstring is over-indented
110: D401 First line should be in imperative mood ('Create', not 'Creates')
110: D400 First line should end with a period (not 'e')
110: D208 Docstring is over-indented
199: D401 First line should be in imperative mood ('Create', not 'Creates')
199: D202 No blank lines allowed after function docstring (found 1)
199: D400 First line should end with a period (not 'r')
199: D208 Docstring is over-indented
260: D401 First line should be in imperative mood ('Create', not 'Creates')
260: D400 First line should end with a period (not 'r')
260: D208 Docstring is over-indented
289: D202 No blank lines allowed after function docstring (found 1)
289: D400 First line should end with a period (not 'e')
289: D205 1 blank line required between summary line and description (found 0)
289: D208 Docstring is over-indented
326:18: E126 continuation line over-indented for hanging indent
328:13: E266 too many leading '#' for block comment
329:13: E266 too many leading '#' for block comment
332: D401 First line should be in imperative mood ('Produce', not 'Produces')
332: D202 No blank lines allowed after function docstring (found 1)
332: D208 Docstring is over-indented
368:13: B901 blind except: statement
368:20: E261 at least two spaces before inline comment
388:21: B901 blind except: statement
390:34: E261 at least two spaces before inline comment
427:17: E126 continuation line over-indented for hanging indent
427:28: E203 whitespace before ':'
430:37: E502 the backslash is redundant between brackets
431:24: E131 continuation line unaligned for hanging indent
433:24: E203 whitespace before ':'
434:24: E203 whitespace before ':'
435:31: E502 the backslash is redundant between brackets
435:28: E203 whitespace before ':'
436:21: E131 continuation line unaligned for hanging indent
437:90: E225 missing whitespace around operator
438:28: E203 whitespace before ':'
439:28: E203 whitespace before ':'
440:28: E203 whitespace before ':'
441:28: E203 whitespace before ':'
442:28: E203 whitespace before ':'
443:28: E203 whitespace before ':'
444:28: E203 whitespace before ':'
445:28: E203 whitespace before ':'
446:29: E203 whitespace before ':'
447:62: E502 the backslash is redundant between brackets
447:28: E203 whitespace before ':'
447:37: E225 missing whitespace around operator
448:34: E131 continuation line unaligned for hanging indent
448:67: E502 the backslash is redundant between brackets
449:34: E131 continuation line unaligned for hanging indent
450:15: E126 continuation line over-indented for hanging indent
453: D401 First line should be in imperative mood ('Print', not 'Prints')
458:53: E251 unexpected spaces around keyword / parameter equals
458:55: E251 unexpected spaces around keyword / parameter equals
458:78: E251 unexpected spaces around keyword / parameter equals
458:80: E251 unexpected spaces around keyword / parameter equals
478:9: F841 local variable '_' is assigned to but never used
511:41: E231 missing whitespace after ':'
512:41: E231 missing whitespace after ':'
513:42: E231 missing whitespace after ':'
516:41: E231 missing whitespace after ':'
517:39: E231 missing whitespace after ':'
518:41: E231 missing whitespace after ':'
519:42: E231 missing whitespace after ':'
528:9: E303 too many blank lines (2)
550:9: E303 too many blank lines (2)
562:30: E231 missing whitespace after ':'
563:38: E231 missing whitespace after ':'
568: D401 First line should be in imperative mood ('Print', not 'Prints')
598:69: E502 the backslash is redundant between brackets
602:41: E231 missing whitespace after ','
612:21: E203 whitespace before ':'
613:19: E203 whitespace before ':'
614:17: E126 continuation line over-indented for hanging indent
623:5: E303 too many blank lines (2)
623: D401 First line should be in imperative mood ('Display', not 'Displays')
623: D400 First line should end with a period (not 'd')
623: D205 1 blank line required between summary line and description (found 0)
623: D208 Docstring is over-indented
641:9: F841 local variable '_' is assigned to but never used
664:9: E122 continuation line missing indentation or outdented
665:9: E122 continuation line missing indentation or outdented
665:13: E231 missing whitespace after ':'
666:9: E122 continuation line missing indentation or outdented
666:16: E231 missing whitespace after ':'
667:9: E122 continuation line missing indentation or outdented
668:9: E122 continuation line missing indentation or outdented
668:18: E231 missing whitespace after ':'
669:9: E122 continuation line missing indentation or outdented
684:21: E203 whitespace before ':'
685:22: E203 whitespace before ':'
686:22: E203 whitespace before ':'
687:21: E203 whitespace before ':'
688:93: E203 whitespace before ':'
692: D401 First line should be in imperative mood ('Produce', not 'Produces')
692: D202 No blank lines allowed after function docstring (found 1)
692: D400 First line should end with a period (not 't')
704:9: F841 local variable '_' is assigned to but never used
708: D401 First line should be in imperative mood ('Return', not 'Returns')
708: D202 No blank lines allowed after function docstring (found 1)


Yikes, caffeine had not set in yet. The case for breaking early would only be needed here and in the offer test as it seems other instances need to fully iterate the container. Overloading forEachItem is an option but probably not worth doing for two unit tests. Nothing to see here folks, please move along.


Please avoid merges if you can. Are you doing git pull --rebase?


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2013
23:1: I201 Missing newline before sections or imports.
28: D209 Multi-line docstring closing quotes should be on a separate line
28: D202 No blank lines allowed after function docstring (found 1)
37:5: B901 blind except: statement
38:9: F401 'pickle' imported but unused
83: D400 First line should end with a period (not 'y')
97: D103 Missing docstring in public function


32:1: I100 Imports statements are in the wrong order. from itertools should be before import pkg_resources
32:1: F401 'count' imported but unused
36:1: F401 'SchTASK' imported but unused


52:1: I101 Imported names are in the wrong order. Should be current_app, jsonify, request
52:1: I100 Imports statements are in the wrong order. from flask should be before import requests
53:1: I201 Missing newline before sections or imports.
54:1: I201 Missing newline before sections or imports.
56:1: I100 Imports statements are in the wrong order. from invenio.utils.xmlhelpers should be before from lxml.etree


52:1: I100 Imports statements are in the wrong order. from urlparse should be before import requests
52:1: I201 Missing newline before sections or imports.
54:1: I101 Imported names are in the wrong order. Should be current_app, jsonify, request
55:1: I201 Missing newline before sections or imports.


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2014
23:1: I201 Missing newline before sections or imports.
26: D203 1 blank line required before class docstring (found 0)


33:1: I201 Missing newline before sections or imports.
37:1: I100 Imports statements are in the wrong order. from urlparse should be before from sqlalchemy.event


4: L102 copyright year is outdated, expected 2015 but got 2014
27:1: I100 Imports statements are in the wrong order. from datetime should be before from bagit
27:1: I201 Missing newline before sections or imports.
28:1: I201 Missing newline before sections or imports.
30:1: I101 Imported names are in the wrong order. Should be copydir, copyfile
32:1: I201 Missing newline before sections or imports.
34:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from werkzeug.utils


4: L102 copyright year is outdated, expected 2015 but got 2014


4: L102 copyright year is outdated, expected 2015 but got 2014
24:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from sqlalchemy.orm.exc
26:1: I201 Missing newline before sections or imports.
27:1: I100 Imports statements are in the wrong order. from invenio_records.api should be before from invenio_records.models


4: L102 copyright year is outdated, expected 2015 but got 2014
22:1: I101 Imported names are in the wrong order. Should be InvenioTestCase, make_test_suite, run_test_suite


1: D100 Missing docstring in public module
27: D103 Missing docstring in public function


24:1: F401 'intbitset' imported but unused
25:1: I201 Missing newline before sections or imports.
25:1: F401 'cached_property' imported but unused
27:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from werkzeug
75: D101 Missing docstring in public class
76: D102 Missing docstring in public method
103: D103 Missing docstring in public function
121: D203 1 blank line required before class docstring (found 0)
121: D204 1 blank line required after class docstring (found 0)
121: D400 First line should end with a period (not 'e')
121: D205 1 blank line required between summary line and description (found 0)
126: D102 Missing docstring in public method


23:1: I100 Imports statements are in the wrong order. from invenio.modules.search.api should be before from invenio_records.signals
23:1: I201 Missing newline before sections or imports.
44:32: E711 comparison to None should be 'if cond is not None:'
67: D103 Missing docstring in public function


26:1: I201 Missing newline before sections or imports.


23:1: I100 Imports statements are in the wrong order. import socket should be before from datetime
25:1: I101 Imported names are in the wrong order. Should be Blueprint, abort, current_app, flash, g, redirect, render_template, request, url_for
29:1: I201 Missing newline before sections or imports.
30:1: I201 Missing newline before sections or imports.
33:1: I100 Imports statements are in the wrong order. from invenio.base.decorators should be before from invenio.base.i18n
42:1: I100 Imports statements are in the wrong order. from invenio.utils.mail should be before from invenio_records.views
45:1: I101 Imported names are in the wrong order. Should be CmtACTIONHISTORY, CmtRECORDCOMMENT, CmtSUBSCRIPTION
54: D103 Missing docstring in public function
67: D101 Missing docstring in public class
69: D102 Missing docstring in public method
74: D102 Missing docstring in public method
78: D102 Missing docstring in public method
92: D102 Missing docstring in public method
101: D102 Missing docstring in public method
108: D102 Missing docstring in public method
121: D103 Missing docstring in public function
155:9: B901 blind except: statement
166: D103 Missing docstring in public function
180:9: B901 blind except: statement
255: D103 Missing docstring in public function
274: D103 Missing docstring in public function
294: D103 Missing docstring in public function
316: D103 Missing docstring in public function
324:5: B901 blind except: statement
332: D103 Missing docstring in public function
346:5: B901 blind except: statement
360: D103 Missing docstring in public function


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2014
23:1: I100 Imports statements are in the wrong order. from invenio_records.api should be before import six
24:1: I201 Missing newline before sections or imports.
27: D400 First line should end with a period (not 't')
27: D200 One-line docstring should fit on one line with quotes (found 3)
52: D400 First line should end with a period (not 's')
52: D200 One-line docstring should fit on one line with quotes (found 3)
64: D200 One-line docstring should fit on one line with quotes (found 3)
83: D400 First line should end with a period (not 's')
83: D200 One-line docstring should fit on one line with quotes (found 3)


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2014
22:1: I100 Imports statements are in the wrong order. from invenio.utils.datacite should be before from werkzeug
22:1: I201 Missing newline before sections or imports.
24:1: I201 Missing newline before sections or imports.
25:1: I100 Imports statements are in the wrong order. from invenio.utils should be before from invenio_records.api
25:1: I201 Missing newline before sections or imports.
58: D102 Missing docstring in public method
61: D102 Missing docstring in public method
74: D102 Missing docstring in public method
78: D102 Missing docstring in public method
110: D102 Missing docstring in public method
122: D102 Missing docstring in public method
148: D103 Missing docstring in public function
177: D103 Missing docstring in public function
245: D103 Missing docstring in public function
280: D103 Missing docstring in public function


25:1: I201 Missing newline before sections or imports.
26:1: I100 Imports statements are in the wrong order. import dateutil.parser should be before import dictdiffer
26:1: I201 Missing newline before sections or imports.
28:1: I100 Imports statements are in the wrong order. from tempfile should be before import dateutil.parser
29:1: I100 Imports statements are in the wrong order. from functools should be before from tempfile
30:1: I101 Imported names are in the wrong order. Should be abort, current_app, request
30:1: I201 Missing newline before sections or imports.
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from functools should be before from flask_login
32:1: I201 Missing newline before sections or imports.
35:1: I100 Imports statements are in the wrong order. from invenio.modules.editor.models should be before from invenio_records.api
35:1: I201 Missing newline before sections or imports.
36:1: I101 Imported names are in the wrong order. Should be Agent, Deposition, DepositionDraftCacheManager
36:1: I100 Imports statements are in the wrong order. from invenio.modules.deposit.models should be before from invenio.modules.editor.models
38:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.deposit.models
41:1: I101 Imported names are in the wrong order. Should be deposition_record, make_record, record_to_draft
41:1: I201 Missing newline before sections or imports.
43:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from .helpers


28:1: I201 Missing newline before sections or imports.


1: D400 First line should end with a period (not 'e')
4: L102 copyright year is outdated, expected 2015 but got 2011
23:1: I100 Imports statements are in the wrong order. from pprint should be before from string
24:1: I100 Imports statements are in the wrong order. import os should be before from pprint
29:1: I101 Imported names are in the wrong order. Should be task_low_level_submission, task_update_progress, write_message
30:30: E126 continuation line over-indented for hanging indent
34:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.legacy.bibsched.bibtask
35:1: I101 Imported names are in the wrong order. Should be assure_quality, encode_video
38:41: E126 continuation line over-indented for hanging indent
42:1: I100 Imports statements are in the wrong order. from invenio.modules.encoder.metadata should be before from invenio.modules.encoder.utils
43:41: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be chose2, generate_timestamp, getval
45:1: F999 redefinition of unused 'chose2' from line 41
46:1: I101 Imported names are in the wrong order. Should be CFG_BIBENCODE_ASPECT_RATIO_MARC_FIELD, CFG_BIBENCODE_DAEMON_DIR_NEWJOBS, CFG_BIBENCODE_PBCORE_MARC_XSLT
46:1: I100 Imports statements are in the wrong order. from invenio.modules.encoder.config should be before from invenio.modules.encoder.utils
47:39: E126 continuation line over-indented for hanging indent
51:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.modules.encoder.config
52:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.email
56:1: I100 Imports statements are in the wrong order. import invenio.config should be before from invenio.utils.json
66:1: E302 expected 2 blank lines, found 1
66: D401 First line should be in imperative mood ('Send', not 'Sends')
66: D400 First line should end with a period (not 'g')
66: D205 1 blank line required between summary line and description (found 0)
77:13: E128 continuation line under-indented for visual indent
78:13: E128 continuation line under-indented for visual indent
79:13: E128 continuation line under-indented for visual indent
80:13: E128 continuation line under-indented for visual indent
81:13: E128 continuation line under-indented for visual indent
83:14: E128 continuation line under-indented for visual indent
91:1: E302 expected 2 blank lines, found 1
91: D401 First line should be in imperative mood ('Send', not 'Sends')
91: D205 1 blank line required between summary line and description (found 0)
109:13: E128 continuation line under-indented for visual indent
110:13: E128 continuation line under-indented for visual indent
119:13: E128 continuation line under-indented for visual indent
120:13: E128 continuation line under-indented for visual indent
122:14: E128 continuation line under-indented for visual indent
123:14: E128 continuation line under-indented for visual indent
124:14: E128 continuation line under-indented for visual indent
127:14: E128 continuation line under-indented for visual indent
128:14: E128 continuation line under-indented for visual indent
129:14: E128 continuation line under-indented for visual indent
137:1: E302 expected 2 blank lines, found 1
137: D401 First line should be in imperative mood ('Send', not 'Sends')
137: D205 1 blank line required between summary line and description (found 0)
153:13: E128 continuation line under-indented for visual indent
154:13: E126 continuation line over-indented for hanging indent
160:13: E128 continuation line under-indented for visual indent
161:13: E128 continuation line under-indented for visual indent
163:14: E128 continuation line under-indented for visual indent
164:14: E128 continuation line under-indented for visual indent
165:14: E128 continuation line under-indented for visual indent
168:14: E128 continuation line under-indented for visual indent
169:14: E128 continuation line under-indented for visual indent
170:14: E128 continuation line under-indented for visual indent
178:1: E302 expected 2 blank lines, found 1
178: D210 No whitespaces allowed surrounding docstring text
178: D401 First line should be in imperative mood ('Generate', not 'Generates')
178: D205 1 blank line required between summary line and description (found 0)
178: D208 Docstring is over-indented
189:1: E302 expected 2 blank lines, found 1
189: D210 No whitespaces allowed surrounding docstring text
189: D401 First line should be in imperative mood ('Store', not 'Stores')
189: D400 First line should end with a period (not 's')
189: D205 1 blank line required between summary line and description (found 0)
189: D208 Docstring is over-indented
198:1: E302 expected 2 blank lines, found 1
198: D401 First line should be in imperative mood ('Remove', not 'Removes')
198: D400 First line should end with a period (not 'r')
198: D205 1 blank line required between summary line and description (found 0)
222:25: E128 continuation line under-indented for visual indent
223:25: E128 continuation line under-indented for visual indent
224:25: E128 continuation line under-indented for visual indent
225:25: E128 continuation line under-indented for visual indent
239:1: E302 expected 2 blank lines, found 1
239: D210 No whitespaces allowed surrounding docstring text
239: D401 First line should be in imperative mood ('Create', not 'Creates')
239: D400 First line should end with a period (not 'n')
239: D205 1 blank line required between summary line and description (found 0)
240:29: E126 continuation line over-indented for hanging indent
256:1: E302 expected 2 blank lines, found 1
256: D210 No whitespaces allowed surrounding docstring text
256: D401 First line should be in imperative mood ('Create', not 'Creates')
256: D400 First line should end with a period (not 'a')
256: D205 1 blank line required between summary line and description (found 0)
274:1: E302 expected 2 blank lines, found 1
274: D210 No whitespaces allowed surrounding docstring text
274: D401 First line should be in imperative mood ('Create', not 'Creates')
274: D400 First line should end with a period (not 's')
274: D205 1 blank line required between summary line and description (found 0)
297:1: E302 expected 2 blank lines, found 1
297: D210 No whitespaces allowed surrounding docstring text
297: D401 First line should be in imperative mood ('Create', not 'Creates')
297: D400 First line should end with a period (not 'y')
297: D205 1 blank line required between summary line and description (found 0)
298:21: E126 continuation line over-indented for hanging indent
320:1: E302 expected 2 blank lines, found 1
320: D210 No whitespaces allowed surrounding docstring text
320: D401 First line should be in imperative mood ('Check', not 'Checks')
320: D400 First line should end with a period (not 'y')
320: D205 1 blank line required between summary line and description (found 0)
326: D210 No whitespaces allowed surrounding docstring text
326: D401 First line should be in imperative mood ('Sanitize', not 'Sanitizes')
326: D400 First line should end with a period (not 's')
326: D200 One-line docstring should fit on one line with quotes (found 2)
355:5: E129 visually indented line with same indent as next logical line
357:21: E128 continuation line under-indented for visual indent
373:1: E302 expected 2 blank lines, found 1
373: D210 No whitespaces allowed surrounding docstring text
373: D401 First line should be in imperative mood ('Processe', not 'Processes')
373: D400 First line should end with a period (not 'y')
383: D210 No whitespaces allowed surrounding docstring text
383: D401 First line should be in imperative mood ('Create', not 'Creates')
383: D400 First line should end with a period (not 'd')
383: D200 One-line docstring should fit on one line with quotes (found 2)
386:36: E225 missing whitespace around operator
400:5: E266 too many leading '#' for block comment
403:5: E266 too many leading '#' for block comment
406:5: E266 too many leading '#' for block comment
416:5: E266 too many leading '#' for block comment
431:21: E129 visually indented line with same indent as next logical line
434:21: E266 too many leading '#' for block comment
436:25: E266 too many leading '#' for block comment
437:47: F821 undefined name 'get_fieldvalues'
445:27: E128 continuation line under-indented for visual indent
448:13: E266 too many leading '#' for block comment
451:5: E266 too many leading '#' for block comment
458:5: E266 too many leading '#' for block comment
466:5: E266 too many leading '#' for block comment
469:5: E266 too many leading '#' for block comment
473:5: E266 too many leading '#' for block comment
481:13: E266 too many leading '#' for block comment
482:13: E266 too many leading '#' for block comment
483:13: E266 too many leading '#' for block comment
484:13: E266 too many leading '#' for block comment
486:27: E128 continuation line under-indented for visual indent
488:37: E126 continuation line over-indented for hanging indent
491:13: E266 too many leading '#' for block comment
492:13: E266 too many leading '#' for block comment
496:21: E126 continuation line over-indented for hanging indent
513:28: E128 continuation line under-indented for visual indent
515:9: E266 too many leading '#' for block comment
525:13: E266 too many leading '#' for block comment
533:13: E266 too many leading '#' for block comment
538:13: E266 too many leading '#' for block comment
541:13: E266 too many leading '#' for block comment
542:13: E266 too many leading '#' for block comment
544:50: E126 continuation line over-indented for hanging indent
551:13: E266 too many leading '#' for block comment
553:18: E126 continuation line over-indented for hanging indent
567:53: E261 at least two spaces before inline comment
573:13: E266 too many leading '#' for block comment
574:15: E271 multiple spaces after keyword
575:17: E266 too many leading '#' for block comment
590:47: E127 continuation line over-indented for visual indent
616:25: W503 line break before binary operator
617:25: E128 continuation line under-indented for visual indent
619:28: E128 continuation line under-indented for visual indent
620:28: E128 continuation line under-indented for visual indent
621:28: E126 continuation line over-indented for hanging indent
631:13: E266 too many leading '#' for block comment
633:17: E266 too many leading '#' for block comment
634:17: E266 too many leading '#' for block comment
637:21: E266 too many leading '#' for block comment
638:21: E266 too many leading '#' for block comment
641:21: E266 too many leading '#' for block comment
644:21: E266 too many leading '#' for block comment
648:21: E266 too many leading '#' for block comment
652:21: E266 too many leading '#' for block comment
653:21: E266 too many leading '#' for block comment
657:35: E128 continuation line under-indented for visual indent
660:37: E126 continuation line over-indented for hanging indent
665:13: E266 too many leading '#' for block comment
677:5: E266 too many leading '#' for block comment
681:5: E266 too many leading '#' for block comment
686:9: E266 too many leading '#' for block comment
699:44: E251 unexpected spaces around keyword / parameter equals
699:46: E251 unexpected spaces around keyword / parameter equals
700:50: E251 unexpected spaces around keyword / parameter equals
700:52: E251 unexpected spaces around keyword / parameter equals
701:49: E251 unexpected spaces around keyword / parameter equals
701:51: E251 unexpected spaces around keyword / parameter equals
734:5: E266 too many leading '#' for block comment
744:55: E721 do not compare types, use 'isinstance()'
744:69: E202 whitespace before ')'
754:32: E128 continuation line under-indented for visual indent
755:32: E128 continuation line under-indented for visual indent
756:32: E128 continuation line under-indented for visual indent
758:1: W391 blank line at end of file


26:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from sqlalchemy.exc
26:1: F401 'db' imported but unused
27:1: I201 Missing newline before sections or imports.
28:1: I100 Imports statements are in the wrong order. from invenio.modules.search.models should be before from invenio_records.models
28:1: I201 Missing newline before sections or imports.
35: D401 First line should be in imperative mood ('Return', not 'Returns')
52: D401 First line should be in imperative mood ('Return', not 'Returns')
70: D401 First line should be in imperative mood ('Return', not 'Returns')
70: D400 First line should end with a period (not 'e')
84: D401 First line should be in imperative mood ('Return', not 'Returns')
84: D400 First line should end with a period (not ',')
84: D205 1 blank line required between summary line and description (found 0)
101: D401 First line should be in imperative mood ('Return', not 'Returns')
111: D401 First line should be in imperative mood ('Return', not 'Returns')
111: D400 First line should end with a period (not 'e')
125: D401 First line should be in imperative mood ('Return', not 'Returns')
154: D401 First line should be in imperative mood ('Return', not 'Returns')
169: D401 First line should be in imperative mood ('Return', not 'Returns')
183: D401 First line should be in imperative mood ('Return', not 'Returns')
183: D400 First line should end with a period (not 'e')
195: D401 First line should be in imperative mood ('Return', not 'Returns')
195: D400 First line should end with a period (not 'e')
212: D401 First line should be in imperative mood ('Return', not 'Returns')
212: D400 First line should end with a period (not 'e')
224: D401 First line should be in imperative mood ('Return', not 'Returns')
224: D400 First line should end with a period (not "'")
249: D401 First line should be in imperative mood ('Return', not 'Returns')
249: D400 First line should end with a period (not 'd')
249: D205 1 blank line required between summary line and description (found 0)


47:1: I201 Missing newline before sections or imports.
49:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from werkzeug.utils
52:1: F401 'CFG_BIBFORMAT_CACHED_FORMATS' imported but unused
52:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused
52:1: F401 'CFG_BIBFORMAT_DISABLE_I18N_FOR_CACHED_FORMATS' imported but unused
57:1: F401 'record_empty' imported but unused
68:1: F401 'CFG_BIBFORMAT_OUTPUTS_PATH' imported but unused
68:1: F401 'CFG_BIBFORMAT_FORMAT_TEMPLATE_EXTENSION' imported but unused
68:1: F401 'CFG_BIBFORMAT_TEMPLATES_DIR' imported but unused
68:1: F401 'CFG_BIBFORMAT_FORMAT_OUTPUT_EXTENSION' imported but unused
78:27: E261 at least two spaces before inline comment
79:28: E114 indentation is not a multiple of four (comment)
79:28: E116 unexpected indentation (comment)
80:28: E114 indentation is not a multiple of four (comment)
80:28: E116 unexpected indentation (comment)
81:28: E114 indentation is not a multiple of four (comment)
81:28: E116 unexpected indentation (comment)
84:28: E114 indentation is not a multiple of four (comment)
84:28: E116 unexpected indentation (comment)
98:33: E225 missing whitespace around operator
183:1: E731 do not assign a lambda expression, use a def
186: D203 1 blank line required before class docstring (found 0)
190: D401 First line should be in imperative mood ('Return', not 'Returns')
190: D400 First line should end with a period (not 's')
204: D401 First line should be in imperative mood ('Format', not 'Formats')
204: D400 First line should end with a period (not 'f')
204: D205 1 blank line required between summary line and description (found 0)
263:8: W503 line break before binary operator
267:41: F841 local variable 'exc' is assigned to but never used
342:82: E225 missing whitespace around operator
353: D401 First line should be in imperative mood ('Return', not 'Returns')
353: D202 No blank lines allowed after function docstring (found 1)
353: D400 First line should end with a period (not 'g')
353: D205 1 blank line required between summary line and description (found 0)
374:64: E261 at least two spaces before inline comment
374:65: E262 inline comment should start with '# '
381:38: E261 at least two spaces before inline comment
381:39: E262 inline comment should start with '# '
382:48: E261 at least two spaces before inline comment
382:49: E262 inline comment should start with '# '
385:24: E127 continuation line over-indented for visual indent
394: D103 Missing docstring in public function
397: D400 First line should end with a period (not 's')
397: D200 One-line docstring should fit on one line with quotes (found 3)
410: D210 No whitespaces allowed surrounding docstring text
410: D400 First line should end with a period (not 'a')
410: D205 1 blank line required between summary line and description (found 0)
495: D401 First line should be in imperative mood ('Filter', not 'Filters')
505: D401 First line should be in imperative mood ('Searche', not 'Searches')
505: D400 First line should end with a period (not 's')
505: D205 1 blank line required between summary line and description (found 0)
531:9: E303 too many blank lines (2)
545:5: E303 too many blank lines (2)
549: D401 First line should be in imperative mood ('Return', not 'Returns')
589:28: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
603:1: E302 expected 2 blank lines, found 1
603: D203 1 blank line required before class docstring (found 0)
603: D204 1 blank line required after class docstring (found 0)
603: D400 First line should end with a period (not 'n')
603: D205 1 blank line required between summary line and description (found 0)
634:15: E261 at least two spaces before inline comment
636: D401 First line should be in imperative mood ('Create', not 'Creates')
668:31: E261 at least two spaces before inline comment
693: D401 First line should be in imperative mood ('Return', not 'Returns')
693: D400 First line should end with a period (not 'e')
708: D401 First line should be in imperative mood ('Return', not 'Returns')
708: D400 First line should end with a period (not 'd')
731: D401 First line should be in imperative mood ('Return', not 'Returns')
731: D400 First line should end with a period (not 'e')
731: D205 1 blank line required between summary line and description (found 0)
769: D401 First line should be in imperative mood ('Return', not 'Returns')
769: D202 No blank lines allowed after function docstring (found 1)
878:36: E127 continuation line over-indented for visual indent
881: D401 First line should be in imperative mood ('Return', not 'Returns')
938:33: E127 continuation line over-indented for visual indent
949:60: E251 unexpected spaces around keyword / parameter equals
951:54: E251 unexpected spaces around keyword / parameter equals
961:37: E127 continuation line over-indented for visual indent
972:64: E251 unexpected spaces around keyword / parameter equals
974:58: E251 unexpected spaces around keyword / parameter equals


23:1: I201 Missing newline before sections or imports.
26: D203 1 blank line required before class docstring (found 0)


3: L102 copyright year is outdated, expected 2015 but got 2014


37: D103 Missing docstring in public function
47:13: E121 continuation line under-indented for hanging indent


22:1: I101 Imported names are in the wrong order. Should be InvenioTestCase, make_test_suite, run_test_suite
24:1: I101 Imported names are in the wrong order. Should be clean_field_model_definitions, field_definitions, model_definitions


25:1: E402 module level import not at top of file
26:1: I101 Imported names are in the wrong order. Should be ImportPathRegistry, PkgResourcesDirDiscoveryRegistry, RegistryProxy
26:1: I100 Imports statements are in the wrong order. from flask_registry should be before from invenio.base.wrappers
26:1: I201 Missing newline before sections or imports.
26:1: E402 module level import not at top of file
28:1: E402 module level import not at top of file
29:1: I101 Imported names are in the wrong order. Should be InvenioTestCase, make_test_suite, run_test_suite
29:1: E402 module level import not at top of file
43:1: E731 do not assign a lambda expression, use a def
45:1: E731 do not assign a lambda expression, use a def
47:1: E731 do not assign a lambda expression, use a def


4: L102 copyright year is outdated, expected 2015 but got 2014
24:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from sqlalchemy
26:1: I201 Missing newline before sections or imports.
27:1: I100 Imports statements are in the wrong order. from invenio.modules.scheduler.models should be before from invenio_records.models
27:1: I201 Missing newline before sections or imports.


4: L102 copyright year is outdated, expected 2015 but got 2014
427:25: E711 comparison to None should be 'if cond is None:'


1: D400 First line should end with a period (not 'r')
1: D205 1 blank line required between summary line and description (found 0)
1: D208 Docstring is over-indented
4: L102 copyright year is outdated, expected 2015 but got 2014
28:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from sqlalchemy.exc
29:1: I201 Missing newline before sections or imports.
31:1: I100 Imports statements are in the wrong order. from invenio.modules.pidstore.provider should be before from invenio_records.models
34: D210 No whitespaces allowed surrounding docstring text
34: D203 1 blank line required before class docstring (found 0)
34: D400 First line should end with a period (not 's')
39: D401 First line should be in imperative mood ('Create', not 'Creates')
58: D102 Missing docstring in public method
63: D200 One-line docstring should fit on one line with quotes (found 3)


1: D100 Missing docstring in public module


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2014
27:1: I201 Missing newline before sections or imports.
38: D200 One-line docstring should fit on one line with quotes (found 3)
64: D400 First line should end with a period (not 'e')
131: D400 First line should end with a period (not 'e')
171: D400 First line should end with a period (not 'n')


4: L102 copyright year is outdated, expected 2015 but got 2014
23:1: I201 Missing newline before sections or imports.
24:1: I100 Imports statements are in the wrong order. from invenio.testsuite should be before from mock
24:1: I201 Missing newline before sections or imports.


24:1: I101 Imported names are in the wrong order. Should be current_app, url_for
25:1: I201 Missing newline before sections or imports.


33:1: I201 Missing newline before sections or imports.


1: D100 Missing docstring in public module
23:1: I201 Missing newline before sections or imports.
37: D103 Missing docstring in public function


1: D100 Missing docstring in public module
23:1: I201 Missing newline before sections or imports.
64: D103 Missing docstring in public function


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2013
21: D401 First line should be in imperative mood ('Return', not 'Returns')


22:1: I101 Imported names are in the wrong order. Should be g, request, url_for
22:1: F401 'request' imported but unused
23:1: I201 Missing newline before sections or imports.
24:1: I201 Missing newline before sections or imports.
25:1: I100 Imports statements are in the wrong order. from itertools should be before from intbitset
25:1: I201 Missing newline before sections or imports.
27:1: I201 Missing newline before sections or imports.
29:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from six
30:1: F401 'Collection' imported but unused
136:9: B901 blind except: statement


"// fuck the rules !!!!"

Ah ben bravo ! Je vous met un avertissement de fairplay.


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2014
21:1: I100 Imports statements are in the wrong order. from fixture should be before from invenio.config
21:1: I201 Missing newline before sections or imports.
24: D101 Missing docstring in public class
31: D101 Missing docstring in public class
254: D101 Missing docstring in public class
1601: D101 Missing docstring in public class


34:1: I100 Imports statements are in the wrong order. from invenio.modules.search.errors should be before from invenio_records.models
34:1: I201 Missing newline before sections or imports.
82:17: F821 undefined name 'field_tokenizer_cache'
126:20: F821 undefined name 'IdxINDEX'
128:41: F821 undefined name 'IdxINDEX'
158:13: F821 undefined name 'IdxINDEX'
247:13: F821 undefined name 'IdxINDEX'
340:17: F821 undefined name 'IdxINDEX'
373:13: F821 undefined name 'IdxINDEX'
380:9: E731 do not assign a lambda expression, use a def
386:13: E731 do not assign a lambda expression, use a def
390:17: E731 do not assign a lambda expression, use a def
392:17: E731 do not assign a lambda expression, use a def
441:9: E731 do not assign a lambda expression, use a def
447:13: E731 do not assign a lambda expression, use a def
451:17: E731 do not assign a lambda expression, use a def
453:17: E731 do not assign a lambda expression, use a def


25:1: I201 Missing newline before sections or imports.
27:1: I100 Imports statements are in the wrong order. from flask should be before import six
28:1: I201 Missing newline before sections or imports.
28:1: F401 'intbitset' imported but unused
29:1: I201 Missing newline before sections or imports.
30:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from werkzeug.utils
33:1: F401 'get_collection_allchildren' imported but unused


45:1: F401 'string' imported but unused
48:1: F401 'ceil' imported but unused
53:1: F401 'current_breadcrumbs' imported but unused
56:1: I201 Missing newline before sections or imports.
57:1: I201 Missing newline before sections or imports.
60:1: I100 Imports statements are in the wrong order. from invenio.base.decorators should be before from werkzeug.local
60:1: F401 'templated' imported but unused
62:1: F401 'register_template_context_processor' imported but unused
66:1: F401 'Pagination' imported but unused
68:1: F401 'receivers' imported but unused
213:5: B901 blind except: statement
324:5: F841 local variable 'qid' is assigned to but never used


23:1: I101 Imported names are in the wrong order. Should be AndOp, DoubleQuotedValue, EmptyQuery, GreaterEqualOp, GreaterOp, Keyword, KeywordOp, LowerEqualOp, LowerOp, NotOp, OrOp, RangeOp, RegexValue, SingleQuotedValue, Value, ValueQuery
23:1: I201 Missing newline before sections or imports.
36:1: I100 Imports statements are in the wrong order. from invenio.modules.search.enhancers.search should be before from invenio_query_parser.visitor
47: D400 First line should end with a period (not 's')
47: D205 1 blank line required between summary line and description (found 0)
55: D102 Missing docstring in public method
69: D400 First line should end with a period (not 's')
69: D205 1 blank line required between summary line and description (found 0)
69: D208 Docstring is over-indented
78:5: F999 redefinition of unused 'visit' from line 54
79: D102 Missing docstring in public method
82:5: F999 redefinition of unused 'visit' from line 78
83: D102 Missing docstring in public method
86:5: F999 redefinition of unused 'visit' from line 82
87: D102 Missing docstring in public method
90:5: F999 redefinition of unused 'visit' from line 86
91: D102 Missing docstring in public method
96:5: F999 redefinition of unused 'visit' from line 90
97: D102 Missing docstring in public method
100:5: F999 redefinition of unused 'visit' from line 96
101: D102 Missing docstring in public method
104:5: F999 redefinition of unused 'visit' from line 100
105: D102 Missing docstring in public method
113:5: F999 redefinition of unused 'visit' from line 104
114: D102 Missing docstring in public method
123:5: F999 redefinition of unused 'visit' from line 113
124: D102 Missing docstring in public method
134:5: F999 redefinition of unused 'visit' from line 123
135: D102 Missing docstring in public method
148:5: F999 redefinition of unused 'visit' from line 134
149: D102 Missing docstring in public method
166:5: F999 redefinition of unused 'visit' from line 148
167: D102 Missing docstring in public method
184:5: F999 redefinition of unused 'visit' from line 166
185: D102 Missing docstring in public method
189:5: F999 redefinition of unused 'visit' from line 184
190: D102 Missing docstring in public method
194:5: F999 redefinition of unused 'visit' from line 189
195: D102 Missing docstring in public method
199:5: F999 redefinition of unused 'visit' from line 194
200: D102 Missing docstring in public method


I don't quite see how it makes this commit useless. This commit makes it such that other variants of Redmi 2 are able to flash this ROM without needing to remove the assert on the update zip.


Could you show how this feature supposed to look like in alpaca form?
I assumed smth like this:
```javascript
{
    "schema" : {
        "type" : "object",
        "properties" : {
            "prop1" : {
                "type"  : "string"
            },
            "prop2" : {
                "type" : "string"
            }
        }
    },
    "options" : {
        "fields" : {
            "prop1" : {
                "order": "1"
            },
            "title" : {
                "order": "0"
            }
        }
    }
}
```
I expect prop2 before prop1, but seems like it doesn't work. Am I doing it right?
Thanks


@madhuracj : Please see #1769 .

Since 'as_separate_files' export currently works with ZIP compression only.