30:1: I100 Imports statements are in the wrong order. from ConfigParser should be before from urllib
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. import os should be before from six
32:1: I201 Missing newline before sections or imports.
33:1: I100 Imports statements are in the wrong order. import gzip should be before import os
37:1: I101 Imported names are in the wrong order. Should be get_all_restricted_recids, get_collection_reclist
38:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.search_engine
39:1: I101 Imported names are in the wrong order. Should be CFG_ETCDIR, CFG_SITE_LANGS, CFG_SITE_RECORD, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBDIR
39:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.dbquery
41:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.config
42:1: I101 Imported names are in the wrong order. Should be task_sleep_now_if_required, task_update_progress, write_message
42:1: I201 Missing newline before sections or imports.
72:1: E302 expected 2 blank lines, found 1
72: D200 One-line docstring should not occupy 3 lines
81:1: E302 expected 2 blank lines, found 1
81: D290 White spaces around docstring should be trimmed.
81: D400 First line should end with '.', not 'n'
81: D205 Blank line missing between one-line summary and description
96:1: E302 expected 2 blank lines, found 1
96: D290 White spaces around docstring should be trimmed.
96: D400 First line should end with '.', not 'l'
96: D205 Blank line missing between one-line summary and description
101:5: E301 expected 1 blank line, found 0
101: D290 White spaces around docstring should be trimmed.
101: D400 First line should end with '.', not 'd'
132:1: E302 expected 2 blank lines, found 1
132: D401 First line should be imperative: 'return', not 'returns'
132: D290 White spaces around docstring should be trimmed.
132: D209 Put multi-line docstring closing quotes on separate line
132: D205 Blank line missing between one-line summary and description
153: D290 White spaces around docstring should be trimmed.
153: D400 First line should end with '.', not ')'
165: D290 White spaces around docstring should be trimmed.
165: D400 First line should end with '.', not ')'
188:1: E302 expected 2 blank lines, found 1
188: D290 White spaces around docstring should be trimmed.
188: D203 Expected 1 blank line *before* class docstring, found 0
188: D400 First line should end with '.', not 's'
191: D290 White spaces around docstring should be trimmed.
191: D205 Blank line missing between one-line summary and description
212: D290 White spaces around docstring should be trimmed.
212: D400 First line should end with '.', not 'p'
223:71: E502 the backslash is redundant between brackets
233:42: E261 at least two spaces before inline comment
233:43: E262 inline comment should start with '# '
241: D290 White spaces around docstring should be trimmed.
241: D400 First line should end with '.', not 'B'
245: D290 White spaces around docstring should be trimmed.
245: D400 First line should end with '.', not '0'
249: D401 First line should be imperative: 'Return', not 'Returns'
249: D290 White spaces around docstring should be trimmed.
249: D400 First line should end with '.', not 'e'
253: D401 First line should be imperative: 'Return', not 'Returns'
253: D290 White spaces around docstring should be trimmed.
253: D400 First line should end with '.', not 'L'
257: D401 First line should be imperative: 'Write', not 'Writes'
257: D290 White spaces around docstring should be trimmed.
257: D400 First line should end with '.', not 'p'
264:1: E122 continuation line missing indentation or outdented
265:1: E122 continuation line missing indentation or outdented
266:1: E122 continuation line missing indentation or outdented
267:1: E122 continuation line missing indentation or outdented
268:1: E122 continuation line missing indentation or outdented
269:1: E122 continuation line missing indentation or outdented
273:1: E302 expected 2 blank lines, found 1
273: D203 Expected 1 blank line *before* class docstring, found 0
276: D290 White spaces around docstring should be trimmed.
276: D205 Blank line missing between one-line summary and description
289: D290 White spaces around docstring should be trimmed.
289: D400 First line should end with '.', not 'p'
297:67: E502 the backslash is redundant between brackets
298:45: E128 continuation line under-indented for visual indent
304: D401 First line should be imperative: 'Write', not 'Writes'
304: D290 White spaces around docstring should be trimmed.
304: D400 First line should end with '.', not 'p'
310:1: E302 expected 2 blank lines, found 1
310: D400 First line should end with '.', not 's'
310: D200 One-line docstring should not occupy 3 lines
335:33: E128 continuation line under-indented for visual indent
335:40: E251 unexpected spaces around keyword / parameter equals
335:42: E251 unexpected spaces around keyword / parameter equals
336:33: E128 continuation line under-indented for visual indent
336:43: E251 unexpected spaces around keyword / parameter equals
336:45: E251 unexpected spaces around keyword / parameter equals
337:33: E128 continuation line under-indented for visual indent
337:41: E251 unexpected spaces around keyword / parameter equals
337:43: E251 unexpected spaces around keyword / parameter equals
350:25: E128 continuation line under-indented for visual indent
350:32: E251 unexpected spaces around keyword / parameter equals
350:34: E251 unexpected spaces around keyword / parameter equals
351:25: E128 continuation line under-indented for visual indent
351:35: E251 unexpected spaces around keyword / parameter equals
351:37: E251 unexpected spaces around keyword / parameter equals
352:25: E128 continuation line under-indented for visual indent
352:33: E251 unexpected spaces around keyword / parameter equals
352:35: E251 unexpected spaces around keyword / parameter equals
353:25: E128 continuation line under-indented for visual indent
365:41: E251 unexpected spaces around keyword / parameter equals
365:43: E251 unexpected spaces around keyword / parameter equals
366:44: E251 unexpected spaces around keyword / parameter equals
366:46: E251 unexpected spaces around keyword / parameter equals
367:42: E251 unexpected spaces around keyword / parameter equals
367:44: E251 unexpected spaces around keyword / parameter equals
380:41: E251 unexpected spaces around keyword / parameter equals
380:43: E251 unexpected spaces around keyword / parameter equals
381:44: E251 unexpected spaces around keyword / parameter equals
381:46: E251 unexpected spaces around keyword / parameter equals
382:42: E251 unexpected spaces around keyword / parameter equals
382:44: E251 unexpected spaces around keyword / parameter equals
395:41: E251 unexpected spaces around keyword / parameter equals
395:43: E251 unexpected spaces around keyword / parameter equals
396:44: E251 unexpected spaces around keyword / parameter equals
396:46: E251 unexpected spaces around keyword / parameter equals
397:42: E251 unexpected spaces around keyword / parameter equals
397:44: E251 unexpected spaces around keyword / parameter equals
402:1: E302 expected 2 blank lines, found 1
402: D400 First line should end with '.', not 's'
402: D205 Blank line missing between one-line summary and description
424:1: E302 expected 2 blank lines, found 1
424:74: E251 unexpected spaces around keyword / parameter equals
424:76: E251 unexpected spaces around keyword / parameter equals
424: D209 Put multi-line docstring closing quotes on separate line
424: D400 First line should end with '.', not 'g'
424: D205 Blank line missing between one-line summary and description
424: D208 Docstring is over-indented


1: D100 Docstring missing
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: I100 Imports statements are in the wrong order. import fnmatch should be before import time
33:1: E402 module level import not at top of file
34:1: E402 module level import not at top of file
35:1: E402 module level import not at top of file
36:1: I201 Missing newline before sections or imports.
36:1: E402 module level import not at top of file
38:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
38:1: E402 module level import not at top of file
39:1: I101 Imported names are in the wrong order. Should be CFG_BIBINDEX_ADDING_RECORDS_STARTED_STR, CFG_BIBINDEX_INDEX_TABLE_TYPE, CFG_BIBINDEX_SPECIAL_TAGS, CFG_BIBINDEX_TOKENIZER_TYPE, CFG_BIBINDEX_UPDATE_MESSAGE, CFG_BIBINDEX_UPDATE_MODE, CFG_BIBINDEX_WASH_INDEX_TERMS, CFG_CHECK_MYSQL_THREADS, CFG_MAX_MYSQL_THREADS, CFG_MYSQL_THREAD_TIMEOUT
39:1: E402 module level import not at top of file
40:6: E126 continuation line over-indented for hanging indent
49:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibauthority.config should be before from invenio.legacy.bibindex.engine_config
49:1: E402 module level import not at top of file
50:6: E126 continuation line over-indented for hanging indent
51:1: I101 Imported names are in the wrong order. Should be get_control_nos_from_recID, get_index_strings_by_control_no
51:1: F401 'get_index_strings_by_control_no' imported but unused
51:1: E402 module level import not at top of file
52:6: E126 continuation line over-indented for hanging indent
53:1: I101 Imported names are in the wrong order. Should be get_synonym_terms, perform_request_search, search_pattern
53:1: E402 module level import not at top of file
54:6: E126 continuation line over-indented for hanging indent
56:1: I101 Imported names are in the wrong order. Should be DatabaseError, deserialize_via_marshal, run_sql, serialize_via_marshal, wash_table_column_name
56:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.search_engine
56:1: E402 module level import not at top of file
57:6: E126 continuation line over-indented for hanging indent
58:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_washer should be before from invenio.legacy.dbquery
58:1: E402 module level import not at top of file
59:1: I101 Imported names are in the wrong order. Should be get_datetime, task_get_option, task_get_task_param, task_init, task_set_option, task_sleep_now_if_required, task_update_progress, write_message
59:1: E402 module level import not at top of file
62:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.bibsched.bibtask
62:1: E402 module level import not at top of file
63:1: I201 Missing newline before sections or imports.
63:1: E402 module level import not at top of file
64:1: F401 'get_def_name' imported but unused
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 CFG_JOURNAL_PUBINFO_STANDARD_FORM, CFG_JOURNAL_PUBINFO_STANDARD_FORM_REGEXP_CHECK, CFG_JOURNAL_TAG
66:1: F401 'CFG_JOURNAL_PUBINFO_STANDARD_FORM_REGEXP_CHECK' imported but unused
66:1: F401 'CFG_JOURNAL_PUBINFO_STANDARD_FORM' imported but unused
66:1: F401 'CFG_JOURNAL_TAG' imported but unused
66:1: E402 module level import not at top of file
70:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.termcollectors should be before from invenio.modules.indexer.tokenizers.BibIndexJournalTokenizer
70:1: E402 module level import not at top of file
71:1: I101 Imported names are in the wrong order. Should be filter_for_virtual_indexes, get_all_index_names_and_column_values, get_all_indexes, get_all_synonym_knowledge_bases, get_field_tags, get_index_remove_html_markup, get_index_remove_latex_markup, get_index_remove_stopwords, get_index_tags, get_index_virtual_indexes, get_marc_tag_indexes, get_min_last_updated, get_nonmarc_tag_indexes, get_records_range_for_index, get_virtual_index_building_blocks, list_union, load_tokenizers, make_prefix, recognize_marc_tag, remove_inexistent_indexes, run_sql_drop_silently
71:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_utils should be before from invenio.legacy.bibindex.termcollectors
71:1: F401 'get_field_tags' imported but unused
71:1: F401 'get_all_index_names_and_column_values' imported but unused
71:1: E402 module level import not at top of file
92:1: E402 module level import not at top of file
93:1: F401 'get_record' imported but unused
93:1: E402 module level import not at top of file
94:1: E402 module level import not at top of file
95:1: I101 Imported names are in the wrong order. Should be NonmarcTermCollector, TermCollector
95:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.termcollectors should be before from invenio.utils.memoise
95:1: F999 redefinition of unused 'TermCollector' from line 70
95:1: E402 module level import not at top of file
99:1: E402 module level import not at top of file
114:17: E261 at least two spaces before inline comment
115:25: E261 at least two spaces before inline comment
122: D401 First line should be imperative: 'Return', not 'Returns'
131: D400 First line should end with '.', not 'n'
131: D205 Blank line missing between one-line summary and description
131: D208 Docstring is over-indented
146:66: E502 the backslash is redundant between brackets
151: D400 First line should end with '.', not 'd'
151: D205 Blank line missing between one-line summary and description
180: D400 First line should end with '.', not 'e'
180: D205 Blank line missing between one-line summary and description
188: D209 Put multi-line docstring closing quotes on separate line
188: D205 Blank line missing between one-line summary and description
191:53: E502 the backslash is redundant between brackets
214:67: E225 missing whitespace around operator
215:30: E124 closing bracket does not match visual indentation
215:31: E261 at least two spaces before inline comment
224:33: E261 at least two spaces before inline comment
236:33: E261 at least two spaces before inline comment
247:33: E261 at least two spaces before inline comment
259:33: E261 at least two spaces before inline comment
270:33: E261 at least two spaces before inline comment
282:33: E261 at least two spaces before inline comment
292: D401 First line should be imperative: 'Remove', not 'Removes'
292: D300 Expected """-quotes, got '-quotes
297: D401 First line should be imperative: 'Return', not 'Returns'
297: D400 First line should end with '.', not 'd'
309: D401 First line should be imperative: 'Return', not 'Returns'
309: D400 First line should end with '.', not 'e'
309: D205 Blank line missing between one-line summary and description
309: D208 Docstring is over-indented
320:68: E502 the backslash is redundant between brackets
328: D401 First line should be imperative: 'Check', not 'Checks'
328: D205 Blank line missing between one-line summary and description
328: D208 Docstring is over-indented
349: D401 First line should be imperative: 'Return', not 'Returns'
349: D400 First line should end with '.', not 's'
351:10: E225 missing whitespace around operator
366:56: E261 at least two spaces before inline comment
374: D290 White spaces around docstring should be trimmed.
374: D400 First line should end with '.', not 's'
374: D205 Blank line missing between one-line summary and description
385:70: E502 the backslash is redundant between brackets
386:32: E127 continuation line over-indented for visual indent
390: D401 First line should be imperative: 'Return', not 'Returns'
390: D400 First line should end with '.', not 'e'
390: D300 Expected """-quotes, got '-quotes
403: D401 First line should be imperative: 'Create', not 'Creates'
403: D209 Put multi-line docstring closing quotes on separate line
403: D400 First line should end with '.', not 'd'
403: D205 Blank line missing between one-line summary and description
422: D401 First line should be imperative: 'Return', not 'Returns'
422: D400 First line should end with '.', not 't'
444:74: E502 the backslash is redundant between brackets
448:52: E261 at least two spaces before inline comment
449:52: E261 at least two spaces before inline comment
450:54: E261 at least two spaces before inline comment
451:54: E261 at least two spaces before inline comment
454: D205 Blank line missing between one-line summary and description
454: D208 Docstring is over-indented
464:70: E502 the backslash is redundant between brackets
470: D290 White spaces around docstring should be trimmed.
470: D400 First line should end with '.', not 'd'
480: D401 First line should be imperative: 'find_affected_record', not 'find_affected_records'
480: D205 Blank line missing between one-line summary and description
480: D208 Docstring is over-indented
491: D202 No blank lines allowed *after* function docstring, found 1
491: D400 First line should end with '.', not 'd'
491: D205 Blank line missing between one-line summary and description
491: D208 Docstring is over-indented
512:37: E127 continuation line over-indented for visual indent
538:24: E127 continuation line over-indented for visual indent
547:20: E126 continuation line over-indented for hanging indent
585: D401 First line should be imperative: 'Split', not 'Splits'
585: D400 First line should end with '.', not 's'
585: D205 Blank line missing between one-line summary and description
585: D208 Docstring is over-indented
606: D203 Expected 1 blank line *before* class docstring, found 0
606: D205 Blank line missing between one-line summary and description
606: D208 Docstring is over-indented
625: D102 Docstring missing
630:65: E502 the backslash is redundant between brackets
631:49: E128 continuation line under-indented for visual indent
631:57: E502 the backslash is redundant between brackets
632:49: E128 continuation line under-indented for visual indent
632:62: E502 the backslash is redundant between brackets
633:49: E128 continuation line under-indented for visual indent
636:24: E261 at least two spaces before inline comment
639: D401 First line should be imperative: 'Update', not 'Updates'
639: D400 First line should end with '.', not 'B'
639: D205 Blank line missing between one-line summary and description
639: D208 Docstring is over-indented
644:57: E502 the backslash is redundant between brackets
646:64: E502 the backslash is redundant between brackets
648:62: E502 the backslash is redundant between brackets
649:23: E128 continuation line under-indented for visual indent
668:63: E502 the backslash is redundant between brackets
671:73: E502 the backslash is redundant between brackets
676:62: E502 the backslash is redundant between brackets
690:65: E502 the backslash is redundant between brackets
702:75: E502 the backslash is redundant between brackets
708:55: E502 the backslash is redundant between brackets
710:54: E502 the backslash is redundant between brackets
711:23: E128 continuation line under-indented for visual indent
713: D400 First line should end with '.', not 'y'
716:28: E261 at least two spaces before inline comment
720:74: E502 the backslash is redundant between brackets
724:74: E502 the backslash is redundant between brackets
726:134: E261 at least two spaces before inline comment
728:14: E261 at least two spaces before inline comment
729:70: E502 the backslash is redundant between brackets
733:142: E261 at least two spaces before inline comment
735:17: E266 too many leading '#' for block comment
736:17: E266 too many leading '#' for block comment
739:20: E261 at least two spaces before inline comment
740:104: E261 at least two spaces before inline comment
742: D401 First line should be imperative: 'Keep', not 'Keeps'
742: D400 First line should end with '.', not 'g'
742: D205 Blank line missing between one-line summary and description
742: D208 Docstring is over-indented
762:29: F841 local variable 'e' is assigned to but never used
763:84: E502 the backslash is redundant between brackets
775: D400 First line should end with '.', not 'y'
775: D205 Blank line missing between one-line summary and description
789: D401 First line should be imperative: 'Clean', not 'Cleans'
789: D300 Expected """-quotes, got '-quotes
794: D203 Expected 1 blank line *before* class docstring, found 0
794: D205 Blank line missing between one-line summary and description
794: D208 Docstring is over-indented
810: D401 First line should be imperative: 'Create', not 'Creates'
810: D205 Blank line missing between one-line summary and description
810: D208 Docstring is over-indented
819:43: E127 continuation line over-indented for visual indent
820:43: E127 continuation line over-indented for visual indent
821:43: E127 continuation line over-indented for visual indent
825: D401 First line should be imperative: 'Set', not 'Sets'
825: D400 First line should end with '.', not 'l'
825: D205 Blank line missing between one-line summary and description
825: D208 Docstring is over-indented
833: D205 Blank line missing between one-line summary and description
833: D208 Docstring is over-indented
852:85: E502 the backslash is redundant between brackets
874:28: E126 continuation line over-indented for hanging indent
877:87: E502 the backslash is redundant between brackets
907: D401 First line should be imperative: 'Retrieve', not 'Retrieves'
907: D202 No blank lines allowed *after* method docstring, found 1
907: D400 First line should end with '.', not 'x'
907: D205 Blank line missing between one-line summary and description
907: D208 Docstring is over-indented
927: D401 First line should be imperative: 'Retrieve', not 'Retrieves'
927: D202 No blank lines allowed *after* method docstring, found 1
927: D400 First line should end with '.', not 'x'
927: D205 Blank line missing between one-line summary and description
927: D208 Docstring is over-indented
947: D401 First line should be imperative: 'Update', not 'Updates'
947: D400 First line should end with '.', not ':'
947: D205 Blank line missing between one-line summary and description
947: D208 Docstring is over-indented
977:55: E502 the backslash is redundant between brackets
978:24: E127 continuation line over-indented for visual indent
979:24: E127 continuation line over-indented for visual indent
979:69: E261 at least two spaces before inline comment
981:174: E261 at least two spaces before inline comment
985: D401 First line should be imperative: 'Insert', not 'Inserts'
985: D400 First line should end with '.', not 'e'
985: D205 Blank line missing between one-line summary and description
985: D208 Docstring is over-indented
1013:179: E261 at least two spaces before inline comment
1015:174: E261 at least two spaces before inline comment
1019: D401 First line should be imperative: 'Remove', not 'Removes'
1019: D400 First line should end with '.', not 'd'
1019: D205 Blank line missing between one-line summary and description
1019: D208 Docstring is over-indented
1044:179: E261 at least two spaces before inline comment
1046:174: E261 at least two spaces before inline comment
1050: D401 First line should be imperative: 'Update', not 'Updates'
1050: D400 First line should end with '.', not 'o'
1050: D205 Blank line missing between one-line summary and description
1050: D208 Docstring is over-indented
1089: D401 First line should be imperative: 'Update', not 'Updates'
1089: D205 Blank line missing between one-line summary and description
1089: D208 Docstring is over-indented
1104: D401 First line should be imperative: 'Update', not 'Updates'
1104: D400 First line should end with '.', not 'd'
1104: D205 Blank line missing between one-line summary and description
1104: D208 Docstring is over-indented
1132: D401 First line should be imperative: 'Remove', not 'Removes'
1132: D400 First line should end with '.', not 'e'
1139: D401 First line should be imperative: 'Clean', not 'Cleans'
1139: D400 First line should end with '.', not ')'
1139: D205 Blank line missing between one-line summary and description
1139: D208 Docstring is over-indented
1146:18: E127 continuation line over-indented for visual indent
1150: D401 First line should be imperative: 'Remove', not 'Removes'
1150: D400 First line should end with '.', not ')'
1150: D205 Blank line missing between one-line summary and description
1150: D208 Docstring is over-indented
1167:5: E303 too many blank lines (2)
1167: D401 First line should be imperative: 'Remove', not 'Removes'
1167: D205 Blank line missing between one-line summary and description
1167: D208 Docstring is over-indented
1205: D203 Expected 1 blank line *before* class docstring, found 0
1205: D400 First line should end with '.', not 'x'
1205: D205 Blank line missing between one-line summary and description
1205: D208 Docstring is over-indented
1216: D401 First line should be imperative: 'Create', not 'Creates'
1216: D205 Blank line missing between one-line summary and description
1257: D401 First line should be imperative: 'Fill', not 'Fills'
1257: D400 First line should end with '.', not 'h'
1257: D205 Blank line missing between one-line summary and description
1257: D208 Docstring is over-indented
1280: D401 First line should be imperative: 'Prevent', not 'Prevents'
1280: D208 Docstring is over-indented
1280: D200 One-line docstring should not occupy 3 lines
1286: D401 First line should be imperative: 'Turn', not 'Turns'
1286: D208 Docstring is over-indented
1286: D200 One-line docstring should not occupy 3 lines
1292: D401 First line should be imperative: 'Return', not 'Returns'
1292: D209 Put multi-line docstring closing quotes on separate line
1292: D202 No blank lines allowed *after* method docstring, found 1
1292: D400 First line should end with '.', not 'e'
1292: D205 Blank line missing between one-line summary and description
1292: D208 Docstring is over-indented
1307: D401 First line should be imperative: 'Inform', not 'Informs'
1307: D205 Blank line missing between one-line summary and description
1307: D208 Docstring is over-indented
1327: D401 First line should be imperative: 'Display', not 'Displays'
1327: D300 Expected """-quotes, got '-quotes
1334: D401 First line should be imperative: 'Return', not 'Returns'
1334: D300 Expected """-quotes, got '-quotes
1338: D401 First line should be imperative: 'Print', not 'Prints'
1338: D300 Expected """-quotes, got '-quotes
1342: D202 No blank lines allowed *after* method docstring, found 1
1342: D300 Expected """-quotes, got '-quotes
1355:62: E502 the backslash is redundant between brackets
1356:17: E128 continuation line under-indented for visual indent
1358:75: E502 the backslash is redundant between brackets
1359:31: E127 continuation line over-indented for visual indent
1361: D401 First line should be imperative: 'Fetche', not 'Fetches'
1361: D400 First line should end with '.', not 's'
1361: D205 Blank line missing between one-line summary and description
1374:35: E261 at least two spaces before inline comment
1391:73: E502 the backslash is redundant between brackets
1392:25: E128 continuation line under-indented for visual indent
1402:73: E502 the backslash is redundant between brackets
1403:25: E128 continuation line under-indented for visual indent
1459:31: E701 multiple statements on one line (colon)
1480:27: E701 multiple statements on one line (colon)
1483:184: E261 at least two spaces before inline comment
1486:179: E261 at least two spaces before inline comment
1498: D401 First line should be imperative: 'Divide', not 'Divides'
1498: D209 Put multi-line docstring closing quotes on separate line
1498: D400 First line should end with '.', not ','
1498: D205 Blank line missing between one-line summary and description
1498: D208 Docstring is over-indented
1520: D209 Put multi-line docstring closing quotes on separate line
1520: D205 Blank line missing between one-line summary and description
1531:81: E502 the backslash is redundant between brackets
1532:17: E128 continuation line under-indented for visual indent
1535:63: E502 the backslash is redundant between brackets
1536:21: E128 continuation line under-indented for visual indent
1538: D401 First line should be imperative: 'Keep', not 'Keeps'
1538: D400 First line should end with '.', not 'g'
1538: D205 Blank line missing between one-line summary and description
1538: D208 Docstring is over-indented
1558:9: B901 blind except: statement
1562:5: E303 too many blank lines (2)
1562: D401 First line should be imperative: 'Fetche', not 'Fetches'
1562: D400 First line should end with '.', not 's'
1562: D205 Blank line missing between one-line summary and description
1578: D401 First line should be imperative: 'Delete', not 'Deletes'
1578: D209 Put multi-line docstring closing quotes on separate line
1578: D400 First line should end with '.', not 'w'
1578: D205 Blank line missing between one-line summary and description
1578: D208 Docstring is over-indented
1581:82: E502 the backslash is redundant between brackets
1582:17: E128 continuation line under-indented for visual indent
1592:80: E502 the backslash is redundant between brackets
1593:17: E128 continuation line under-indented for visual indent
1595: D401 First line should be imperative: 'Find', not 'Finds'
1595: D200 One-line docstring should not occupy 3 lines
1604: D400 First line should end with '.', not 'r'
1604: D205 Blank line missing between one-line summary and description
1628: D400 First line should end with '.', not 'e'
1646:35: E261 at least two spaces before inline comment
1677: D400 First line should end with '.', not 'e'
1679:9: E266 too many leading '#' for block comment
1685:19: E261 at least two spaces before inline comment
1687:9: E266 too many leading '#' for block comment
1690:17: E127 continuation line over-indented for visual indent
1695: D202 No blank lines allowed *after* method docstring, found 1
1695: D400 First line should end with '.', not 'y'
1695: D205 Blank line missing between one-line summary and description
1719:15: E261 at least two spaces before inline comment
1721:16: E713 test for membership should be 'not in'
1734:49: E713 test for membership should be 'not in'
1754:29: E128 continuation line under-indented for visual indent
1755:33: E128 continuation line under-indented for visual indent
1760:21: E126 continuation line over-indented for hanging indent
1771:13: E128 continuation line under-indented for visual indent
1772:13: E128 continuation line under-indented for visual indent
1795:13: E128 continuation line under-indented for visual indent
1796:13: E128 continuation line under-indented for visual indent
1812:13: E126 continuation line over-indented for hanging indent
1817:1: E302 expected 2 blank lines, found 1
1825:1: E302 expected 2 blank lines, found 1
1825: D290 White spaces around docstring should be trimmed.
1825: D400 First line should end with '.', not 'e'
1825: D205 Blank line missing between one-line summary and description
1859:78: E502 the backslash is redundant between brackets
1860:17: E128 continuation line under-indented for visual indent
1873:1: E302 expected 2 blank lines, found 1
1873: D290 White spaces around docstring should be trimmed.
1880: D401 First line should be imperative: 'Find', not 'Finds'
1880: D290 White spaces around docstring should be trimmed.
1880: D400 First line should end with '.', not ']'
1880: D205 Blank line missing between one-line summary and description
1880: D208 Docstring is over-indented
1899:36: E127 continuation line over-indented for visual indent
1905:41: E127 continuation line over-indented for visual indent
1908:36: E127 continuation line over-indented for visual indent
1914:41: E127 continuation line over-indented for visual indent
1919:36: E127 continuation line over-indented for visual indent
1926:41: E127 continuation line over-indented for visual indent
1947: D401 First line should be imperative: 'Find', not 'Finds'
1947: D290 White spaces around docstring should be trimmed.
1947: D400 First line should end with '.', not ']'
1947: D205 Blank line missing between one-line summary and description
1947: D208 Docstring is over-indented
1987:48: E261 at least two spaces before inline comment
1993: D401 First line should be imperative: 'Find', not 'Finds'
1993: D205 Blank line missing between one-line summary and description
1993: D208 Docstring is over-indented
2009: D401 First line should be imperative: 'Get', not 'Gets'
2009: D400 First line should end with '.', not 'n'
2009: D205 Blank line missing between one-line summary and description
2009: D208 Docstring is over-indented
2044: D401 First line should be imperative: 'Get', not 'Gets'
2044: D400 First line should end with '.', not 'e'
2044: D205 Blank line missing between one-line summary and description
2044: D208 Docstring is over-indented
2062: D401 First line should be imperative: 'Remove', not 'Removes'
2062: D205 Blank line missing between one-line summary and description
2062: D208 Docstring is over-indented
2086: D401 First line should be imperative: 'Decide', not 'Decides'
2086: D205 Blank line missing between one-line summary and description
2086: D208 Docstring is over-indented
2095: D205 Blank line missing between one-line summary and description
2095: D208 Docstring is over-indented
2128: D401 First line should be imperative: 'Run', not 'Runs'
2128: D205 Blank line missing between one-line summary and description
2128: D208 Docstring is over-indented
2184:85: E502 the backslash is redundant between brackets
2185:56: E128 continuation line under-indented for visual indent
2185:86: E502 the backslash is redundant between brackets
2186:56: E128 continuation line under-indented for visual indent
2192:5: E303 too many blank lines (2)
2213:29: E126 continuation line over-indented for hanging indent
2252:29: E126 continuation line over-indented for hanging indent
2264:25: E126 continuation line over-indented for hanging indent
2291:29: E126 continuation line over-indented for hanging indent
2305:25: E126 continuation line over-indented for hanging indent
2330:5: E303 too many blank lines (2)
2334:1: E266 too many leading '#' for block comment


22:1: I101 Imported names are in the wrong order. Should be current_app, has_request_context, request, session
24:1: I201 Missing newline before sections or imports.
26:1: I100 Imports statements are in the wrong order. from invenio.ext.cache should be before from werkzeug.datastructures
63: D203 Expected 1 blank line *before* class docstring, found 0
168:9: B901 blind except: statement
215:9: B901 blind except: statement
241:17: W503 line break before binary operator


1: D400 First line should end with '.', not 's'
1: D205 Blank line missing between one-line summary and description
1: D208 Docstring is over-indented
30:1: I101 Imported names are in the wrong order. Should be DatabaseError, run_sql
32:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.legacy.dbquery
33:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.bibsched.bibtask
34:1: I101 Imported names are in the wrong order. Should be CFG_BIBINDEX_CHARS_ALPHANUMERIC_SEPARATORS, CFG_BIBINDEX_CHARS_PUNCTUATION
34:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibrecord
35:6: E126 continuation line over-indented for hanging indent
56: D200 One-line docstring should not occupy 3 lines
66:9: E128 continuation line under-indented for visual indent
69:1: E302 expected 2 blank lines, found 1
69: D401 First line should be imperative: 'Return', not 'Returns'
69: D209 Put multi-line docstring closing quotes on separate line
69: D205 Blank line missing between one-line summary and description
69: D208 Docstring is over-indented
85: D401 First line should be imperative: 'Return', not 'Returns'
85: D209 Put multi-line docstring closing quotes on separate line
85: D400 First line should end with '.', not 'e'
85: D205 Blank line missing between one-line summary and description
85: D208 Docstring is over-indented
100: D401 First line should be imperative: 'Return', not 'Returns'
100: D400 First line should end with '.', not 'e'
100: D205 Blank line missing between one-line summary and description
100: D208 Docstring is over-indented
108:5: B901 blind except: statement
115: D401 First line should be imperative: 'Get', not 'Gets'
115: D290 White spaces around docstring should be trimmed.
115: D209 Put multi-line docstring closing quotes on separate line
115: D400 First line should end with '.', not 'd'
115: D205 Blank line missing between one-line summary and description
115: D208 Docstring is over-indented
121:5: B901 blind except: statement
128: D401 First line should be imperative: 'Get', not 'Gets'
128: D290 White spaces around docstring should be trimmed.
128: D209 Put multi-line docstring closing quotes on separate line
128: D400 First line should end with '.', not 'd'
128: D205 Blank line missing between one-line summary and description
128: D208 Docstring is over-indented
134:5: B901 blind except: statement
141: D205 Blank line missing between one-line summary and description
171: D400 First line should end with '.', not 's'
171: D205 Blank line missing between one-line summary and description
171: D208 Docstring is over-indented
182:11: E271 multiple spaces after keyword
188:1: I100 Imports statements are in the wrong order. from invenio.modules.indexer.utils should be before from invenio.utils.memoise
188:1: F401 'get_idx_indexer' imported but unused
188:1: E402 module level import not at top of file
191: D401 First line should be imperative: 'Return', not 'Returns'
191: D209 Put multi-line docstring closing quotes on separate line
191: D205 Blank line missing between one-line summary and description
191: D208 Docstring is over-indented
213: D401 First line should be imperative: 'Return', not 'Returns'
213: D290 White spaces around docstring should be trimmed.
222: D401 First line should be imperative: 'Return', not 'Returns'
222: D209 Put multi-line docstring closing quotes on separate line
222: D400 First line should end with '.', not 'h'
222: D205 Blank line missing between one-line summary and description
222: D208 Docstring is over-indented
233: D401 First line should be imperative: 'Check', not 'Checks'
233: D400 First line should end with '.', not 'l'
242:1: E302 expected 2 blank lines, found 1
242: D400 First line should end with '.', not 's'
242: D205 Blank line missing between one-line summary and description
242: D208 Docstring is over-indented
256:1: E302 expected 2 blank lines, found 1
256: D401 First line should be imperative: 'Return', not 'Returns'
256: D205 Blank line missing between one-line summary and description
256: D208 Docstring is over-indented
269: D401 First line should be imperative: 'Return', not 'Returns'
269: D209 Put multi-line docstring closing quotes on separate line
269: D205 Blank line missing between one-line summary and description
269: D208 Docstring is over-indented
282: D401 First line should be imperative: 'Return', not 'Returns'
282: D209 Put multi-line docstring closing quotes on separate line
282: D205 Blank line missing between one-line summary and description
282: D208 Docstring is over-indented
293: D401 First line should be imperative: 'Return', not 'Returns'
293: D400 First line should end with '.', not 's'
293: D205 Blank line missing between one-line summary and description
293: D208 Docstring is over-indented
305: D401 First line should be imperative: 'Return', not 'Returns'
305: D209 Put multi-line docstring closing quotes on separate line
305: D400 First line should end with '.', not 'g'
305: D205 Blank line missing between one-line summary and description
305: D208 Docstring is over-indented
310:26: E261 at least two spaces before inline comment
310:27: E262 inline comment should start with '# '
311:26: E261 at least two spaces before inline comment
311:27: E262 inline comment should start with '# '
326:25: E261 at least two spaces before inline comment
326:26: E262 inline comment should start with '# '
346: D401 First line should be imperative: 'Return', not 'Returns'
346: D209 Put multi-line docstring closing quotes on separate line
346: D400 First line should end with '.', not 'g'
346: D205 Blank line missing between one-line summary and description
346: D208 Docstring is over-indented
384: D401 First line should be imperative: 'Return', not 'Returns'
384: D205 Blank line missing between one-line summary and description
384: D208 Docstring is over-indented
422: D401 First line should be imperative: 'Return', not 'Returns'
422: D400 First line should end with '.', not ':'
422: D205 Blank line missing between one-line summary and description
422: D208 Docstring is over-indented
427:10: E225 missing whitespace around operator
435: D401 First line should be imperative: 'Remove', not 'Removes'
435: D205 Blank line missing between one-line summary and description
435: D208 Docstring is over-indented
448: D208 Docstring is over-indented
448: D200 One-line docstring should not occupy 3 lines
462: D401 First line should be imperative: 'Create', not 'Creates'
462: D400 First line should end with '.', not 'd'
462: D205 Blank line missing between one-line summary and description
462: D208 Docstring is over-indented
472: D101 Docstring missing
476: D401 First line should be imperative: 'Return', not 'Returns'
476: D300 Expected """-quotes, got '-quotes
486: D401 First line should be imperative: 'Return', not 'Returns'
486: D400 First line should end with '.', not 'y'
486: D205 Blank line missing between one-line summary and description
486: D208 Docstring is over-indented
497:47: E202 whitespace before ')'
501: D401 First line should be imperative: 'Check', not 'Checks'
501: D400 First line should end with '.', not 't'
504:25: E272 multiple spaces before keyword
511: D401 First line should be imperative: 'Check', not 'Checks'
511: D209 Put multi-line docstring closing quotes on separate line
511: D400 First line should end with '.', not ';'
511: D205 Blank line missing between one-line summary and description
511: D208 Docstring is over-indented
517: D401 First line should be imperative: 'Return', not 'Returns'
517: D209 Put multi-line docstring closing quotes on separate line
517: D400 First line should end with '.', not ';'
517: D205 Blank line missing between one-line summary and description
517: D208 Docstring is over-indented
526: D401 First line should be imperative: 'Find', not 'Finds'
526: D400 First line should end with '.', not 'n'
526: D205 Blank line missing between one-line summary and description
526: D208 Docstring is over-indented


4: L102 copyright year is outdated, expected 2015 but got 2011
30:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.knowledge


1: D400 First line should end with '.', not 'k'
4: L102 copyright year is outdated, expected 2015 but got 2014
26:1: I100 Imports statements are in the wrong order. import getopt should be before import sys
29:1: I100 Imports statements are in the wrong order. import time should be before import traceback
30:1: I100 Imports statements are in the wrong order. import inspect should be before import time
34:1: I100 Imports statements are in the wrong order. from ConfigParser should be before from collections
37:1: I101 Imported names are in the wrong order. Should be get_modified_records_since, task_get_option, task_get_task_param, task_has_option, task_init, task_low_level_submission, task_set_option, task_sleep_now_if_required, task_update_progress, write_message
37:1: I201 Missing newline before sections or imports.
47:1: I101 Imported names are in the wrong order. Should be CFG_CERN_SITE, CFG_ETCDIR, CFG_PYLIBDIR, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_VERSION
47:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask
54:1: I101 Imported names are in the wrong order. Should be perform_request_search, search_pattern, search_unit_in_bibxxx
58:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.utils should be before from invenio.legacy.search_engine
59:1: I101 Imported names are in the wrong order. Should be record_add_field, record_xml_output
60:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.bibrecord
60:1: I201 Missing newline before sections or imports.
61:1: I201 Missing newline before sections or imports.
62:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcatalog.api should be before from invenio.legacy.dbquery
64:1: I100 Imports statements are in the wrong order. from invenio.utils.json should be before from invenio.utils.shell
68:1: E302 expected 2 blank lines, found 1
68: D290 White spaces around docstring should be trimmed.
68: D203 Expected 1 blank line *before* class docstring, found 0
68: D204 Expected 1 blank line *after* class docstring, found 0
68: D400 First line should end with '.', not 'n'
70: D102 Docstring missing
72:13: E128 continuation line under-indented for visual indent
75: D290 White spaces around docstring should be trimmed.
75: D203 Expected 1 blank line *before* class docstring, found 0
75: D204 Expected 1 blank line *after* class docstring, found 0
75: D400 First line should end with '.', not 'n'
77: D102 Docstring missing
88: D401 First line should be imperative: 'Iterate', not 'Iterates'
149:55: E261 at least two spaces before inline comment
163: D290 White spaces around docstring should be trimmed.
163: D400 First line should end with '.', not 'n'
169:57: E261 at least two spaces before inline comment
175: D290 White spaces around docstring should be trimmed.
175: D400 First line should end with '.', not 'e'
182: D401 First line should be imperative: 'Change', not 'Changes'
182: D400 First line should end with '.', not 'e'
182: D205 Blank line missing between one-line summary and description
201:25: E128 continuation line under-indented for visual indent
204: D400 First line should end with '.', not 'd'
204: D200 One-line docstring should not occupy 3 lines
216: D290 White spaces around docstring should be trimmed.
216: D400 First line should end with '.', not 'd'
222: D290 White spaces around docstring should be trimmed.
222: D400 First line should end with '.', not 'd'
226:13: E128 continuation line under-indented for visual indent
228: D290 White spaces around docstring should be trimmed.
228: D400 First line should end with '.', not 'd'
231:17: E128 continuation line under-indented for visual indent
237: D290 White spaces around docstring should be trimmed.
237: D400 First line should end with '.', not 'd'
240:17: E128 continuation line under-indented for visual indent
244: D290 White spaces around docstring should be trimmed.
244: D400 First line should end with '.', not 'd'
248:17: E128 continuation line under-indented for visual indent
250: D290 White spaces around docstring should be trimmed.
250: D400 First line should end with '.', not 't'
254: D401 First line should be imperative: 'Yield', not 'Yields'
254: D400 First line should end with '.', not 'g'
265:5: E129 visually indented line with same indent as next logical line
271: D102 Docstring missing
276: D290 White spaces around docstring should be trimmed.
276: D202 No blank lines allowed *after* function docstring, found 1
276: D400 First line should end with '.', not 'k'
301:1: E302 expected 2 blank lines, found 1
341:25: E128 continuation line under-indented for visual indent
367:5: E266 too many leading '#' for block comment
379:1: E302 expected 2 blank lines, found 1
379: D290 White spaces around docstring should be trimmed.
379: D202 No blank lines allowed *after* function docstring, found 1
379: D400 First line should end with '.', not 'g'
422: D290 White spaces around docstring should be trimmed.
422: D202 No blank lines allowed *after* function docstring, found 1
422: D400 First line should end with '.', not 'd'
448:1: E302 expected 2 blank lines, found 1
448: D400 First line should end with '.', not 'e'
448: D200 One-line docstring should not occupy 3 lines
458:1: E302 expected 2 blank lines, found 1
458: D400 First line should end with '.', not 'e'
458: D200 One-line docstring should not occupy 3 lines
468:1: E302 expected 2 blank lines, found 1
468: D400 First line should end with '.', not 'e'
468: D205 Blank line missing between one-line summary and description
481: D202 No blank lines allowed *after* function docstring, found 1
481: D400 First line should end with '.', not 'd'
481: D205 Blank line missing between one-line summary and description
493:20: E261 at least two spaces before inline comment
498: D400 First line should end with '.', not 'e'
498: D205 Blank line missing between one-line summary and description
505:1: E302 expected 2 blank lines, found 1
528:1: E302 expected 2 blank lines, found 1
528: D290 White spaces around docstring should be trimmed.
528: D400 First line should end with '.', not 'e'
537: D290 White spaces around docstring should be trimmed.
537: D400 First line should end with '.', not 's'
554:47: E127 continuation line over-indented for visual indent
587: D400 First line should end with '.', not 's'
587: D200 One-line docstring should not occupy 3 lines
611: D401 First line should be imperative: 'Generate', not 'Generates'
652:16: E713 test for membership should be 'not in'
662: D400 First line should end with '.', not 'e'
662: D205 Blank line missing between one-line summary and description
675:1: E302 expected 2 blank lines, found 1
675: D400 First line should end with '.', not 'a'
675: D205 Blank line missing between one-line summary and description
730: D401 First line should be imperative: 'Print', not 'Prints'
730: D400 First line should end with '.', not 't'
732:12: E221 multiple spaces before operator
748: D401 First line should be imperative: 'Print', not 'Prints'
748: D400 First line should end with '.', not 't'
762: D401 First line should be imperative: 'Construct', not 'Constructs'
801:36: E127 continuation line over-indented for visual indent
820:19: E128 continuation line under-indented for visual indent
821:19: E128 continuation line under-indented for visual indent
824:1: W391 blank line at end of file


29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: E402 module level import not at top of file
36:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS, CFG_BASE_URL, CFG_BIBFORMAT_HIDDEN_TAGS, CFG_BIBINDEX_CHARS_PUNCTUATION, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBSORT_BUCKETS, CFG_BIBSORT_ENABLED, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_LOGDIR, CFG_LOGDIR, CFG_OAI_ID_FIELD, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_URL, CFG_SOLR_URL, CFG_WEBSEARCH_DEF_RECORDS_IN_GROUPS, CFG_WEBSEARCH_DETAILED_META_FORMAT, CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS, CFG_WEBSEARCH_FIELDS_CONVERT, CFG_WEBSEARCH_FULLTEXT_SNIPPETS, CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH, CFG_WEBSEARCH_IDXPAIRS_FIELDS, CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT, CFG_WEBSEARCH_SYNONYM_KBRS, CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY, CFG_WEBSEARCH_WILDCARD_LIMIT, CFG_WEBSEARCH_WILDCARD_LIMIT, CFG_XAPIAN_ENABLED
36:1: F999 redefinition of unused 'CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE' from line 36
36:1: F999 redefinition of unused 'CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG' from line 36
36:1: F999 redefinition of unused 'CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS' from line 36
36:1: F999 redefinition of unused 'CFG_LOGDIR' from line 36
36:1: F999 redefinition of unused 'CFG_WEBSEARCH_WILDCARD_LIMIT' from line 36
36:1: F401 'CFG_XAPIAN_ENABLED' imported but unused
36:1: F401 'CFG_BIBINDEX_CHARS_PUNCTUATION' imported but unused
36:1: F401 'CFG_OAI_ID_FIELD' imported but unused
36:1: F401 'CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY' imported but unused
36:1: F401 'CFG_WEBSEARCH_SYNONYM_KBRS' imported but unused
36:1: F401 'CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE' imported but unused
36:1: F401 'CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS' imported but unused
36:1: F401 'CFG_WEBSEARCH_FIELDS_CONVERT' imported but unused
36:1: F401 'CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS' imported but unused
36:1: F401 'CFG_SITE_RECORD' imported but unused
36:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS' imported but unused
36:1: F401 'CFG_INSPIRE_SITE' imported but unused
36:1: F401 'CFG_LOGDIR' imported but unused
36:1: F401 'CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG' imported but unused
36:1: F401 'CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT' imported but unused
36:1: F401 'CFG_BASE_URL' imported but unused
36:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused
36:1: F401 'CFG_WEBSEARCH_WILDCARD_LIMIT' imported but unused
36:1: F401 'CFG_WEBSEARCH_DETAILED_META_FORMAT' imported but unused
36:1: F401 'CFG_BIBSORT_BUCKETS' imported but unused
36:1: F401 'CFG_WEBSEARCH_FULLTEXT_SNIPPETS' imported but unused
36:1: F401 'CFG_SOLR_URL' imported but unused
36:1: F401 'CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH' imported but unused
36:1: F401 'CFG_WEBSEARCH_IDXPAIRS_FIELDS' imported but unused
36:1: E402 module level import not at top of file
37:6: E126 continuation line over-indented for hanging indent
80:1: E402 module level import not at top of file
81:1: F401 'get_most_popular_field_values' imported but unused
81:1: E402 module level import not at top of file
82:1: I101 Imported names are in the wrong order. Should be InvenioWebSearchCitedbyLimitError, InvenioWebSearchReferstoLimitError, InvenioWebSearchUnknownCollectionError, InvenioWebSearchWildcardLimitError
82:1: I100 Imports statements are in the wrong order. from invenio.modules.search.errors should be before from invenio.modules.search.utils
82:1: F401 'InvenioWebSearchUnknownCollectionError' imported but unused
82:1: F401 'InvenioWebSearchReferstoLimitError' imported but unused
82:1: F401 'InvenioWebSearchWildcardLimitError' imported but unused
82:1: F401 'InvenioWebSearchCitedbyLimitError' imported but unused
82:1: E402 module level import not at top of file
83:6: E126 continuation line over-indented for hanging indent
87:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.search.errors
87:1: F401 'get_fieldvalues_alephseq_like' imported but unused
87:1: E402 module level import not at top of file
89:1: E402 module level import not at top of file
90:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from .utils
90:1: I201 Missing newline before sections or imports.
90:1: F401 'create_record' imported but unused
90:1: F401 'record_xml_output' imported but unused
90:1: E402 module level import not at top of file
91:1: I101 Imported names are in the wrong order. Should be get_bibrank_methods, is_method_valid, rank_by_citations, rank_records
91:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.record_sorter should be before from invenio.legacy.bibrecord
91:1: F401 'rank_by_citations' imported but unused
91:1: F401 'get_bibrank_methods' imported but unused
91:1: E402 module level import not at top of file
96:1: I101 Imported names are in the wrong order. Should be calculate_reading_similarity_list, register_page_view_event
96:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.downloads_similarity should be before from invenio.legacy.bibrank.record_sorter
96:1: F401 'register_page_view_event' imported but unused
96:1: F401 'calculate_reading_similarity_list' imported but unused
96:1: E402 module level import not at top of file
97:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_stemmer should be before from invenio.legacy.bibrank.downloads_similarity
97:1: F401 'stem' imported but unused
97:1: E402 module level import not at top of file
98:1: F401 'BibIndexDefaultTokenizer' imported but unused
98:1: E402 module level import not at top of file
99:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_utils should be before from invenio.modules.indexer.tokenizers.BibIndexDefaultTokenizer
99:1: F401 'author_name_requires_phrase_search' imported but unused
99:1: F401 'get_field_tags' imported but unused
99:1: E402 module level import not at top of file
101:1: I101 Imported names are in the wrong order. Should be lower_index_term, wash_author_name, wash_index_term
101:1: F401 'wash_index_term' imported but unused
101:1: F401 'wash_author_name' imported but unused
101:1: F401 'lower_index_term' imported but unused
101:1: E402 module level import not at top of file
102:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_config should be before from invenio.legacy.bibindex.engine_washer
102:1: F401 'CFG_BIBINDEX_SYNONYM_MATCH_TYPE' imported but unused
102:1: E402 module level import not at top of file
103:1: I101 Imported names are in the wrong order. Should be create_excel, format_record, format_records, get_output_format_content_type
103:1: F401 'create_excel' imported but unused
103:1: F401 'get_output_format_content_type' imported but unused
103:1: F401 'format_record' imported but unused
103:1: F401 'format_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.legacy.bibrank.downloads_grapher should be before from invenio.modules.formatter
104:1: F401 'create_download_history_graph_and_box' imported but unused
104:1: E402 module level import not at top of file
105:1: F401 'DataCacher' imported but unused
105:1: E402 module level import not at top of file
106:1: I101 Imported names are in the wrong order. Should be perform_external_collection_search, print_external_results_overview
106:1: F401 'perform_external_collection_search' imported but unused
106:1: F401 'print_external_results_overview' imported but unused
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 CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS, CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS, VIEWRESTRCOLL
108:1: F401 'CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
108:1: F401 'CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
108:1: E402 module level import not at top of file
111:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch.adminlib should be before from invenio.modules.access.local_config
111:1: F401 'get_detailed_page_tabs' imported but unused
111:1: F401 'get_detailed_page_tabs_counts' imported but unused
111:1: E402 module level import not at top of file
112:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.websearch.adminlib
112:1: I201 Missing newline before sections or imports.
112:1: E402 module level import not at top of file
113:1: I101 Imported names are in the wrong order. Should be DatabaseError, InvenioDbQueryWildcardLimitError, deserialize_via_marshal
113:1: I201 Missing newline before sections or imports.
113:1: F401 'deserialize_via_marshal' imported but unused
113:1: F401 'DatabaseError' imported but unused
113:1: F401 'InvenioDbQueryWildcardLimitError' imported but unused
113:1: E402 module level import not at top of file
114:1: F401 'acc_authorize_action' imported but unused
114:1: E402 module level import not at top of file
115:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.access.engine
115:1: E402 module level import not at top of file
116:1: I101 Imported names are in the wrong order. Should be encode_for_xml, strip_accents, wash_for_utf8
116:1: F401 'encode_for_xml' imported but unused
116:1: F401 'wash_for_utf8' imported but unused
116:1: F401 'strip_accents' imported but unused
116:1: E402 module level import not at top of file
117:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before from invenio.utils.text
117:1: E402 module level import not at top of file
119:1: E402 module level import not at top of file
122:1: I101 Imported names are in the wrong order. Should be calculate_cited_by_list, calculate_co_cited_with_list, get_cited_by_list, get_citedby_hitset, get_citers_log, get_records_with_num_cites, get_refers_to_list, get_refersto_hitset
122:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before import invenio.legacy.template
122:1: F401 'get_citedby_hitset' imported but unused
122:1: F401 'calculate_cited_by_list' imported but unused
122:1: F401 'get_refersto_hitset' imported but unused
122:1: F401 'get_records_with_num_cites' imported but unused
122:1: F401 'get_cited_by_list' imported but unused
122:1: F401 'get_citers_log' imported but unused
122:1: F401 'calculate_co_cited_with_list' imported but unused
122:1: F401 'get_refers_to_list' imported but unused
122:1: E402 module level import not at top of file
127:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_grapher should be before from invenio.legacy.bibrank.citation_searcher
127:1: F401 'create_citation_history_graph_and_box' imported but unused
127:1: E402 module level import not at top of file
128:1: I101 Imported names are in the wrong order. Should be get_self_cited_by, get_self_cited_by_list, get_self_refers_to_list
128:1: F401 'get_self_refers_to_list' imported but unused
128:1: F401 'get_self_cited_by' imported but unused
128:1: F401 'get_self_cited_by_list' imported but unused
128:1: E402 module level import not at top of file
129:55: E126 continuation line over-indented for hanging indent
132:1: I101 Imported names are in the wrong order. Should be get_table_update_time, run_sql, run_sql_with_limit, wash_table_column_name
132:1: F401 'wash_table_column_name' imported but unused
132:1: F401 'get_table_update_time' imported but unused
132:1: F401 'run_sql_with_limit' imported but unused
132:1: E402 module level import not at top of file
134:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid
134:1: F401 'collect_user_info' imported but unused
134:1: E402 module level import not at top of file
135:1: I101 Imported names are in the wrong order. Should be create_error_box, pagefooteronly, pageheaderonly, write_warning
135:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
135:1: F401 'pagefooteronly' imported but unused
135:1: F401 'create_error_box' imported but unused
135:1: F401 'write_warning' imported but unused
135:1: F401 'pageheaderonly' imported but unused
135:1: E402 module level import not at top of file
136:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
136:1: E402 module level import not at top of file
138:1: F401 'apache' imported but unused
138:1: E402 module level import not at top of file
140:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch_external_collections should be before from invenio.utils
140:1: F401 'do_calculate_hosted_collections_results' imported but unused
140:1: F401 'calculate_hosted_collections_results' imported but unused
140:1: E402 module level import not at top of file
141:1: F401 'CFG_EXTERNAL_COLLECTION_MAXRESULTS' imported but unused
141:1: E402 module level import not at top of file
146:22: E203 whitespace before ':'
146:14: E225 missing whitespace around operator
147:24: E203 whitespace before ':'
148:24: E203 whitespace before ':'
149:28: E203 whitespace before ':'
150:30: E203 whitespace before ':'
151:24: E203 whitespace before ':'
152:23: E203 whitespace before ':'
153:29: E203 whitespace before ':'
154:26: E203 whitespace before ':'
155:33: E203 whitespace before ':'
156:30: E203 whitespace before ':'
157:30: E203 whitespace before ':'
158:30: E203 whitespace before ':'
159:30: E203 whitespace before ':'
160:30: E203 whitespace before ':'
161:30: E203 whitespace before ':'
162:41: E703 statement ends with a semicolon
164:1: E402 module level import not at top of file
165:1: F401 'collection_restricted_p' imported but unused
165:1: E402 module level import not at top of file
166:1: F401 'restricted_collection_cache' imported but unused
166:1: E402 module level import not at top of file
167:1: F401 'get_permitted_restricted_collections' imported but unused
167:1: E402 module level import not at top of file
168:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.utils
168:1: F401 'get_all_restricted_recids' imported but unused
168:1: E402 module level import not at top of file
171:1: F401 'check_user_can_view_record' imported but unused
171:1: E402 module level import not at top of file
173:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.records.access
173:1: E402 module level import not at top of file
174:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.collections.cache
174:1: E402 module level import not at top of file
175:1: F401 'get_field_i18nname' imported but unused
175:1: E402 module level import not at top of file
177:1: I100 Imports statements are in the wrong order. from invenio.modules.indexer.models should be before from invenio.modules.search.cache
177:1: E402 module level import not at top of file
183: D401 First line should be imperative: 'Create', not 'Creates'
183: D202 No blank lines allowed *after* function docstring, found 1
183: D400 First line should end with '.', not 'n'
183: D205 Blank line missing between one-line summary and description
191:33: E261 at least two spaces before inline comment
200:1: F401 'get_synonym_terms' imported but unused
200:1: E402 module level import not at top of file
202:1: F403 'from invenio.modules.search.washers import *' used; unable to detect undefined names
202:1: E402 module level import not at top of file
205: D401 First line should be imperative: 'Return', not 'Returns'
205: D300 Expected """-quotes, got '-quotes
226:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.washers
226:1: F401 'get_collection_allchildren' imported but unused
226:1: E402 module level import not at top of file
229: D401 First line should be imperative: 'Return', not 'Returns'
229: D202 No blank lines allowed *after* function docstring, found 1
232:5: E266 too many leading '#' for block comment
236:5: E266 too many leading '#' for block comment
237:5: E266 too many leading '#' for block comment
239:34: E261 at least two spaces before inline comment
256:13: B901 blind except: statement
261:9: E266 too many leading '#' for block comment
273:9: E266 too many leading '#' for block comment
278:17: E266 too many leading '#' for block comment
287: D400 First line should end with '.', not 'o'
287: D205 Blank line missing between one-line summary and description
287: D208 Docstring is over-indented
332:1: F403 'from invenio.modules.search.engine import *' used; unable to detect undefined names
332:1: E402 module level import not at top of file
335: D209 Put multi-line docstring closing quotes on separate line
335: D400 First line should end with '.', not 'y'
335: D205 Blank line missing between one-line summary and description
335: D208 Docstring is over-indented
348:38: E203 whitespace before ','
379:1: E302 expected 2 blank lines, found 0
379: D209 Put multi-line docstring closing quotes on separate line
379: D400 First line should end with '.', not 'g'
379: D205 Blank line missing between one-line summary and description
379: D208 Docstring is over-indented
408: D209 Put multi-line docstring closing quotes on separate line
408: D205 Blank line missing between one-line summary and description
420:1: E402 module level import not at top of file
425: D290 White spaces around docstring should be trimmed.
425: D400 First line should end with '.', not 'h'
425: D205 Blank line missing between one-line summary and description
443: D401 First line should be imperative: 'I', not 'Is'
443: D400 First line should end with '.', not '?'
454:1: E302 expected 2 blank lines, found 1
454: D205 Blank line missing between one-line summary and description
454: D208 Docstring is over-indented
461:1: I101 Imported names are in the wrong order. Should be CACHE_SORTED_DATA, SORTING_METHODS
461:1: F401 'CACHE_SORTED_DATA' imported but unused
461:1: E402 module level import not at top of file
464: D205 Blank line missing between one-line summary and description
464: D208 Docstring is over-indented
478:20: E127 continuation line over-indented for visual indent
480:25: E126 continuation line over-indented for hanging indent
531: D103 Docstring missing
541: D401 First line should be imperative: 'calculate', not 'calculates'
541: D209 Put multi-line docstring closing quotes on separate line
541: D202 No blank lines allowed *after* function docstring, found 1
541: D400 First line should end with '.', not 'e'
541: D205 Blank line missing between one-line summary and description
552:20: E261 at least two spaces before inline comment
556:17: E261 at least two spaces before inline comment
599: D290 White spaces around docstring should be trimmed.
599: D400 First line should end with '.', not 'n'
605:25: E261 at least two spaces before inline comment
606:13: E222 multiple spaces after operator
629:10: E261 at least two spaces before inline comment
646:1: E266 too many leading '#' for block comment
648: D103 Docstring missing
649:25: E128 continuation line under-indented for visual indent
650:25: E128 continuation line under-indented for visual indent
651:25: E128 continuation line under-indented for visual indent
652:25: E128 continuation line under-indented for visual indent
669: D401 First line should be imperative: 'Set', not 'Sets'
669: D202 No blank lines allowed *after* function docstring, found 1
669: D400 First line should end with '.', not 'l'
669: D200 One-line docstring should not occupy 3 lines
670:23: E128 continuation line under-indented for visual indent
671:23: E128 continuation line under-indented for visual indent
672:23: E128 continuation line under-indented for visual indent
673:23: E128 continuation line under-indented for visual indent
674:23: E128 continuation line under-indented for visual indent
712:9: B901 blind except: statement