1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
22:1: E402 module level import not at top of file
23:1: E402 module level import not at top of file
24:1: I100 Imports statements are in the wrong order. import datetime should be before import os
24:1: E402 module level import not at top of file
25:1: F401 'time' imported but unused
25:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. import sys 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: I201 Missing newline before sections or imports.
28:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. import threading should be before from invenio.utils
29:1: I201 Missing newline before sections or imports.
29:1: F401 'threading' imported but unused
29:1: E402 module level import not at top of file
41:1: I101 Imported names are in the wrong order. Should be CFG_BIBRANK_SHOW_DOWNLOAD_STATS, CFG_CACHEDIR, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBDIR, CFG_WEBSEARCH_DEFAULT_SEARCH_INTERFACE, CFG_WEBSEARCH_ENABLED_SEARCH_INTERFACES, CFG_WEBSEARCH_INSTANT_BROWSE_RSS, CFG_WEBSEARCH_MAX_RECORDS_IN_GROUPS, CFG_WEBSEARCH_RSS_I18N_COLLECTIONS, CFG_WEBSEARCH_RSS_MAX_CACHED_REQUESTS, CFG_WEBSEARCH_RSS_TTL, CFG_WEBSEARCH_USE_ALEPH_SYSNOS, CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS, CFG_WEBSEARCH_WILDCARD_LIMIT
41:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_STATS' imported but unused
41:1: E402 module level import not at top of file
61:1: E402 module level import not at top of file
62:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
62:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.dbquery
62:1: E402 module level import not at top of file
63:1: I101 Imported names are in the wrong order. Should be drop_default_urlargd, make_canonical_urlargd, redirect_to_url
63:1: E402 module level import not at top of file
64:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
64:1: E402 module level import not at top of file
65:1: E402 module level import not at top of file
66:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, get_user_preferences, isUserSuperAdmin, logoutUser, page_not_authorized
66:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.html
66:1: E402 module level import not at top of file
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.webcomment.webinterface should be before from invenio.legacy.webuser
68:1: E402 module level import not at top of file
69:1: E402 module level import not at top of file
70:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.webinterface should be before from invenio.legacy.weblinkback.webinterface
70:1: E402 module level import not at top of file
71:1: I101 Imported names are in the wrong order. Should be create_error_box, page, pageheaderonly
71:1: F401 'pageheaderonly' imported but unused
71:1: E402 module level import not at top of file
72:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
72:1: E402 module level import not at top of file
73:1: I101 Imported names are in the wrong order. Should be EM_REPOSITORY, check_user_can_view_record, collection_reclist_cache, collection_restricted_p, create_similarly_named_authors_link_box, get_colID, get_coll_i18nname, get_coll_normalised_name, get_most_popular_field_values, get_mysql_recid_from_aleph_sysno, guess_primary_collection_of_a_record, page_end, page_start, perform_request_cache, perform_request_log, perform_request_search, restricted_collection_cache
73:1: F401 'page_start' imported but unused
73:1: F401 'get_most_popular_field_values' imported but unused
73:1: F401 'create_similarly_named_authors_link_box' imported but unused
73:1: F401 'page_end' imported but unused
73:1: E402 module level import not at top of file
90:1: E402 module level import not at top of file
91:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.websearch.webcoll
91:1: F401 'get_fieldvalues' imported but unused
91:1: F401 'get_fieldvalues_alephseq_like' imported but unused
91:1: E402 module level import not at top of file
92:6: E126 continuation line over-indented for hanging indent
93:1: E402 module level import not at top of file
94:1: E402 module level import not at top of file
95:1: E402 module level import not at top of file
96:1: E402 module level import not at top of file
97:1: E402 module level import not at top of file
98:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch.webcoll should be before from invenio.modules.formatter.engine
98:1: E402 module level import not at top of file
99:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.websearch.webcoll
99:1: I201 Missing newline before sections or imports.
99:1: E402 module level import not at top of file
100:1: I201 Missing newline before sections or imports.
100:1: E402 module level import not at top of file
101:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before from invenio.legacy.bibupload.engine
101:1: F401 'get_cited_by_list' imported but unused
101:1: E402 module level import not at top of file
102:1: F401 'get_download_weight_total' imported but unused
102:1: E402 module level import not at top of file
103:1: F401 'summarize_records' imported but unused
103:1: E402 module level import not at top of file
104:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.search_engine.summarizer
104:1: E402 module level import not at top of file
105:1: E402 module level import not at top of file
106:1: E402 module level import not at top of file
107:1: E402 module level import not at top of file
108:1: I101 Imported names are in the wrong order. Should be WebInterfaceFilesPages, WebInterfaceManageDocFilesPages
108:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.webinterface should be before from invenio.legacy.bibmerge.webinterface
108:1: E402 module level import not at top of file
109:1: E402 module level import not at top of file
110:1: E402 module level import not at top of file
112:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.shell
112:1: E402 module level import not at top of file
118:83: E502 the backslash is redundant between brackets
125: D202 No blank lines allowed *after* function docstring, found 1
125: D200 One-line docstring should not occupy 3 lines
164: D290 White spaces around docstring should be trimmed.
164: D203 Expected 1 blank line *before* class docstring, found 0
164: D204 Expected 1 blank line *after* class docstring, found 0
168: D102 Docstring missing
170:17: E203 whitespace before ':'
171:21: E203 whitespace before ':'
181:13: E266 too many leading '#' for block comment
183:22: E203 whitespace before ':'
184:26: E203 whitespace before ':'
185:21: E203 whitespace before ':'
186:26: E203 whitespace before ':'
187:23: E203 whitespace before ':'
201: D290 White spaces around docstring should be trimmed.
201: D203 Expected 1 blank line *before* class docstring, found 0
201: D400 First line should end with '.', not 't'
210: D102 Docstring missing
232: D102 Docstring missing
247:17: E128 continuation line under-indented for visual indent
275:86: E203 whitespace before ':'
277:21: E127 continuation line over-indented for visual indent
277:67: E203 whitespace before ':'
277:91: E203 whitespace before ':'
280:52: E502 the backslash is redundant between brackets
281:17: E128 continuation line under-indented for visual indent
281:32: E502 the backslash is redundant between brackets
282:17: E128 continuation line under-indented for visual indent
295:42: E261 at least two spaces before inline comment
295:43: E262 inline comment should start with '# '
310: D290 White spaces around docstring should be trimmed.
310: D203 Expected 1 blank line *before* class docstring, found 0
310: D400 First line should end with '.', not 't'
319: D102 Docstring missing
339: D102 Docstring missing
351:17: E128 continuation line under-indented for visual indent
381:21: E128 continuation line under-indented for visual indent
382:21: E128 continuation line under-indented for visual indent
401: D290 White spaces around docstring should be trimmed.
401: D203 Expected 1 blank line *before* class docstring, found 0
406: D290 White spaces around docstring should be trimmed.
419:17: E128 continuation line under-indented for visual indent
420:40: E126 continuation line over-indented for hanging indent
463:102: E203 whitespace before ':'
465:37: E127 continuation line over-indented for visual indent
465:83: E203 whitespace before ':'
465:107: E203 whitespace before ':'
468:64: E502 the backslash is redundant between brackets
469:29: E128 continuation line under-indented for visual indent
469:44: E502 the backslash is redundant between brackets
470:29: E128 continuation line under-indented for visual indent
480:94: E203 whitespace before ':'
482:29: E127 continuation line over-indented for visual indent
482:75: E203 whitespace before ':'
482:99: E203 whitespace before ':'
485:60: E502 the backslash is redundant between brackets
486:25: E128 continuation line under-indented for visual indent
486:40: E502 the backslash is redundant between brackets
487:25: E128 continuation line under-indented for visual indent
523: D202 No blank lines allowed *after* method docstring, found 1
533:94: E203 whitespace before ':'
535:29: E127 continuation line over-indented for visual indent
535:75: E203 whitespace before ':'
535:99: E203 whitespace before ':'
538:60: E502 the backslash is redundant between brackets
539:25: E128 continuation line under-indented for visual indent
539:40: E502 the backslash is redundant between brackets
540:25: E128 continuation line under-indented for visual indent
568:9: E303 too many blank lines (2)
580: D290 White spaces around docstring should be trimmed.
580: D203 Expected 1 blank line *before* class docstring, found 0
585: D290 White spaces around docstring should be trimmed.
585: D202 No blank lines allowed *after* method docstring, found 1
612:1: E302 expected 2 blank lines, found 1
612: D290 White spaces around docstring should be trimmed.
625: D209 Put multi-line docstring closing quotes on separate line
625: D400 First line should end with '.', not 't'
625: D205 Blank line missing between one-line summary and description
638: D401 First line should be imperative: 'Thi', not 'This'
638: D290 White spaces around docstring should be trimmed.
638: D209 Put multi-line docstring closing quotes on separate line
638: D202 No blank lines allowed *after* method docstring, found 1
638: D400 First line should end with '.', not 'r'
638: D205 Blank line missing between one-line summary and description
744:13: E266 too many leading '#' for block comment
745:13: E266 too many leading '#' for block comment
753: D400 First line should end with '.', not 'I'
755:63: E231 missing whitespace after ','
762: D290 White spaces around docstring should be trimmed.
771: D400 First line should end with '.', not 'e'
776:55: E202 whitespace before '}'
818: D209 Put multi-line docstring closing quotes on separate line
818: D400 First line should end with '.', not 'g'
818: D205 Blank line missing between one-line summary and description
823:84: E203 whitespace before ':'
834:17: E128 continuation line under-indented for visual indent
874:45: E128 continuation line under-indented for visual indent
879:9: B901 blind except: statement
910:12: E127 continuation line over-indented for visual indent
943: D400 First line should end with '.', not 'e'
943: D205 Blank line missing between one-line summary and description
963:59: E502 the backslash is redundant between brackets
964:32: F812 list comprehension redefines 'doi' from line 943
987:27: F841 local variable 'e' is assigned to but never used
1001: D203 Expected 1 blank line *before* class docstring, found 0
1004: D202 No blank lines allowed *after* method docstring, found 1
1013:38: E231 missing whitespace after ':'
1022:94: E203 whitespace before ':'
1024:29: E127 continuation line over-indented for visual indent
1024:75: E203 whitespace before ':'
1024:99: E203 whitespace before ':'
1027:60: E502 the backslash is redundant between brackets
1028:25: E128 continuation line under-indented for visual indent
1028:40: E502 the backslash is redundant between brackets
1029:25: E128 continuation line under-indented for visual indent
1050:29: F841 local variable 'e' is assigned to but never used
1069:59: E127 continuation line over-indented for visual indent
1070:59: E127 continuation line over-indented for visual indent
1071:59: E127 continuation line over-indented for visual indent
1072:59: E127 continuation line over-indented for visual indent
1073:59: E127 continuation line over-indented for visual indent
1074:59: E127 continuation line over-indented for visual indent
1075:59: E127 continuation line over-indented for visual indent
1076:59: E127 continuation line over-indented for visual indent
1089:13: E122 continuation line missing indentation or outdented
1134: D290 White spaces around docstring should be trimmed.
1134: D203 Expected 1 blank line *before* class docstring, found 0
1134: D400 First line should end with '.', not 't'
1139: D102 Docstring missing
1148: D102 Docstring missing
1158:17: E128 continuation line under-indented for visual indent
1188:86: E203 whitespace before ':'
1190:21: E127 continuation line over-indented for visual indent
1190:67: E203 whitespace before ':'
1190:91: E203 whitespace before ':'
1193:52: E502 the backslash is redundant between brackets
1194:17: E128 continuation line under-indented for visual indent
1194:32: E502 the backslash is redundant between brackets
1195:17: E128 continuation line under-indented for visual indent


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


1: M111 unrecognized component name: BibEdit


1:1: E266 too many leading '#' for block comment
1: D100 Docstring missing
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
20:1: E402 module level import not at top of file
21:1: I100 Imports statements are in the wrong order. import cgi should be before import urllib
21:1: E402 module level import not at top of file
23:1: E402 module level import not at top of file
24:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS, CFG_CERN_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_WEBSEARCH_MAX_RECORDS_IN_GROUPS, CFG_WEBSESSION_ADDRESS_ACTIVATION_EXPIRE_IN_DAYS, CFG_WEBSESSION_DIFFERENTIATE_BETWEEN_GUESTS, CFG_WEBSESSION_RESET_PASSWORD_EXPIRE_IN_DAYS
24:1: E402 module level import not at top of file
25:6: E126 continuation line over-indented for hanging indent
48:1: I101 Imported names are in the wrong order. Should be create_html_link, create_url, make_canonical_urlargd
48:1: E402 module level import not at top of file
49:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
49:1: E402 module level import not at top of file
50:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.html
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. from invenio.legacy.websession.websession_config should be before from invenio.modules.apikeys.models
52:1: E402 module level import not at top of file
55: D101 Docstring missing
77:17: E225 missing whitespace around operator
78:16: E126 continuation line over-indented for hanging indent
78:25: E203 whitespace before ':'
79:25: E203 whitespace before ':'
80:25: E203 whitespace before ':'
81:25: E203 whitespace before ':'
82:14: E126 continuation line over-indented for hanging indent
86: D102 Docstring missing
87:9: F841 local variable '_' is assigned to but never used
95: D102 Docstring missing
105:37: E203 whitespace before ':'
106:28: E203 whitespace before ':'
107:38: E203 whitespace before ':'
108:29: E203 whitespace before ':'
109:30: E203 whitespace before ':'
111:35: E203 whitespace before ':'
116:5: E303 too many blank lines (2)
116: D401 First line should be imperative: 'Display', not 'Displays'
116: D202 No blank lines allowed *after* method docstring, found 1
116: D400 First line should end with '.', not 'r'
142:22: E126 continuation line over-indented for hanging indent
142:36: E203 whitespace before ':'
171:31: E126 continuation line over-indented for hanging indent
176:43: E203 whitespace before ':'
204:32: E203 whitespace before ':'
205:43: E203 whitespace before ':'
206:27: E203 whitespace before ':'
207:22: E203 whitespace before ':'
209:39: E203 whitespace before ':'
212:16: E126 continuation line over-indented for hanging indent
216: D401 First line should be imperative: 'Display', not 'Displays'
216: D202 No blank lines allowed *after* method docstring, found 1
271:17: E126 continuation line over-indented for hanging indent
271:30: E203 whitespace before ':'
272:30: E203 whitespace before ':'
273:33: E203 whitespace before ':'
274:27: E203 whitespace before ':'
276:34: E203 whitespace before ':'
276:45: E225 missing whitespace around operator
277:34: E203 whitespace before ':'
277:45: E225 missing whitespace around operator
278:28: E203 whitespace before ':'
279:28: E203 whitespace before ':'
280:26: E203 whitespace before ':'
281:23: E203 whitespace before ':'
282:29: E203 whitespace before ':'
283:24: E203 whitespace before ':'
284:33: E203 whitespace before ':'
286:38: E203 whitespace before ':'
287:13: E121 continuation line under-indented for hanging indent
326:21: E126 continuation line over-indented for hanging indent
326:34: E203 whitespace before ':'
327:32: E203 whitespace before ':'
328:35: E203 whitespace before ':'
329:35: E203 whitespace before ':'
331:31: E203 whitespace before ':'
332:27: E203 whitespace before ':'
333:36: E203 whitespace before ':'
334:40: E203 whitespace before ':'
335:38: E203 whitespace before ':'
336:33: E203 whitespace before ':'
337:40: E203 whitespace before ':'
339:17: E121 continuation line under-indented for hanging indent
342:21: E128 continuation line under-indented for visual indent
342:34: E203 whitespace before ':'
344:139: E203 whitespace before ':'
345:35: E203 whitespace before ':'
348:30: E203 whitespace before ':'
348:96: E203 whitespace before ':'
352:5: E303 too many blank lines (2)
352: D400 First line should end with '.', not 'd'
370:11: E121 continuation line under-indented for hanging indent
370:26: E203 whitespace before ':'
371:32: E203 whitespace before ':'
372:32: E203 whitespace before ':'
373:37: E203 whitespace before ':'
374:21: E203 whitespace before ':'
375:21: E203 whitespace before ':'
376:28: E203 whitespace before ':'
382:5: E303 too many blank lines (2)
382: D102 Docstring missing
390:11: E121 continuation line under-indented for hanging indent
390:26: E203 whitespace before ':'
391:31: E203 whitespace before ':'
395:27: E203 whitespace before ':'
396:27: E203 whitespace before ':'
397:26: E203 whitespace before ':'
402:26: E203 whitespace before ':'
403:30: E203 whitespace before ':'
409:5: E303 too many blank lines (2)
409: D102 Docstring missing
417:11: E121 continuation line under-indented for hanging indent
417:26: E203 whitespace before ':'
418:26: E203 whitespace before ':'
421:23: E203 whitespace before ':'
422:19: E203 whitespace before ':'
425:23: E203 whitespace before ':'
426:19: E203 whitespace before ':'
431:30: E203 whitespace before ':'
437:5: E303 too many blank lines (2)
437:51: E251 unexpected spaces around keyword / parameter equals
437:53: E251 unexpected spaces around keyword / parameter equals
437:72: E251 unexpected spaces around keyword / parameter equals
437:74: E251 unexpected spaces around keyword / parameter equals
437:93: E251 unexpected spaces around keyword / parameter equals
437:95: E251 unexpected spaces around keyword / parameter equals
437: D102 Docstring missing
449:11: E121 continuation line under-indented for hanging indent
449:26: E203 whitespace before ':'
450:36: E203 whitespace before ':'
451:27: E203 whitespace before ':'
452:30: E203 whitespace before ':'
453:25: E203 whitespace before ':'
454:28: E203 whitespace before ':'
460:25: E126 continuation line over-indented for hanging indent
460:35: E203 whitespace before ':'
461:28: E203 whitespace before ':'
462:21: E121 continuation line under-indented for hanging indent
468:17: E126 continuation line over-indented for hanging indent
468:34: E203 whitespace before ':'
469:39: E203 whitespace before ':'
471:13: E121 continuation line under-indented for hanging indent
475:5: E303 too many blank lines (2)
475: D401 First line should be imperative: 'Display', not 'Displays'
475: D202 No blank lines allowed *after* method docstring, found 1
502:18: E126 continuation line over-indented for hanging indent
502:31: E203 whitespace before ':'
503:34: E203 whitespace before ':'
504:33: E203 whitespace before ':'
506:16: E126 continuation line over-indented for hanging indent
509:22: E126 continuation line over-indented for hanging indent
509:30: E203 whitespace before ':'
510:32: E203 whitespace before ':'
511:32: E203 whitespace before ':'
512:26: E203 whitespace before ':'
513:20: E126 continuation line over-indented for hanging indent
519:22: E126 continuation line over-indented for hanging indent
519:37: E203 whitespace before ':'
521:20: E126 continuation line over-indented for hanging indent
525: D401 First line should be imperative: 'Display', not 'Displays'
525: D202 No blank lines allowed *after* method docstring, found 1
538:256: E203 whitespace before ':'
538:280: E203 whitespace before ':'
538:302: E203 whitespace before ':'
560:20: E203 whitespace before ':'
561:19: E203 whitespace before ':'
562:11: E121 continuation line under-indented for hanging indent
566:45: E203 whitespace before ':'
567:46: E203 whitespace before ':'
568:45: E203 whitespace before ':'
570:46: E203 whitespace before ':'
574:15: E128 continuation line under-indented for visual indent
574:73: E201 whitespace after '{'
574:81: E203 whitespace before ':'
574:106: E202 whitespace before '}'
577:9: E303 too many blank lines (2)
579: D401 First line should be imperative: 'Display', not 'Displays'
579: D202 No blank lines allowed *after* method docstring, found 1
579: D400 First line should end with '.', not 'n'
601:17: E126 continuation line over-indented for hanging indent
601:32: E203 whitespace before ':'
602:25: E128 continuation line under-indented for visual indent
603:15: E126 continuation line over-indented for hanging indent
611:22: E126 continuation line over-indented for hanging indent
611:26: E203 whitespace before ':'
612:37: E203 whitespace before ':'
613:38: E203 whitespace before ':'
614:20: E126 continuation line over-indented for hanging indent
619:11: E121 continuation line under-indented for hanging indent
619:15: E203 whitespace before ':'
620:26: E203 whitespace before ':'
621:27: E203 whitespace before ':'
627:9: E122 continuation line missing indentation or outdented
627:13: E203 whitespace before ':'
628:9: E122 continuation line missing indentation or outdented
628:23: E203 whitespace before ':'
629:9: E122 continuation line missing indentation or outdented
629:25: E203 whitespace before ':'
635:13: E122 continuation line missing indentation or outdented
635:17: E203 whitespace before ':'
636:13: E122 continuation line missing indentation or outdented
636:28: E203 whitespace before ':'
637:13: E122 continuation line missing indentation or outdented
637:31: E203 whitespace before ':'
640:51: E251 unexpected spaces around keyword / parameter equals
640:53: E251 unexpected spaces around keyword / parameter equals
640:62: E251 unexpected spaces around keyword / parameter equals
640:64: E251 unexpected spaces around keyword / parameter equals
644:11: E121 continuation line under-indented for hanging indent
644:15: E203 whitespace before ':'
645:24: E203 whitespace before ':'
646:27: E203 whitespace before ':'
649:66: E251 unexpected spaces around keyword / parameter equals
649:68: E251 unexpected spaces around keyword / parameter equals
655:15: E121 continuation line under-indented for hanging indent
655:27: E203 whitespace before ':'
656:30: E203 whitespace before ':'
657:13: E122 continuation line missing indentation or outdented
658:13: E122 continuation line missing indentation or outdented
667: D401 First line should be imperative: 'Display', not 'Displays'
667: D202 No blank lines allowed *after* method docstring, found 1
667: D400 First line should end with '.', not 'e'
680:17: E225 missing whitespace around operator
682:19: E225 missing whitespace around operator
692: D401 First line should be imperative: 'Display', not 'Displays'
692: D202 No blank lines allowed *after* method docstring, found 1
692: D400 First line should end with '.', not 'r'
715: D401 First line should be imperative: 'Display', not 'Displays'
715: D202 No blank lines allowed *after* method docstring, found 1
715: D400 First line should end with '.', not 'e'
730:14: E225 missing whitespace around operator
741: D401 First line should be imperative: 'Display', not 'Displays'
741: D202 No blank lines allowed *after* method docstring, found 1
741: D400 First line should end with '.', not 'e'
803:32: E128 continuation line under-indented for visual indent
809:36: E128 continuation line under-indented for visual indent
813:35: E222 multiple spaces after operator
814:36: E222 multiple spaces after operator
815:35: E128 continuation line under-indented for visual indent
820:33: E222 multiple spaces after operator
821:34: E222 multiple spaces after operator
828: D401 First line should be imperative: 'Display', not 'Displays'
828: D202 No blank lines allowed *after* method docstring, found 1
828: D400 First line should end with '.', not 'd'
842:14: E225 missing whitespace around operator
843:15: E225 missing whitespace around operator
850:17: E203 whitespace before ':'
851:18: E203 whitespace before ':'
852:24: E203 whitespace before ':'
853:11: E121 continuation line under-indented for hanging indent
856: D202 No blank lines allowed *after* method docstring, found 1
856: D400 First line should end with '.', not 't'
856: D205 Blank line missing between one-line summary and description
875:17: E128 continuation line under-indented for visual indent
876:17: E128 continuation line under-indented for visual indent
877:33: E203 whitespace before ':'
877:34: E231 missing whitespace after ':'
878:30: E203 whitespace before ':'
879:35: E203 whitespace before ':'
882:21: E203 whitespace before ':'
883:19: E203 whitespace before ':'
884:17: E131 continuation line unaligned for hanging indent
885:25: E203 whitespace before ':'
886:24: E203 whitespace before ':'
888:20: E203 whitespace before ':'
889:21: E203 whitespace before ':'
893: D202 No blank lines allowed *after* method docstring, found 1
893: D400 First line should end with '.', not 'e'
893: D205 Blank line missing between one-line summary and description
912:17: E128 continuation line under-indented for visual indent
913:17: E128 continuation line under-indented for visual indent
914:33: E203 whitespace before ':'
914:34: E231 missing whitespace after ':'
915:30: E203 whitespace before ':'
916:35: E203 whitespace before ':'
919:21: E203 whitespace before ':'
920:19: E203 whitespace before ':'
921:17: E131 continuation line unaligned for hanging indent
922:25: E203 whitespace before ':'
923:33: E203 whitespace before ':'
925:20: E203 whitespace before ':'
926:21: E203 whitespace before ':'
930: D401 First line should be imperative: 'Display', not 'Displays'
930: D202 No blank lines allowed *after* method docstring, found 1
930: D400 First line should end with '.', not 't'
944:14: E225 missing whitespace around operator
948: D401 First line should be imperative: 'Display', not 'Displays'
948: D202 No blank lines allowed *after* method docstring, found 1
948: D400 First line should end with '.', not 't'
963: D401 First line should be imperative: 'Display', not 'Displays'
963: D202 No blank lines allowed *after* method docstring, found 1
963: D400 First line should end with '.', not 't'
975:44: F821 undefined name 'CFG_EXTERNAL_AUTH_LOGOUT_SSO'
979:30: E203 whitespace before ':'
979:58: E203 whitespace before ':'
980:51: F821 undefined name 'CFG_EXTERNAL_AUTH_LOGOUT_SSO'
980:30: E203 whitespace before ':'
981:31: E203 whitespace before ':'
984:17: E127 continuation line over-indented for visual indent
988: D401 First line should be imperative: 'Display', not 'Displays'
988: D202 No blank lines allowed *after* method docstring, found 1
988: D400 First line should end with '.', not 'm'
1016:21: E126 continuation line over-indented for hanging indent
1016:35: E203 whitespace before ':'
1017:17: E121 continuation line under-indented for hanging indent
1020:167: E203 whitespace before ':'
1020:262: E203 whitespace before ':'
1025:25: E128 continuation line under-indented for visual indent
1032:29: E128 continuation line under-indented for visual indent
1045:20: E713 test for membership should be 'not in'
1047:35: E126 continuation line over-indented for hanging indent
1047:43: E203 whitespace before ':'
1048:45: E203 whitespace before ':'
1049:33: E126 continuation line over-indented for hanging indent
1056:22: E126 continuation line over-indented for hanging indent
1056:35: E203 whitespace before ':'
1057:36: E203 whitespace before ':'
1058:20: E126 continuation line over-indented for hanging indent
1081:24: E126 continuation line over-indented for hanging indent
1082:33: E203 whitespace before ':'
1083:34: E203 whitespace before ':'
1084:34: E203 whitespace before ':'
1085:37: E203 whitespace before ':'
1086:31: E203 whitespace before ':'
1090:22: E126 continuation line over-indented for hanging indent
1090:26: E203 whitespace before ':'
1091:33: E203 whitespace before ':'
1092:20: E126 continuation line over-indented for hanging indent
1098:22: E203 whitespace before ':'
1112: D401 First line should be imperative: 'Display', not 'Displays'
1112: D202 No blank lines allowed *after* method docstring, found 1
1112: D400 First line should end with '.', not 't'
1112: D205 Blank line missing between one-line summary and description
1117:9: F841 local variable '_' is assigned to but never used
1121:22: E126 continuation line over-indented for hanging indent
1121:26: E203 whitespace before ':'
1126: D202 No blank lines allowed *after* method docstring, found 1
1133:13: E128 continuation line under-indented for visual indent
1152:17: E203 whitespace before ':'
1153:24: E203 whitespace before ':'
1154:20: E203 whitespace before ':'
1155:31: E203 whitespace before ':'
1156:32: E203 whitespace before ':'
1157:28: E203 whitespace before ':'
1158:31: E203 whitespace before ':'
1162: D401 First line should be imperative: 'Display', not 'Displays'
1162: D202 No blank lines allowed *after* method docstring, found 1
1162: D400 First line should end with '.', not 'm'
1223:26: E203 whitespace before ':'
1224:21: E203 whitespace before ':'
1225:32: E203 whitespace before ':'
1226:27: E203 whitespace before ':'
1227:27: E203 whitespace before ':'
1228:28: E203 whitespace before ':'
1229:27: E203 whitespace before ':'
1230:26: E203 whitespace before ':'
1231:23: E203 whitespace before ':'
1232:35: E203 whitespace before ':'
1233:25: E203 whitespace before ':'
1234:27: E203 whitespace before ':'
1235:30: E203 whitespace before ':'
1236:15: E121 continuation line under-indented for hanging indent
1240:17: E128 continuation line under-indented for visual indent
1243: D401 First line should be imperative: 'Display', not 'Displays'
1243: D202 No blank lines allowed *after* method docstring, found 1
1243: D400 First line should end with '.', not 'r'
1335: D401 First line should be imperative: 'Display', not 'Displays'
1335: D202 No blank lines allowed *after* method docstring, found 1
1335: D400 First line should end with '.', not 'k'
1381:22: E126 continuation line over-indented for hanging indent
1382:26: E203 whitespace before ':'
1383:33: E203 whitespace before ':'
1384:31: E203 whitespace before ':'
1385:29: E203 whitespace before ':'
1386:20: E126 continuation line over-indented for hanging indent
1390:21: E126 continuation line over-indented for hanging indent
1390:36: E203 whitespace before ':'
1391:25: E203 whitespace before ':'
1392:31: E203 whitespace before ':'
1393:16: E121 continuation line under-indented for hanging indent
1395:21: E126 continuation line over-indented for hanging indent
1395:36: E203 whitespace before ':'
1396:25: E203 whitespace before ':'
1397:29: E203 whitespace before ':'
1398:17: E121 continuation line under-indented for hanging indent
1401: D401 First line should be imperative: 'Return', not 'Returns'
1401: D400 First line should end with '.', not 's'
1401: D205 Blank line missing between one-line summary and description
1445:17: E126 continuation line over-indented for hanging indent
1445:38: E203 whitespace before ':'
1446:21: E203 whitespace before ':'
1452:110: E221 multiple spaces before operator
1453:38: E203 whitespace before ':'
1454:21: E203 whitespace before ':'
1455:26: E203 whitespace before ':'
1458:105: E221 multiple spaces before operator
1459:38: E203 whitespace before ':'
1460:21: E203 whitespace before ':'
1461:25: E203 whitespace before ':'
1464:109: E221 multiple spaces before operator
1465:38: E203 whitespace before ':'
1466:21: E203 whitespace before ':'
1467:28: E203 whitespace before ':'
1470:110: E221 multiple spaces before operator
1471:38: E203 whitespace before ':'
1472:21: E203 whitespace before ':'
1473:26: E203 whitespace before ':'
1476:104: E221 multiple spaces before operator
1477:38: E203 whitespace before ':'
1478:21: E203 whitespace before ':'
1479:27: E203 whitespace before ':'
1482:108: E221 multiple spaces before operator
1483:38: E203 whitespace before ':'
1484:21: E203 whitespace before ':'
1485:25: E203 whitespace before ':'
1488:106: E221 multiple spaces before operator
1489:38: E203 whitespace before ':'
1490:21: E203 whitespace before ':'
1491:24: E203 whitespace before ':'
1494:112: E221 multiple spaces before operator
1495:38: E203 whitespace before ':'
1496:21: E203 whitespace before ':'
1497:27: E203 whitespace before ':'
1500:113: E221 multiple spaces before operator
1501:38: E203 whitespace before ':'
1502:21: E203 whitespace before ':'
1503:30: E203 whitespace before ':'
1506:110: E221 multiple spaces before operator
1507:38: E203 whitespace before ':'
1508:21: E203 whitespace before ':'
1509:27: E203 whitespace before ':'
1514: D401 First line should be imperative: 'Return', not 'Returns'
1514: D400 First line should end with '.', not 's'
1514: D205 Blank line missing between one-line summary and description
1560:13: E122 continuation line missing indentation or outdented
1560:34: E203 whitespace before ':'
1561:13: E122 continuation line missing indentation or outdented
1561:17: E203 whitespace before ':'
1562:13: E122 continuation line missing indentation or outdented
1563:13: E122 continuation line missing indentation or outdented
1564:13: E122 continuation line missing indentation or outdented
1569:65: E221 multiple spaces before operator
1576:31: E203 whitespace before ':'
1577:21: E203 whitespace before ':'
1578:24: E203 whitespace before ':'
1584: D400 First line should end with '.', not 's'
1584: D205 Blank line missing between one-line summary and description
1605: D400 First line should end with '.', not 'r'
1605: D205 Blank line missing between one-line summary and description
1612:9: F841 local variable '_' is assigned to but never used
1621: D401 First line should be imperative: 'Display', not 'Displays'
1621: D202 No blank lines allowed *after* method docstring, found 1
1621: D400 First line should end with '.', not 'l'
1625:52: E251 unexpected spaces around keyword / parameter equals
1625:54: E251 unexpected spaces around keyword / parameter equals
1646:9: F841 local variable '_' is assigned to but never used
1661:14: E225 missing whitespace around operator
1671:14: E225 missing whitespace around operator
1675:5: E303 too many blank lines (2)
1675: D202 No blank lines allowed *after* method docstring, found 1
1694:9: E303 too many blank lines (2)
1695:102: E202 whitespace before ')'
1715:35: E225 missing whitespace around operator
1722:15: E225 missing whitespace around operator
1725:46: E203 whitespace before ':'
1726:44: E203 whitespace before ':'
1728:42: E231 missing whitespace after ':'
1729:43: E231 missing whitespace after ':'
1730:45: E231 missing whitespace after ':'
1732:49: E203 whitespace before ':'
1733:47: E203 whitespace before ':'
1735:45: E231 missing whitespace after ':'
1736:46: E231 missing whitespace after ':'
1737:48: E231 missing whitespace after ':'
1796:15: E225 missing whitespace around operator
1820:16: E127 continuation line over-indented for visual indent
1821:29: E231 missing whitespace after ':'
1822:16: E124 closing bracket does not match visual indentation
1826:5: E303 too many blank lines (2)
1859:15: E225 missing whitespace around operator
1873: D400 First line should end with '.', not ':'
1873: D205 Blank line missing between one-line summary and description
1896:20: E225 missing whitespace around operator
1911:46: E231 missing whitespace after ','
1980:25: E203 whitespace before ':'
1983:28: E203 whitespace before ':'
1991:30: E231 missing whitespace after ':'
1992:31: E231 missing whitespace after ':'
1993:28: E231 missing whitespace after ':'
1995:30: E203 whitespace before ':'
1995:31: E231 missing whitespace after ':'
1998:16: E124 closing bracket does not match visual indentation
2001: D201 No blank lines allowed *before* method docstring, found 1
2001: D205 Blank line missing between one-line summary and description
2092:25: E203 whitespace before ':'
2096:25: E231 missing whitespace after ':'
2097:29: E231 missing whitespace after ':'
2100:31: E231 missing whitespace after ':'
2101:29: E203 whitespace before ':'
2101:30: E231 missing whitespace after ':'
2101:64: E231 missing whitespace after ','
2102:33: E203 whitespace before ':'
2103:16: E124 closing bracket does not match visual indentation
2106: D202 No blank lines allowed *after* method docstring, found 1
2241:19: E203 whitespace before ':'
2242:26: E222 multiple spaces after operator
2247:37: E231 missing whitespace after ','
2247:23: E222 multiple spaces after operator
2248:13: E203 whitespace before ':'
2250:27: E203 whitespace before ':'
2251:27: E222 multiple spaces after operator
2259:38: E231 missing whitespace after ','
2259:23: E222 multiple spaces after operator
2260:13: E203 whitespace before ':'
2269:21: E203 whitespace before ':'
2270:30: E203 whitespace before ':'
2271:27: E203 whitespace before ':'
2279:9: E122 continuation line missing indentation or outdented
2279:73: E201 whitespace after '{'
2279:81: E203 whitespace before ':'
2280:65: E128 continuation line under-indented for visual indent
2280:78: E203 whitespace before ':'
2281:65: E124 closing bracket does not match visual indentation
2282:26: E128 continuation line under-indented for visual indent
2286:13: E128 continuation line under-indented for visual indent
2288:24: E231 missing whitespace after ':'
2289:30: E203 whitespace before ':'
2290:31: E203 whitespace before ':'
2290:32: E231 missing whitespace after ':'
2291:25: E231 missing whitespace after ':'
2292:24: E231 missing whitespace after ':'
2301:31: E231 missing whitespace after ':'
2302:21: E231 missing whitespace after ':'
2370:21: E222 multiple spaces after operator
2373:13: E203 whitespace before ':'
2379:25: E203 whitespace before ':'
2380:29: E203 whitespace before ':'
2381:25: E231 missing whitespace after ':'
2383:24: E203 whitespace before ':'
2384:31: E231 missing whitespace after ':'
2385:21: E203 whitespace before ':'
2385:22: E231 missing whitespace after ':'
2386:25: E203 whitespace before ':'
2391:5: E303 too many blank lines (2)
2391: D400 First line should end with '.', not 'p'
2391: D205 Blank line missing between one-line summary and description
2422:11: E225 missing whitespace around operator
2423:19: E231 missing whitespace after ':'
2426:22: E231 missing whitespace after ':'
2428:15: E124 closing bracket does not match visual indentation
2431: D400 First line should end with '.', not 'e'
2431: D205 Blank line missing between one-line summary and description
2462:11: E225 missing whitespace around operator
2463:19: E231 missing whitespace after ':'
2466:22: E231 missing whitespace after ':'
2468:15: E124 closing bracket does not match visual indentation
2471: D400 First line should end with '.', not 'y'
2471: D205 Blank line missing between one-line summary and description
2485: D290 White spaces around docstring should be trimmed.
2485: D400 First line should end with '.', not 'u'
2485: D205 Blank line missing between one-line summary and description
2490:20: E203 whitespace before ':'
2492:62: E225 missing whitespace around operator
2493:13: E203 whitespace before ':'
2500:54: E225 missing whitespace around operator
2505:5: E303 too many blank lines (2)
2505: D400 First line should end with '.', not 's'
2505: D205 Blank line missing between one-line summary and description
2511:9: F841 local variable '_' is assigned to but never used
2523: D400 First line should end with '.', not ':'
2523: D205 Blank line missing between one-line summary and description
2538:15: E271 multiple spaces after keyword
2540: D400 First line should end with '.', not ':'
2540: D205 Blank line missing between one-line summary and description
2557: D400 First line should end with '.', not 'p'
2557: D205 Blank line missing between one-line summary and description
2576: D400 First line should end with '.', not 'd'
2576: D205 Blank line missing between one-line summary and description
2601: D400 First line should end with '.', not 'd'
2601: D205 Blank line missing between one-line summary and description
2619: D400 First line should end with '.', not ')'
2619: D205 Blank line missing between one-line summary and description
2637: D400 First line should end with '.', not 'e'
2637: D205 Blank line missing between one-line summary and description
2685:19: E128 continuation line under-indented for visual indent
2690:59: E251 unexpected spaces around keyword / parameter equals
2690:61: E251 unexpected spaces around keyword / parameter equals
2690:75: E251 unexpected spaces around keyword / parameter equals
2690:77: E251 unexpected spaces around keyword / parameter equals
2690: D202 No blank lines allowed *after* method docstring, found 1
2691:43: E251 unexpected spaces around keyword / parameter equals
2691:45: E251 unexpected spaces around keyword / parameter equals
2721:16: E713 test for membership should be 'not in'
2745:57: E251 unexpected spaces around keyword / parameter equals
2745:59: E251 unexpected spaces around keyword / parameter equals
2745:73: E251 unexpected spaces around keyword / parameter equals
2745:75: E251 unexpected spaces around keyword / parameter equals
2745: D202 No blank lines allowed *after* method docstring, found 1
2745: D400 First line should end with '.', not 'r'
2745: D205 Blank line missing between one-line summary and description
2746:41: E251 unexpected spaces around keyword / parameter equals
2746:43: E251 unexpected spaces around keyword / parameter equals
2746:53: E251 unexpected spaces around keyword / parameter equals
2746:55: E251 unexpected spaces around keyword / parameter equals
2813: D400 First line should end with '.', not 's'
2813: D200 One-line docstring should not occupy 3 lines
2822: D401 First line should be imperative: 'Construct', not 'Constructs'
2845:57: E128 continuation line under-indented for visual indent
2847:26: E128 continuation line under-indented for visual indent
2847:33: E251 unexpected spaces around keyword / parameter equals
2847:35: E251 unexpected spaces around keyword / parameter equals
2848:26: E128 continuation line under-indented for visual indent
2848:35: E251 unexpected spaces around keyword / parameter equals
2848:37: E251 unexpected spaces around keyword / parameter equals
2849:26: E128 continuation line under-indented for visual indent
2849:33: E251 unexpected spaces around keyword / parameter equals
2849:35: E251 unexpected spaces around keyword / parameter equals
2850:26: E128 continuation line under-indented for visual indent
2850:31: E251 unexpected spaces around keyword / parameter equals
2850:33: E251 unexpected spaces around keyword / parameter equals
2853:48: E128 continuation line under-indented for visual indent
2853:55: E251 unexpected spaces around keyword / parameter equals
2853:57: E251 unexpected spaces around keyword / parameter equals
2854:48: E128 continuation line under-indented for visual indent
2854:57: E251 unexpected spaces around keyword / parameter equals
2854:59: E251 unexpected spaces around keyword / parameter equals
2855:48: E128 continuation line under-indented for visual indent
2855:55: E251 unexpected spaces around keyword / parameter equals
2855:57: E251 unexpected spaces around keyword / parameter equals
2858:29: E127 continuation line over-indented for visual indent
2859:29: E127 continuation line over-indented for visual indent
2879:65: E127 continuation line over-indented for visual indent
2882:20: E713 test for membership should be 'not in'
2886:16: E713 test for membership should be 'not in'


1: D400 First line should end with '.', not 's'
1: D205 Blank line missing between one-line summary and description
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
19: L101 copyright is missing


20: L101 copyright is missing


1:1: E266 too many leading '#' for block comment
1: D100 Docstring missing
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
20:1: E402 module level import not at top of file
21:1: I201 Missing newline before sections or imports.
21:1: E402 module level import not at top of file
22:1: I100 Imports statements are in the wrong order. import urllib should be before import MySQLdb
22:1: I201 Missing newline before sections or imports.
22:1: E402 module level import not at top of file
24:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from six
26:1: E402 module level import not at top of file
27:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS, CFG_CERN_SITE, CFG_SITE_ADMIN_EMAIL, CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_SUPPORT_EMAIL, CFG_VERSION
27:1: E402 module level import not at top of file
28:6: E126 continuation line over-indented for hanging indent
36:1: E402 module level import not at top of file
37:1: I101 Imported names are in the wrong order. Should be CFG_EXTERNAL_AUTHENTICATION, CFG_EXTERNAL_AUTH_DEFAULT, SUPERADMINROLE
37:1: E402 module level import not at top of file
39:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.modules.access.local_config
39:1: E402 module level import not at top of file
40:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, get_user_preferences
40:1: E402 module level import not at top of file
41:9: E126 continuation line over-indented for hanging indent
42:1: E402 module level import not at top of file
43:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.modules.access.control
43:1: E402 module level import not at top of file
44:1: E402 module level import not at top of file
46:1: E402 module level import not at top of file
49:1: E402 module level import not at top of file
51:1: E302 expected 2 blank lines, found 1
51: D400 First line should end with '.', not 'e'
57:13: E126 continuation line over-indented for hanging indent
57:15: E251 unexpected spaces around keyword / parameter equals
57:17: E251 unexpected spaces around keyword / parameter equals
58:16: E251 unexpected spaces around keyword / parameter equals
58:18: E251 unexpected spaces around keyword / parameter equals
59:18: E251 unexpected spaces around keyword / parameter equals
59:20: E251 unexpected spaces around keyword / parameter equals
60:26: E251 unexpected spaces around keyword / parameter equals
60:28: E251 unexpected spaces around keyword / parameter equals
61:12: E126 continuation line over-indented for hanging indent
63:1: E302 expected 2 blank lines, found 1
65:5: F841 local variable '_' is assigned to but never used
72:44: E713 test for membership should be 'not in'
78:1: E302 expected 2 blank lines, found 1
78: D209 Put multi-line docstring closing quotes on separate line
78: D400 First line should end with '.', not 'e'
78: D205 Blank line missing between one-line summary and description
78: D208 Docstring is over-indented
99:14: E126 continuation line over-indented for hanging indent
99:16: E251 unexpected spaces around keyword / parameter equals
99:18: E251 unexpected spaces around keyword / parameter equals
100:17: E251 unexpected spaces around keyword / parameter equals
100:19: E251 unexpected spaces around keyword / parameter equals
101:19: E251 unexpected spaces around keyword / parameter equals
101:21: E251 unexpected spaces around keyword / parameter equals
102:19: E251 unexpected spaces around keyword / parameter equals
102:21: E251 unexpected spaces around keyword / parameter equals
103:24: E251 unexpected spaces around keyword / parameter equals
103:26: E251 unexpected spaces around keyword / parameter equals
104:12: E126 continuation line over-indented for hanging indent
106:1: E302 expected 2 blank lines, found 1
106: D202 No blank lines allowed *after* function docstring, found 1
122:13: E225 missing whitespace around operator
122:18: E225 missing whitespace around operator
122:23: E225 missing whitespace around operator
122:32: E225 missing whitespace around operator
127:13: E225 missing whitespace around operator
131:21: E126 continuation line over-indented for hanging indent
131:23: E251 unexpected spaces around keyword / parameter equals
131:25: E251 unexpected spaces around keyword / parameter equals
132:25: E251 unexpected spaces around keyword / parameter equals
132:27: E251 unexpected spaces around keyword / parameter equals
133:19: E126 continuation line over-indented for hanging indent
158:14: E126 continuation line over-indented for hanging indent
158:16: E251 unexpected spaces around keyword / parameter equals
158:18: E251 unexpected spaces around keyword / parameter equals
159:22: E251 unexpected spaces around keyword / parameter equals
159:24: E251 unexpected spaces around keyword / parameter equals
160:26: E251 unexpected spaces around keyword / parameter equals
160:28: E251 unexpected spaces around keyword / parameter equals
161:21: E251 unexpected spaces around keyword / parameter equals
161:23: E251 unexpected spaces around keyword / parameter equals
162:21: E251 unexpected spaces around keyword / parameter equals
162:23: E251 unexpected spaces around keyword / parameter equals
163:20: E251 unexpected spaces around keyword / parameter equals
163:22: E251 unexpected spaces around keyword / parameter equals
164:22: E251 unexpected spaces around keyword / parameter equals
164:24: E251 unexpected spaces around keyword / parameter equals
165:22: E251 unexpected spaces around keyword / parameter equals
165:24: E251 unexpected spaces around keyword / parameter equals
166:19: E251 unexpected spaces around keyword / parameter equals
166:21: E251 unexpected spaces around keyword / parameter equals
167:20: E251 unexpected spaces around keyword / parameter equals
167:22: E251 unexpected spaces around keyword / parameter equals
168:25: E251 unexpected spaces around keyword / parameter equals
168:27: E251 unexpected spaces around keyword / parameter equals
169:23: E251 unexpected spaces around keyword / parameter equals
169:25: E251 unexpected spaces around keyword / parameter equals
170:21: E251 unexpected spaces around keyword / parameter equals
170:23: E251 unexpected spaces around keyword / parameter equals
171:28: E251 unexpected spaces around keyword / parameter equals
171:30: E251 unexpected spaces around keyword / parameter equals
172:22: E251 unexpected spaces around keyword / parameter equals
172:24: E251 unexpected spaces around keyword / parameter equals
173:12: E126 continuation line over-indented for hanging indent
175:1: E302 expected 2 blank lines, found 1
175: D400 First line should end with '.', not 't'
181:37: E251 unexpected spaces around keyword / parameter equals
181:39: E251 unexpected spaces around keyword / parameter equals
181:31: E211 whitespace before '('
182:37: E251 unexpected spaces around keyword / parameter equals
182:39: E251 unexpected spaces around keyword / parameter equals
183:39: E251 unexpected spaces around keyword / parameter equals
183:41: E251 unexpected spaces around keyword / parameter equals
184:35: E251 unexpected spaces around keyword / parameter equals
184:37: E251 unexpected spaces around keyword / parameter equals
187:5: B901 blind except: statement
192:37: E251 unexpected spaces around keyword / parameter equals
192:39: E251 unexpected spaces around keyword / parameter equals
192:31: E211 whitespace before '('
193:37: E251 unexpected spaces around keyword / parameter equals
193:39: E251 unexpected spaces around keyword / parameter equals
194:39: E251 unexpected spaces around keyword / parameter equals
194:41: E251 unexpected spaces around keyword / parameter equals
195:35: E251 unexpected spaces around keyword / parameter equals
195:37: E251 unexpected spaces around keyword / parameter equals
196:19: E211 whitespace before '('
198:5: B901 blind except: statement
231:13: B901 blind except: statement
249:5: B901 blind except: statement
254:1: E302 expected 2 blank lines, found 1
257:14: E126 continuation line over-indented for hanging indent
257:16: E251 unexpected spaces around keyword / parameter equals
257:18: E251 unexpected spaces around keyword / parameter equals
258:19: E251 unexpected spaces around keyword / parameter equals
258:21: E251 unexpected spaces around keyword / parameter equals
259:18: E251 unexpected spaces around keyword / parameter equals
259:20: E251 unexpected spaces around keyword / parameter equals
260:12: E126 continuation line over-indented for hanging indent
262:1: E302 expected 2 blank lines, found 1
262: D202 No blank lines allowed *after* function docstring, found 1
266:5: F841 local variable '_' is assigned to but never used
269:14: E126 continuation line over-indented for hanging indent
269:16: E251 unexpected spaces around keyword / parameter equals
269:18: E251 unexpected spaces around keyword / parameter equals
270:18: E251 unexpected spaces around keyword / parameter equals
270:20: E251 unexpected spaces around keyword / parameter equals
271:12: E126 continuation line over-indented for hanging indent
277:55: E251 unexpected spaces around keyword / parameter equals
277:57: E251 unexpected spaces around keyword / parameter equals
279:1: E302 expected 2 blank lines, found 1
279: D202 No blank lines allowed *after* function docstring, found 1
279: D400 First line should end with '.', not 'd'
279: D205 Blank line missing between one-line summary and description
300:14: E126 continuation line over-indented for hanging indent
300:16: E251 unexpected spaces around keyword / parameter equals
300:18: E251 unexpected spaces around keyword / parameter equals
301:19: E251 unexpected spaces around keyword / parameter equals
301:21: E251 unexpected spaces around keyword / parameter equals
302:28: E251 unexpected spaces around keyword / parameter equals
302:30: E251 unexpected spaces around keyword / parameter equals
303:31: E251 unexpected spaces around keyword / parameter equals
303:33: E251 unexpected spaces around keyword / parameter equals
304:22: E251 unexpected spaces around keyword / parameter equals
304:24: E251 unexpected spaces around keyword / parameter equals
305:24: E251 unexpected spaces around keyword / parameter equals
305:26: E251 unexpected spaces around keyword / parameter equals
306:12: E126 continuation line over-indented for hanging indent
331:21: E126 continuation line over-indented for hanging indent
331:23: E251 unexpected spaces around keyword / parameter equals
331:25: E251 unexpected spaces around keyword / parameter equals
332:28: E251 unexpected spaces around keyword / parameter equals
332:30: E251 unexpected spaces around keyword / parameter equals
333:28: E251 unexpected spaces around keyword / parameter equals
333:30: E251 unexpected spaces around keyword / parameter equals
334:36: E251 unexpected spaces around keyword / parameter equals
334:38: E251 unexpected spaces around keyword / parameter equals
335:31: E251 unexpected spaces around keyword / parameter equals
335:33: E251 unexpected spaces around keyword / parameter equals
336:17: E121 continuation line under-indented for hanging indent
342:17: E126 continuation line over-indented for hanging indent
342:19: E251 unexpected spaces around keyword / parameter equals
342:21: E251 unexpected spaces around keyword / parameter equals
343:24: E251 unexpected spaces around keyword / parameter equals
343:26: E251 unexpected spaces around keyword / parameter equals
344:31: E251 unexpected spaces around keyword / parameter equals
344:33: E251 unexpected spaces around keyword / parameter equals
345:29: E251 unexpected spaces around keyword / parameter equals
345:31: E251 unexpected spaces around keyword / parameter equals
346:27: E251 unexpected spaces around keyword / parameter equals
346:29: E251 unexpected spaces around keyword / parameter equals
351:17: E126 continuation line over-indented for hanging indent
351:19: E251 unexpected spaces around keyword / parameter equals
351:21: E251 unexpected spaces around keyword / parameter equals
352:31: E251 unexpected spaces around keyword / parameter equals
352:33: E251 unexpected spaces around keyword / parameter equals
353:27: E251 unexpected spaces around keyword / parameter equals
353:29: E251 unexpected spaces around keyword / parameter equals
357:8: E225 missing whitespace around operator
358:17: E126 continuation line over-indented for hanging indent
358:19: E251 unexpected spaces around keyword / parameter equals
358:21: E251 unexpected spaces around keyword / parameter equals
359:26: E251 unexpected spaces around keyword / parameter equals
359:28: E251 unexpected spaces around keyword / parameter equals
360:27: E251 unexpected spaces around keyword / parameter equals
360:29: E251 unexpected spaces around keyword / parameter equals
383:1: E302 expected 2 blank lines, found 1
386:14: E126 continuation line over-indented for hanging indent
386:21: E251 unexpected spaces around keyword / parameter equals
386:23: E251 unexpected spaces around keyword / parameter equals
387:16: E251 unexpected spaces around keyword / parameter equals
387:18: E251 unexpected spaces around keyword / parameter equals
388:19: E251 unexpected spaces around keyword / parameter equals
388:21: E251 unexpected spaces around keyword / parameter equals
389:12: E126 continuation line over-indented for hanging indent
391:1: E266 too many leading '#' for block comment
392:1: E302 expected 2 blank lines, found 1
392: D103 Docstring missing
419:5: E266 too many leading '#' for block comment
424:14: E126 continuation line over-indented for hanging indent
424:16: E251 unexpected spaces around keyword / parameter equals
424:18: E251 unexpected spaces around keyword / parameter equals
425:21: E251 unexpected spaces around keyword / parameter equals
425:23: E251 unexpected spaces around keyword / parameter equals
426:22: E251 unexpected spaces around keyword / parameter equals
426:24: E251 unexpected spaces around keyword / parameter equals
427:32: E251 unexpected spaces around keyword / parameter equals
427:34: E251 unexpected spaces around keyword / parameter equals
428:21: E251 unexpected spaces around keyword / parameter equals
428:23: E251 unexpected spaces around keyword / parameter equals
429:29: E251 unexpected spaces around keyword / parameter equals
429:31: E251 unexpected spaces around keyword / parameter equals
430:17: E251 unexpected spaces around keyword / parameter equals
430:19: E251 unexpected spaces around keyword / parameter equals
431:12: E126 continuation line over-indented for hanging indent
435: D103 Docstring missing
436:55: E251 unexpected spaces around keyword / parameter equals
436:57: E251 unexpected spaces around keyword / parameter equals
439:1: E302 expected 2 blank lines, found 1
439: D103 Docstring missing
443:1: E302 expected 2 blank lines, found 1
443: D103 Docstring missing
447:1: E302 expected 2 blank lines, found 1
447: D103 Docstring missing
448:58: E251 unexpected spaces around keyword / parameter equals
448:60: E251 unexpected spaces around keyword / parameter equals
448:70: E251 unexpected spaces around keyword / parameter equals
448:72: E251 unexpected spaces around keyword / parameter equals
451:1: E302 expected 2 blank lines, found 1
451: D103 Docstring missing
452:59: E201 whitespace after '('
452:62: E251 unexpected spaces around keyword / parameter equals
452:64: E251 unexpected spaces around keyword / parameter equals
453:44: E128 continuation line under-indented for visual indent
453:47: E251 unexpected spaces around keyword / parameter equals
453:49: E251 unexpected spaces around keyword / parameter equals
454:42: E124 closing bracket does not match visual indentation
457:1: E302 expected 2 blank lines, found 1
457: D103 Docstring missing
459:14: E126 continuation line over-indented for hanging indent
459:16: E251 unexpected spaces around keyword / parameter equals
459:18: E251 unexpected spaces around keyword / parameter equals
460:21: E251 unexpected spaces around keyword / parameter equals
460:23: E251 unexpected spaces around keyword / parameter equals
461:17: E251 unexpected spaces around keyword / parameter equals
461:19: E251 unexpected spaces around keyword / parameter equals
462:18: E251 unexpected spaces around keyword / parameter equals
462:20: E251 unexpected spaces around keyword / parameter equals
463:12: E126 continuation line over-indented for hanging indent
465:1: E302 expected 2 blank lines, found 1
465: D401 First line should be imperative: 'Return', not 'Returns'


yes. removing.


Made a stupid, corrected to #elif instead of #else


Ah this is a lot clearer, thanks.


Well I thought about this name first, but I would like options to group logicaly together when sorted. Though I no longer think it was a good idea, there is no easy way to list options.


I think we have these in `UBuiltins`.


Removed bitfield, cannot bitfield bools (another dumb, it was 2am... On a school night.)


1: M111 unrecognized component name: tests


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
28:1: E402 module level import not at top of file
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
36:1: I100 Imports statements are in the wrong order. import cgi should be before import time
36:1: E402 module level import not at top of file
37:1: E402 module level import not at top of file
38:1: I100 Imports statements are in the wrong order. import binascii should be before import subprocess
38:1: E402 module level import not at top of file
39:1: I100 Imports statements are in the wrong order. import StringIO should be before import binascii
39:1: E402 module level import not at top of file
41:1: E402 module level import not at top of file
42:1: I100 Imports statements are in the wrong order. from functools should be before from flask
42:1: I201 Missing newline before sections or imports.
42:1: E402 module level import not at top of file
43:1: E402 module level import not at top of file
44:1: I201 Missing newline before sections or imports.
44:1: E402 module level import not at top of file
45:1: E402 module level import not at top of file
46:1: I100 Imports statements are in the wrong order. from urllib should be before from six.moves.urllib.parse
46:1: I201 Missing newline before sections or imports.
46:1: E402 module level import not at top of file
47:1: I100 Imports statements are in the wrong order. from itertools should be before from urllib
47:1: E402 module level import not at top of file
131:1: E402 module level import not at top of file
134:1: F401 'pyparsing' imported but unused
134:1: E402 module level import not at top of file
135:1: I100 Imports statements are in the wrong order. from flask.ext.testing should be before import pyparsing
135:1: I201 Missing newline before sections or imports.
135:1: E402 module level import not at top of file
235:5: E731 do not assign a lambda expression, use a def
355:5: B901 blind except: statement
776:9: B901 blind except: statement
797:9: B901 blind except: statement
821:9: B901 blind except: statement
853:9: B901 blind except: statement
864:13: B901 blind except: statement
887:9: B901 blind except: statement
908:9: B901 blind except: statement
925:9: B901 blind except: statement
1175:9: B901 blind except: statement


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
24:1: I101 Imported names are in the wrong order. Should be current_app, request, url_for
40: D101 Docstring missing
44: D101 Docstring missing
48: D101 Docstring missing
64: D102 Docstring missing
69: D102 Docstring missing
76: D102 Docstring missing
171: D102 Docstring missing
191: D102 Docstring missing
195: D102 Docstring missing
201: D102 Docstring missing


19: L101 copyright is missing


1: D205 Blank line missing between one-line summary and description
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
27:1: I201 Missing newline before sections or imports.
28:1: I101 Imported names are in the wrong order. Should be escape_shell_arg, run_shell_command
28:1: I100 Imports statements are in the wrong order. from invenio.shellutils should be before import invenio.webuser
29:1: I100 Imports statements are in the wrong order. from invenio.bibcatalog_system should be before from invenio.shellutils
31:1: I101 Imported names are in the wrong order. Should be CFG_BIBCATALOG_SYSTEM, CFG_BIBCATALOG_SYSTEM_RT_CLI, CFG_BIBCATALOG_SYSTEM_RT_DEFAULT_PWD, CFG_BIBCATALOG_SYSTEM_RT_DEFAULT_USER, CFG_BIBCATALOG_SYSTEM_RT_URL, CFG_BIBEDIT_ADD_TICKET_RT_QUEUES
32:28: E126 continuation line over-indented for hanging indent
39: D101 Docstring missing
41:30: E261 at least two spaces before inline comment
43: D400 First line should end with '.', not 's'
96: D401 First line should be imperative: 'return', not 'returns'
96: D209 Put multi-line docstring closing quotes on separate line
96: D202 No blank lines allowed *after* method docstring, found 1
96: D400 First line should end with '.', not 'y'
96: D205 Blank line missing between one-line summary and description
96: D208 Docstring is over-indented
102:26: E261 at least two spaces before inline comment
156:46: E261 at least two spaces before inline comment
174:46: E261 at least two spaces before inline comment
178: D102 Docstring missing
213:5: E303 too many blank lines (2)
213: D401 First line should be imperative: 'create', not 'creates'
213: D400 First line should end with '.', not 'e'
246:19: E127 continuation line over-indented for visual indent
260: D400 First line should end with '.', not 'e'
270: D400 First line should end with '.', not 'e'
274: D400 First line should end with '.', not 'e'
282: D400 First line should end with '.', not 'e'
319:13: F841 local variable 'dummy' is assigned to but never used
333: D400 First line should end with '.', not 't'
340:56: E251 unexpected spaces around keyword / parameter equals
340:58: E251 unexpected spaces around keyword / parameter equals
340: D209 Put multi-line docstring closing quotes on separate line
340: D205 Blank line missing between one-line summary and description
340: D208 Docstring is over-indented
346:13: F841 local variable 'dummy' is assigned to but never used
411:37: E261 at least two spaces before inline comment
413:18: E261 at least two spaces before inline comment
422: D400 First line should end with '.', not 's'
440: D401 First line should be imperative: 'Thi', not 'This'
440: D400 First line should end with '.', not 'd'
440: D205 Blank line missing between one-line summary and description


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


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
22:1: E402 module level import not at top of file
24:1: I100 Imports statements are in the wrong order. import os should be before from invenio.config
24:1: E402 module level import not at top of file
26:1: E266 too many leading '#' for block comment
29:1: E266 too many leading '#' for block comment
30:1: E266 too many leading '#' for block comment
32:1: E266 too many leading '#' for block comment
33:1: E266 too many leading '#' for block comment
36:1: E266 too many leading '#' for block comment
37:1: E266 too many leading '#' for block comment
40:1: E266 too many leading '#' for block comment
41:1: E266 too many leading '#' for block comment
44:1: E266 too many leading '#' for block comment
45:1: E266 too many leading '#' for block comment
48:1: E266 too many leading '#' for block comment
51:1: E266 too many leading '#' for block comment
52:1: E266 too many leading '#' for block comment
55:1: E266 too many leading '#' for block comment
56:1: E266 too many leading '#' for block comment
59:1: E266 too many leading '#' for block comment
60:1: E266 too many leading '#' for block comment
63:1: E266 too many leading '#' for block comment
66:1: E266 too many leading '#' for block comment
67:1: E266 too many leading '#' for block comment
70:1: E266 too many leading '#' for block comment
71:1: E266 too many leading '#' for block comment
72:1: E266 too many leading '#' for block comment
73:1: E266 too many leading '#' for block comment
76:1: E266 too many leading '#' for block comment
79:1: E266 too many leading '#' for block comment
80:1: E266 too many leading '#' for block comment
83:1: E266 too many leading '#' for block comment
84:1: E266 too many leading '#' for block comment
85:1: E266 too many leading '#' for block comment
86:1: E266 too many leading '#' for block comment
89:1: E266 too many leading '#' for block comment
90:1: E266 too many leading '#' for block comment
93:1: E266 too many leading '#' for block comment
94:1: E266 too many leading '#' for block comment
104:28: E203 whitespace before ':'
105:33: E203 whitespace before ':'
106:29: E203 whitespace before ':'
107:31: E203 whitespace before ':'
108:32: E203 whitespace before ':'
109:19: E203 whitespace before ':'
112:29: E203 whitespace before ':'
113:31: E203 whitespace before ':'
117:32: E203 whitespace before ':'
118:20: E203 whitespace before ':'
120:20: E203 whitespace before ':'
123:21: E203 whitespace before ':'
175:21: E203 whitespace before ':'
178:1: E266 too many leading '#' for block comment
181:1: E266 too many leading '#' for block comment
184:1: E266 too many leading '#' for block comment
185:1: E266 too many leading '#' for block comment
186:1: E266 too many leading '#' for block comment
200:39: E261 at least two spaces before inline comment
204:34: E261 at least two spaces before inline comment
204:35: E262 inline comment should start with '# '
207:29: E261 at least two spaces before inline comment
210:34: E261 at least two spaces before inline comment
210:35: E262 inline comment should start with '# '


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
27:1: E402 module level import not at top of file
29:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.dbquery
32:1: E402 module level import not at top of file
46:1: E302 expected 2 blank lines, found 1
54:1: E302 expected 2 blank lines, found 1
54: D200 One-line docstring should not occupy 3 lines
62:1: E302 expected 2 blank lines, found 1
62: D200 One-line docstring should not occupy 3 lines
70:1: E302 expected 2 blank lines, found 1
70: D205 Blank line missing between one-line summary and description
70: D208 Docstring is over-indented
79:1: E302 expected 2 blank lines, found 1
88:1: E302 expected 2 blank lines, found 1
93:1: E302 expected 2 blank lines, found 1
93: D400 First line should end with '.', not 'd'
93: D205 Blank line missing between one-line summary and description
93: D208 Docstring is over-indented
101:1: E302 expected 2 blank lines, found 1
101: D400 First line should end with '.', not 'e'
101: D200 One-line docstring should not occupy 3 lines
116:1: E302 expected 2 blank lines, found 1
116: D400 First line should end with '.', not 'r'
116: D200 One-line docstring should not occupy 3 lines
123:1: E302 expected 2 blank lines, found 1
123: D400 First line should end with '.', not 'd'
123: D200 One-line docstring should not occupy 3 lines
130:1: E302 expected 2 blank lines, found 1
130: D401 First line should be imperative: 'Return', not 'Returns'
130: D400 First line should end with '.', not 'n'
130: D200 One-line docstring should not occupy 3 lines
171: D400 First line should end with '.', not 'e'
171: D205 Blank line missing between one-line summary and description
179:1: E302 expected 2 blank lines, found 1
186:1: E302 expected 2 blank lines, found 1
186: D103 Docstring missing
193:1: E302 expected 2 blank lines, found 1
193: D103 Docstring missing
199:1: E302 expected 2 blank lines, found 1
199: D103 Docstring missing
203:1: E302 expected 2 blank lines, found 1
203: D400 First line should end with '.', not 's'
203: D205 Blank line missing between one-line summary and description


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


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
23:1: E402 module level import not at top of file
25:1: I100 Imports statements are in the wrong order. import re should be before from datetime
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 copy should be before import zlib
27:1: E402 module level import not at top of file
28:1: E402 module level import not at top of file
29:1: E402 module level import not at top of file
30:1: I100 Imports statements are in the wrong order. import cookielib should be before import urllib2
30:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
34:1: E402 module level import not at top of file
35:1: I101 Imported names are in the wrong order. Should be CFG_JSON_AVAILABLE, json
35:1: E402 module level import not at top of file
36:1: E402 module level import not at top of file
37:1: E402 module level import not at top of file
38:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_AJAX_RESULT_CODES, CFG_BIBEDIT_AJAX_RESULT_CODES_REV, CFG_BIBEDIT_AUTHOR_DISPLAY_THRESHOLD, CFG_BIBEDIT_AUTOCOMPLETE_TAGS_KBS, CFG_BIBEDIT_AUTOSUGGEST_TAGS, CFG_BIBEDIT_DISPLAY_AUTHOR_TAGS, CFG_BIBEDIT_DISPLAY_REFERENCE_TAGS, CFG_BIBEDIT_DOI_LOOKUP_FIELD, CFG_BIBEDIT_EXCLUDE_CURATOR_TAGS, CFG_BIBEDIT_JS_CHECK_SCROLL_INTERVAL, CFG_BIBEDIT_JS_CLONED_RECORD_COLOR, CFG_BIBEDIT_JS_CLONED_RECORD_COLOR_FADE_DURATION, CFG_BIBEDIT_JS_HASH_CHECK_INTERVAL, CFG_BIBEDIT_JS_NEW_ADD_FIELD_FORM_COLOR, CFG_BIBEDIT_JS_NEW_ADD_FIELD_FORM_COLOR_FADE_DURATION, CFG_BIBEDIT_JS_NEW_CONTENT_COLOR, CFG_BIBEDIT_JS_NEW_CONTENT_COLOR_FADE_DURATION, CFG_BIBEDIT_JS_NEW_CONTENT_HIGHLIGHT_DELAY, CFG_BIBEDIT_JS_STATUS_ERROR_TIME, CFG_BIBEDIT_JS_STATUS_INFO_TIME, CFG_BIBEDIT_JS_TICKET_REFRESH_DELAY, CFG_BIBEDIT_KEYWORD_RDFLABEL, CFG_BIBEDIT_KEYWORD_TAG, CFG_BIBEDIT_KEYWORD_TAXONOMY, CFG_BIBEDIT_MAX_SEARCH_RESULTS, CFG_BIBEDIT_REQUESTS_UNTIL_SAVE, CFG_BIBEDIT_TAG_FORMAT, CFG_DOI_USER_AGENT
38:1: I100 Imports statements are in the wrong order. from invenio.bibedit_config should be before from invenio.xmlmarc2textmarc
38:1: E402 module level import not at top of file
57:1: I101 Imported names are in the wrong order. Should be CFG_BIBCATALOG_SYSTEM, CFG_BIBCATALOG_SYSTEM_RT_URL, CFG_BIBEDIT_AUTOCOMPLETE, CFG_BIBEDIT_SHOW_HOLDING_PEN_REMOVED_FIELDS, CFG_SITE_LANG
57:1: E402 module level import not at top of file
62:1: I101 Imported names are in the wrong order. Should be deactivate_cache, delete_hp_change, delete_related_holdingpen_changes, get_hp_update_xml, get_info_of_record_revision, get_marcxml_of_record_revision, get_name_tags_all, get_record_last_modification_date, get_record_revision_author, get_record_revisions, get_related_hp_changesets, reserve_record_id
62:1: I100 Imports statements are in the wrong order. from invenio.bibedit_dblayer should be before from invenio.config
62:1: E402 module level import not at top of file
69:1: I101 Imported names are in the wrong order. Should be InvalidCache, add_record_cnum, cache_exists, cache_expired, can_record_have_physical_copies, create_cache, crossref_process_template, delete_cache, extend_record_with_template, get_affiliation_for_paper, get_bibrecord, get_cache_contents, get_cache_mtime, get_field_templates, get_marcxml_of_revision, get_new_ticket_RT_info, get_record_revision_authors, get_record_revision_timestamps, get_record_template, get_record_templates, get_xml_from_textmarc, latest_record_revision, merge_record_with_template, modify_record_timestamp, record_is_conference, record_locked_by_other_user, record_locked_by_queue, record_locked_by_user_details, record_revision_exists, record_xml_output, replace_references, revision_to_timestamp, save_xml_record, timestamp_to_revision, touch_cache, update_cache_contents
69:1: E402 module level import not at top of file
84:1: I101 Imported names are in the wrong order. Should be create_field, create_record, field_add_subfield, field_get_subfield_values, print_rec, record_add_field, record_add_fields, record_add_subfield_into, record_delete_field, record_delete_subfield_from, record_extract_dois, record_get_field_instances, record_get_field_values, record_get_subfields, record_modify_controlfield, record_modify_subfield, record_move_fields, record_move_subfield, record_order_subfields, record_replace_field, record_strip_controlfields, record_strip_empty_fields, record_strip_empty_volatile_subfields
84:1: E402 module level import not at top of file
95:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_INTERNAL_DOI_PROTECTION_LEVEL, CFG_BIBEDIT_KB_SUBJECTS, CFG_BIBEDIT_PROTECTED_FIELDS, CFG_BIBUPLOAD_INTERNAL_DOI_PATTERN, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_SITE_RECORD, CFG_SITE_URL
95:1: E402 module level import not at top of file
99:1: I101 Imported names are in the wrong order. Should be guess_primary_collection_of_a_record, perform_request_search, record_exists
99:1: E402 module level import not at top of file
101:1: E402 module level import not at top of file
102:1: I100 Imports statements are in the wrong order. from invenio.bibcatalog should be before from invenio.webuser
102:1: E402 module level import not at top of file
103:1: E402 module level import not at top of file
104:1: E402 module level import not at top of file
105:1: I100 Imports statements are in the wrong order. from invenio.htmlutils should be before from invenio.webpage
105:1: E402 module level import not at top of file
106:1: I101 Imported names are in the wrong order. Should be show_diff, wash_for_xml
106:1: E402 module level import not at top of file
107:1: I100 Imports statements are in the wrong order. from invenio.bibknowledge should be before from invenio.textutils
107:1: E402 module level import not at top of file
108:6: E126 continuation line over-indented for hanging indent
110:1: I100 Imports statements are in the wrong order. from invenio.batchuploader_engine should be before from invenio.bibknowledge
110:1: E402 module level import not at top of file
112:1: E402 module level import not at top of file
113:1: E402 module level import not at top of file
115:1: E402 module level import not at top of file
116:36: E126 continuation line over-indented for hanging indent
119:1: I100 Imports statements are in the wrong order. from invenio should be before from invenio.refextract_api
119:1: E402 module level import not at top of file
120:1: I101 Imported names are in the wrong order. Should be CrossrefError, get_marcxml_for_doi
120:1: E402 module level import not at top of file
122:1: E402 module level import not at top of file
134: D103 Docstring missing
139: D400 First line should end with '.', not ':'
139: D205 Blank line missing between one-line summary and description
146:17: E126 continuation line over-indented for hanging indent
149:22: E203 whitespace before ':'
150:23: E203 whitespace before ':'
151:23: E203 whitespace before ':'
152:28: E203 whitespace before ':'
153:33: E203 whitespace before ':'
154:13: E126 continuation line over-indented for hanging indent
155:23: E203 whitespace before ':'
156:30: E203 whitespace before ':'
158:33: E203 whitespace before ':'
159:22: E203 whitespace before ':'
160:24: E203 whitespace before ':'
161:13: E126 continuation line over-indented for hanging indent
163:1: E302 expected 2 blank lines, found 1
163: D400 First line should end with '.', not 's'
163: D205 Blank line missing between one-line summary and description
177:9: E115 expected an indented block (comment)
179:21: E126 continuation line over-indented for hanging indent
179:27: E203 whitespace before ':'
180:34: E203 whitespace before ':'
181:37: E203 whitespace before ':'
182:26: E203 whitespace before ':'
183:28: E203 whitespace before ':'
184:17: E121 continuation line under-indented for hanging indent
187:21: E126 continuation line over-indented for hanging indent
189:26: E203 whitespace before ':'
190:27: E203 whitespace before ':'
191:27: E203 whitespace before ':'
192:32: E203 whitespace before ':'
193:37: E203 whitespace before ':'
197:1: E302 expected 2 blank lines, found 1
199:11: E221 multiple spaces before operator
216:26: E251 unexpected spaces around keyword / parameter equals
216:34: E251 unexpected spaces around keyword / parameter equals
216:26: E221 multiple spaces before operator
217:25: E251 unexpected spaces around keyword / parameter equals
217:34: E251 unexpected spaces around keyword / parameter equals
217:25: E221 multiple spaces before operator
218:27: E251 unexpected spaces around keyword / parameter equals
218:34: E251 unexpected spaces around keyword / parameter equals
218:27: E221 multiple spaces before operator
219:29: E251 unexpected spaces around keyword / parameter equals
219:34: E251 unexpected spaces around keyword / parameter equals
219:29: E221 multiple spaces before operator
220:24: E251 unexpected spaces around keyword / parameter equals
220:34: E251 unexpected spaces around keyword / parameter equals
220:24: E221 multiple spaces before operator
221:29: E251 unexpected spaces around keyword / parameter equals
221:34: E251 unexpected spaces around keyword / parameter equals
221:29: E221 multiple spaces before operator
222:29: E251 unexpected spaces around keyword / parameter equals
222:34: E251 unexpected spaces around keyword / parameter equals
222:29: E221 multiple spaces before operator
223:32: E251 unexpected spaces around keyword / parameter equals
223:34: E251 unexpected spaces around keyword / parameter equals
224:24: E251 unexpected spaces around keyword / parameter equals
224:34: E251 unexpected spaces around keyword / parameter equals
224:24: E221 multiple spaces before operator
227:5: E303 too many blank lines (2)
229:13: E128 continuation line under-indented for visual indent
260:32: E203 whitespace before ':'
261:33: E203 whitespace before ':'
262:27: E203 whitespace before ':'
262:59: E221 multiple spaces before operator
263:35: E203 whitespace before ':'
312: D400 First line should end with '.', not 'h'
312: D205 Blank line missing between one-line summary and description
322: D400 First line should end with '.', not 'D'
322: D205 Blank line missing between one-line summary and description
342: D202 No blank lines allowed *after* function docstring, found 1
342: D400 First line should end with '.', not 's'
377:49: E128 continuation line under-indented for visual indent
380:1: E302 expected 2 blank lines, found 1
380: D400 First line should end with '.', not 'r'
380: D205 Blank line missing between one-line summary and description
401: D103 Docstring missing
404:5: B901 blind except: statement
426:9: E128 continuation line under-indented for visual indent
427:9: E128 continuation line under-indented for visual indent
427:9: E129 visually indented line with same indent as next logical line
452:84: E231 missing whitespace after ','
494:1: E302 expected 2 blank lines, found 1
494: D290 White spaces around docstring should be trimmed.
494: D400 First line should end with '.', not 's'
544: D400 First line should end with '.', not 'f'
544: D205 Blank line missing between one-line summary and description
577:13: E303 too many blank lines (2)
589: D400 First line should end with '.', not 'r'
589: D205 Blank line missing between one-line summary and description
769:75: E502 the backslash is redundant between brackets
876:25: E127 continuation line over-indented for visual indent
892:53: E261 at least two spaces before inline comment
893:52: E114 indentation is not a multiple of four (comment)
893:52: E116 unexpected indentation (comment)
901:61: E126 continuation line over-indented for hanging indent
908:25: E126 continuation line over-indented for hanging indent
963:17: E128 continuation line under-indented for visual indent
970: D202 No blank lines allowed *after* function docstring, found 1
970: D400 First line should end with '.', not 'g'
970: D205 Blank line missing between one-line summary and description
1018:13: B901 blind except: statement
1026:13: B901 blind except: statement
1075:21: E128 continuation line under-indented for visual indent
1108:67: E114 indentation is not a multiple of four (comment)
1110:44: E126 continuation line over-indented for hanging indent
1121:44: E261 at least two spaces before inline comment
1123:42: E261 at least two spaces before inline comment
1124:43: E114 indentation is not a multiple of four (comment)
1124:43: E116 unexpected indentation (comment)
1128:17: E128 continuation line under-indented for visual indent
1134:21: E128 continuation line under-indented for visual indent
1139:19: E128 continuation line under-indented for visual indent
1144:13: E128 continuation line under-indented for visual indent
1144:46: E251 unexpected spaces around keyword / parameter equals
1145:13: E122 continuation line missing indentation or outdented
1148:13: E128 continuation line under-indented for visual indent
1154:13: E128 continuation line under-indented for visual indent
1157:42: E203 whitespace before ','
1165:17: E128 continuation line under-indented for visual indent
1172:18: E261 at least two spaces before inline comment
1175:17: E128 continuation line under-indented for visual indent
1190:29: E128 continuation line under-indented for visual indent
1198:33: E128 continuation line under-indented for visual indent
1224: D400 First line should end with '.', not 'e'
1224: D205 Blank line missing between one-line summary and description
1238:9: E116 unexpected indentation (comment)
1311: D200 One-line docstring should not occupy 3 lines
1325:21: E128 continuation line under-indented for visual indent
1340:25: E122 continuation line missing indentation or outdented
1341:25: E122 continuation line missing indentation or outdented
1342:25: E122 continuation line missing indentation or outdented
1415:38: E128 continuation line under-indented for visual indent
1435: D401 First line should be imperative: 'Add', not 'Adds'
1435: D400 First line should end with '.', not ')'
1435: D205 Blank line missing between one-line summary and description
1451:36: E127 continuation line over-indented for visual indent
1452:36: E127 continuation line over-indented for visual indent
1457: D400 First line should end with '.', not 's'
1474:9: E128 continuation line under-indented for visual indent
1475:13: E128 continuation line under-indented for visual indent
1476:9: E128 continuation line under-indented for visual indent
1481: D400 First line should end with '.', not 'l'
1481: D205 Blank line missing between one-line summary and description
1499:5: B901 blind except: statement
1522: D290 White spaces around docstring should be trimmed.
1522: D202 No blank lines allowed *after* function docstring, found 1
1522: D400 First line should end with '.', not 'd'
1564:5: B901 blind except: statement
1584: D290 White spaces around docstring should be trimmed.
1584: D400 First line should end with '.', not 'g'
1584: D200 One-line docstring should not occupy 3 lines
1616: D290 White spaces around docstring should be trimmed.
1616: D400 First line should end with '.', not 'F'
1616: D200 One-line docstring should not occupy 2 lines
1628: D290 White spaces around docstring should be trimmed.
1628: D400 First line should end with '.', not 't'
1628: D200 One-line docstring should not occupy 2 lines
1640:13: E126 continuation line over-indented for hanging indent
1645: D290 White spaces around docstring should be trimmed.
1645: D400 First line should end with '.', not 'o'
1645: D205 Blank line missing between one-line summary and description
1660:13: E128 continuation line under-indented for visual indent
1661:29: E127 continuation line over-indented for visual indent
1667: D401 First line should be imperative: 'Return', not 'Returns'
1667: D400 First line should end with '.', not 't'
1684:26: E128 continuation line under-indented for visual indent
1685:26: E124 closing bracket does not match visual indentation
1700:38: E128 continuation line under-indented for visual indent
1712:5: E303 too many blank lines (2)
1714:1: E266 too many leading '#' for block comment
1716:1: E302 expected 2 blank lines, found 1
1716: D400 First line should end with '.', not 's'
1762: D290 White spaces around docstring should be trimmed.
1762: D400 First line should end with '.', not 'e'
1775: D209 Put multi-line docstring closing quotes on separate line
1775: D400 First line should end with '.', not 'e'
1775: D205 Blank line missing between one-line summary and description
1788:5: B901 blind except: statement
1795: D290 White spaces around docstring should be trimmed.
1795: D400 First line should end with '.', not 'e'
1800: D103 Docstring missing
1837: D103 Docstring missing
1850:45: E131 continuation line unaligned for hanging indent


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