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


Could you explain how this differs from the implementation in the "plotrix" package?


1: D100 Docstring missing
21: L102 copyright year is outdated, expected 2015 but got 2014
33:1: I100 Imports statements are in the wrong order. import fnmatch should be before import time
36:1: I201 Missing newline before sections or imports.
38:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
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
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
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
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
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
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
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
62:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.bibsched.bibtask
63:1: I201 Missing newline before sections or imports.
64:1: F401 'get_def_name' imported but unused
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
70:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.termcollectors should be before from invenio.modules.indexer.tokenizers.BibIndexJournalTokenizer
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
93:1: F401 'get_record' imported but unused
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
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
507:37: E127 continuation line over-indented for visual indent
533:24: E127 continuation line over-indented for visual indent
540:20: E126 continuation line over-indented for hanging indent
566: D401 First line should be imperative: 'Split', not 'Splits'
566: D400 First line should end with '.', not 's'
566: D205 Blank line missing between one-line summary and description
566: D208 Docstring is over-indented
576:15: E711 comparison to None should be 'if cond is None:'
587: D203 Expected 1 blank line *before* class docstring, found 0
587: D205 Blank line missing between one-line summary and description
587: D208 Docstring is over-indented
606: D102 Docstring missing
611:65: E502 the backslash is redundant between brackets
612:49: E128 continuation line under-indented for visual indent
612:57: E502 the backslash is redundant between brackets
613:49: E128 continuation line under-indented for visual indent
613:62: E502 the backslash is redundant between brackets
614:49: E128 continuation line under-indented for visual indent
617:24: E261 at least two spaces before inline comment
620: D401 First line should be imperative: 'Update', not 'Updates'
620: D400 First line should end with '.', not 'B'
620: D205 Blank line missing between one-line summary and description
620: D208 Docstring is over-indented
625:57: E502 the backslash is redundant between brackets
627:64: E502 the backslash is redundant between brackets
629:62: E502 the backslash is redundant between brackets
630:23: E128 continuation line under-indented for visual indent
649:63: E502 the backslash is redundant between brackets
652:73: E502 the backslash is redundant between brackets
657:62: E502 the backslash is redundant between brackets
671:65: E502 the backslash is redundant between brackets
683:75: E502 the backslash is redundant between brackets
689:55: E502 the backslash is redundant between brackets
691:54: E502 the backslash is redundant between brackets
692:23: E128 continuation line under-indented for visual indent
694: D400 First line should end with '.', not 'y'
697:28: E261 at least two spaces before inline comment
701:74: E502 the backslash is redundant between brackets
705:74: E502 the backslash is redundant between brackets
707:134: E261 at least two spaces before inline comment
709:14: E261 at least two spaces before inline comment
710:70: E502 the backslash is redundant between brackets
714:142: E261 at least two spaces before inline comment
720:20: E261 at least two spaces before inline comment
721:104: E261 at least two spaces before inline comment
723: D401 First line should be imperative: 'Keep', not 'Keeps'
723: D400 First line should end with '.', not 'g'
723: D205 Blank line missing between one-line summary and description
723: D208 Docstring is over-indented
743:29: F841 local variable 'e' is assigned to but never used
744:84: E502 the backslash is redundant between brackets
756: D400 First line should end with '.', not 'y'
756: D205 Blank line missing between one-line summary and description
770: D401 First line should be imperative: 'Clean', not 'Cleans'
770: D300 Expected """-quotes, got '-quotes
775: D203 Expected 1 blank line *before* class docstring, found 0
775: D205 Blank line missing between one-line summary and description
775: D208 Docstring is over-indented
791: D401 First line should be imperative: 'Create', not 'Creates'
791: D205 Blank line missing between one-line summary and description
791: D208 Docstring is over-indented
800:43: E127 continuation line over-indented for visual indent
801:43: E127 continuation line over-indented for visual indent
802:43: E127 continuation line over-indented for visual indent
806: D401 First line should be imperative: 'Set', not 'Sets'
806: D400 First line should end with '.', not 'l'
806: D205 Blank line missing between one-line summary and description
806: D208 Docstring is over-indented
814: D205 Blank line missing between one-line summary and description
814: D208 Docstring is over-indented
833:85: E502 the backslash is redundant between brackets
855:28: E126 continuation line over-indented for hanging indent
858:87: E502 the backslash is redundant between brackets
888: D401 First line should be imperative: 'Retrieve', not 'Retrieves'
888: D202 No blank lines allowed *after* method docstring, found 1
888: D400 First line should end with '.', not 'x'
888: D205 Blank line missing between one-line summary and description
888: D208 Docstring is over-indented
908: D401 First line should be imperative: 'Retrieve', not 'Retrieves'
908: D202 No blank lines allowed *after* method docstring, found 1
908: D400 First line should end with '.', not 'x'
908: D205 Blank line missing between one-line summary and description
908: D208 Docstring is over-indented
928: D401 First line should be imperative: 'Update', not 'Updates'
928: D400 First line should end with '.', not ':'
928: D205 Blank line missing between one-line summary and description
928: D208 Docstring is over-indented
958:55: E502 the backslash is redundant between brackets
959:24: E127 continuation line over-indented for visual indent
960:24: E127 continuation line over-indented for visual indent
960:69: E261 at least two spaces before inline comment
962:174: E261 at least two spaces before inline comment
966: D401 First line should be imperative: 'Insert', not 'Inserts'
966: D400 First line should end with '.', not 'e'
966: D205 Blank line missing between one-line summary and description
966: D208 Docstring is over-indented
994:179: E261 at least two spaces before inline comment
996:174: E261 at least two spaces before inline comment
1000: D401 First line should be imperative: 'Remove', not 'Removes'
1000: D400 First line should end with '.', not 'd'
1000: D205 Blank line missing between one-line summary and description
1000: D208 Docstring is over-indented
1025:179: E261 at least two spaces before inline comment
1027:174: E261 at least two spaces before inline comment
1031: D401 First line should be imperative: 'Update', not 'Updates'
1031: D400 First line should end with '.', not 'o'
1031: D205 Blank line missing between one-line summary and description
1031: D208 Docstring is over-indented
1070: D401 First line should be imperative: 'Update', not 'Updates'
1070: D205 Blank line missing between one-line summary and description
1070: D208 Docstring is over-indented
1085: D401 First line should be imperative: 'Update', not 'Updates'
1085: D400 First line should end with '.', not 'd'
1085: D205 Blank line missing between one-line summary and description
1085: D208 Docstring is over-indented
1113: D401 First line should be imperative: 'Remove', not 'Removes'
1113: D400 First line should end with '.', not 'e'
1120: D401 First line should be imperative: 'Clean', not 'Cleans'
1120: D400 First line should end with '.', not ')'
1120: D205 Blank line missing between one-line summary and description
1120: D208 Docstring is over-indented
1127:18: E127 continuation line over-indented for visual indent
1131: D401 First line should be imperative: 'Remove', not 'Removes'
1131: D400 First line should end with '.', not ')'
1131: D205 Blank line missing between one-line summary and description
1131: D208 Docstring is over-indented
1148:5: E303 too many blank lines (2)
1148: D401 First line should be imperative: 'Remove', not 'Removes'
1148: D205 Blank line missing between one-line summary and description
1148: D208 Docstring is over-indented
1186: D203 Expected 1 blank line *before* class docstring, found 0
1186: D400 First line should end with '.', not 'x'
1186: D205 Blank line missing between one-line summary and description
1186: D208 Docstring is over-indented
1197: D401 First line should be imperative: 'Create', not 'Creates'
1197: D205 Blank line missing between one-line summary and description
1238: D401 First line should be imperative: 'Fill', not 'Fills'
1238: D400 First line should end with '.', not 'h'
1238: D205 Blank line missing between one-line summary and description
1238: D208 Docstring is over-indented
1261: D401 First line should be imperative: 'Prevent', not 'Prevents'
1261: D208 Docstring is over-indented
1261: D200 One-line docstring should not occupy 3 lines
1267: D401 First line should be imperative: 'Turn', not 'Turns'
1267: D208 Docstring is over-indented
1267: D200 One-line docstring should not occupy 3 lines
1273: D401 First line should be imperative: 'Return', not 'Returns'
1273: D209 Put multi-line docstring closing quotes on separate line
1273: D202 No blank lines allowed *after* method docstring, found 1
1273: D400 First line should end with '.', not 'e'
1273: D205 Blank line missing between one-line summary and description
1273: D208 Docstring is over-indented
1288: D401 First line should be imperative: 'Inform', not 'Informs'
1288: D205 Blank line missing between one-line summary and description
1288: D208 Docstring is over-indented
1308: D401 First line should be imperative: 'Display', not 'Displays'
1308: D300 Expected """-quotes, got '-quotes
1315: D401 First line should be imperative: 'Return', not 'Returns'
1315: D300 Expected """-quotes, got '-quotes
1319: D401 First line should be imperative: 'Print', not 'Prints'
1319: D300 Expected """-quotes, got '-quotes
1323: D202 No blank lines allowed *after* method docstring, found 1
1323: D300 Expected """-quotes, got '-quotes
1336:62: E502 the backslash is redundant between brackets
1337:17: E128 continuation line under-indented for visual indent
1339:75: E502 the backslash is redundant between brackets
1340:31: E127 continuation line over-indented for visual indent
1342: D401 First line should be imperative: 'Fetche', not 'Fetches'
1342: D400 First line should end with '.', not 's'
1342: D205 Blank line missing between one-line summary and description
1355:35: E261 at least two spaces before inline comment
1372:73: E502 the backslash is redundant between brackets
1373:25: E128 continuation line under-indented for visual indent
1383:73: E502 the backslash is redundant between brackets
1384:25: E128 continuation line under-indented for visual indent
1440:31: E701 multiple statements on one line (colon)
1461:27: E701 multiple statements on one line (colon)
1464:184: E261 at least two spaces before inline comment
1467:179: E261 at least two spaces before inline comment
1479: D401 First line should be imperative: 'Divide', not 'Divides'
1479: D209 Put multi-line docstring closing quotes on separate line
1479: D400 First line should end with '.', not ','
1479: D205 Blank line missing between one-line summary and description
1479: D208 Docstring is over-indented
1501: D209 Put multi-line docstring closing quotes on separate line
1501: D205 Blank line missing between one-line summary and description
1512:81: E502 the backslash is redundant between brackets
1513:17: E128 continuation line under-indented for visual indent
1516:63: E502 the backslash is redundant between brackets
1517:21: E128 continuation line under-indented for visual indent
1519: D401 First line should be imperative: 'Keep', not 'Keeps'
1519: D400 First line should end with '.', not 'g'
1519: D205 Blank line missing between one-line summary and description
1519: D208 Docstring is over-indented
1539:9: B901 blind except: statement
1543:5: E303 too many blank lines (2)
1543: D401 First line should be imperative: 'Fetche', not 'Fetches'
1543: D400 First line should end with '.', not 's'
1543: D205 Blank line missing between one-line summary and description
1559: D401 First line should be imperative: 'Delete', not 'Deletes'
1559: D209 Put multi-line docstring closing quotes on separate line
1559: D400 First line should end with '.', not 'w'
1559: D205 Blank line missing between one-line summary and description
1559: D208 Docstring is over-indented
1562:82: E502 the backslash is redundant between brackets
1563:17: E128 continuation line under-indented for visual indent
1573:80: E502 the backslash is redundant between brackets
1574:17: E128 continuation line under-indented for visual indent
1576: D401 First line should be imperative: 'Find', not 'Finds'
1576: D200 One-line docstring should not occupy 3 lines
1585: D400 First line should end with '.', not 'r'
1585: D205 Blank line missing between one-line summary and description
1609: D400 First line should end with '.', not 'e'
1627:35: E261 at least two spaces before inline comment
1658: D400 First line should end with '.', not 'e'
1666:19: E261 at least two spaces before inline comment
1671:17: E127 continuation line over-indented for visual indent
1676: D202 No blank lines allowed *after* method docstring, found 1
1676: D400 First line should end with '.', not 'y'
1676: D205 Blank line missing between one-line summary and description
1700:15: E261 at least two spaces before inline comment
1702:16: E713 test for membership should be 'not in'
1715:49: E713 test for membership should be 'not in'
1735:29: E128 continuation line under-indented for visual indent
1736:33: E128 continuation line under-indented for visual indent
1741:21: E126 continuation line over-indented for hanging indent
1752:13: E128 continuation line under-indented for visual indent
1753:13: E128 continuation line under-indented for visual indent
1776:13: E128 continuation line under-indented for visual indent
1777:13: E128 continuation line under-indented for visual indent
1793:13: E126 continuation line over-indented for hanging indent
1798:1: E302 expected 2 blank lines, found 1
1806:1: E302 expected 2 blank lines, found 1
1806: D290 White spaces around docstring should be trimmed.
1806: D400 First line should end with '.', not 'e'
1806: D205 Blank line missing between one-line summary and description
1840:78: E502 the backslash is redundant between brackets
1841:17: E128 continuation line under-indented for visual indent
1854:1: E302 expected 2 blank lines, found 1
1854: D290 White spaces around docstring should be trimmed.
1861: D401 First line should be imperative: 'Find', not 'Finds'
1861: D290 White spaces around docstring should be trimmed.
1861: D400 First line should end with '.', not ']'
1861: D205 Blank line missing between one-line summary and description
1861: D208 Docstring is over-indented
1880:36: E127 continuation line over-indented for visual indent
1886:41: E127 continuation line over-indented for visual indent
1889:36: E127 continuation line over-indented for visual indent
1895:41: E127 continuation line over-indented for visual indent
1900:36: E127 continuation line over-indented for visual indent
1907:41: E127 continuation line over-indented for visual indent
1928: D401 First line should be imperative: 'Find', not 'Finds'
1928: D290 White spaces around docstring should be trimmed.
1928: D400 First line should end with '.', not ']'
1928: D205 Blank line missing between one-line summary and description
1928: D208 Docstring is over-indented
1968:48: E261 at least two spaces before inline comment
1974: D401 First line should be imperative: 'Find', not 'Finds'
1974: D205 Blank line missing between one-line summary and description
1974: D208 Docstring is over-indented
1990: D401 First line should be imperative: 'Get', not 'Gets'
1990: D400 First line should end with '.', not 'n'
1990: D205 Blank line missing between one-line summary and description
1990: D208 Docstring is over-indented
2025: D401 First line should be imperative: 'Get', not 'Gets'
2025: D400 First line should end with '.', not 'e'
2025: D205 Blank line missing between one-line summary and description
2025: D208 Docstring is over-indented
2043: D401 First line should be imperative: 'Remove', not 'Removes'
2043: D205 Blank line missing between one-line summary and description
2043: D208 Docstring is over-indented
2067: D401 First line should be imperative: 'Decide', not 'Decides'
2067: D205 Blank line missing between one-line summary and description
2067: D208 Docstring is over-indented
2076: D205 Blank line missing between one-line summary and description
2076: D208 Docstring is over-indented
2109: D401 First line should be imperative: 'Run', not 'Runs'
2109: D205 Blank line missing between one-line summary and description
2109: D208 Docstring is over-indented
2165:85: E502 the backslash is redundant between brackets
2166:56: E128 continuation line under-indented for visual indent
2166:86: E502 the backslash is redundant between brackets
2167:56: E128 continuation line under-indented for visual indent
2173:5: E303 too many blank lines (2)
2194:29: E126 continuation line over-indented for hanging indent
2233:29: E126 continuation line over-indented for hanging indent
2245:25: E126 continuation line over-indented for hanging indent
2272:29: E126 continuation line over-indented for hanging indent
2286:25: E126 continuation line over-indented for hanging indent
2311:5: E303 too many blank lines (2)


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
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


I think it would probably be better to name this `show_in_metadata` or `include_in_metadata` or `use_in_metadata` or something else that indicates this about whether to include this in a list, rather than whether this *is* metadata.


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


36:1: I101 Imported names are in the wrong order. Should be CFG_BASE_URL, CFG_BIBFORMAT_HIDDEN_TAGS, CFG_BIBINDEX_CHARS_PUNCTUATION, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBSORT_BUCKETS, CFG_BIBSORT_ENABLED, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_LOGDIR, CFG_OAI_ID_FIELD, CFG_SCOAP3_SITE, 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_XAPIAN_ENABLED
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_SCOAP3_SITE' imported but unused
36:1: F401 'CFG_BASE_URL' 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_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
37:6: E126 continuation line over-indented for hanging indent
76:1: F401 'get_most_popular_field_values' imported but unused
77:1: I100 Imports statements are in the wrong order. from invenio.modules.search.errors should be before from invenio.modules.search.utils
77:1: F401 'InvenioWebSearchUnknownCollectionError' imported but unused
77:1: F401 'InvenioWebSearchWildcardLimitError' imported but unused
78:6: E126 continuation line over-indented for hanging indent
80:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.search.errors
80:1: F401 'get_fieldvalues_alephseq_like' imported but unused
83:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from .utils
83:1: I201 Missing newline before sections or imports.
83:1: F401 'record_xml_output' imported but unused
83:1: F401 'create_record' imported but unused
84:1: I101 Imported names are in the wrong order. Should be get_bibrank_methods, is_method_valid, rank_by_citations, rank_records
84:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.record_sorter should be before from invenio.legacy.bibrecord
84:1: F401 'rank_by_citations' imported but unused
84:1: F401 'get_bibrank_methods' imported but unused
89:1: I101 Imported names are in the wrong order. Should be calculate_reading_similarity_list, register_page_view_event
89:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.downloads_similarity should be before from invenio.legacy.bibrank.record_sorter
89:1: F401 'register_page_view_event' imported but unused
89:1: F401 'calculate_reading_similarity_list' imported but unused
90:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_stemmer should be before from invenio.legacy.bibrank.downloads_similarity
90:1: F401 'stem' imported but unused
91:1: F401 'BibIndexDefaultTokenizer' imported but unused
92:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_utils should be before from invenio.modules.indexer.tokenizers.BibIndexDefaultTokenizer
92:1: F401 'author_name_requires_phrase_search' imported but unused
92:1: F401 'get_field_tags' imported but unused
94:1: I101 Imported names are in the wrong order. Should be lower_index_term, wash_author_name, wash_index_term
94:1: F401 'wash_index_term' imported but unused
94:1: F401 'wash_author_name' imported but unused
94:1: F401 'lower_index_term' imported but unused
95:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_config should be before from invenio.legacy.bibindex.engine_washer
95:1: F401 'CFG_BIBINDEX_SYNONYM_MATCH_TYPE' imported but unused
96:1: I101 Imported names are in the wrong order. Should be create_excel, format_record, format_records, get_output_format_content_type
96:1: F401 'create_excel' imported but unused
96:1: F401 'get_output_format_content_type' imported but unused
96:1: F401 'format_record' imported but unused
96:1: F401 'format_records' imported but unused
97:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.downloads_grapher should be before from invenio.modules.formatter
97:1: F401 'create_download_history_graph_and_box' imported but unused
98:1: F401 'DataCacher' imported but unused
99:1: I101 Imported names are in the wrong order. Should be perform_external_collection_search, print_external_results_overview
99:1: F401 'perform_external_collection_search' imported but unused
99:1: F401 'print_external_results_overview' imported but unused
101: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
101:1: F401 'CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
101:1: F401 'CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
104:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch.adminlib should be before from invenio.modules.access.local_config
104:1: F401 'get_detailed_page_tabs' imported but unused
104:1: F401 'get_detailed_page_tabs_counts' imported but unused
105:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.websearch.adminlib
105:1: I201 Missing newline before sections or imports.
106:1: I101 Imported names are in the wrong order. Should be DatabaseError, InvenioDbQueryWildcardLimitError, deserialize_via_marshal
106:1: I201 Missing newline before sections or imports.
106:1: F401 'deserialize_via_marshal' imported but unused
106:1: F401 'DatabaseError' imported but unused
106:1: F401 'InvenioDbQueryWildcardLimitError' imported but unused
107:1: F401 'acc_authorize_action' imported but unused
108:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.access.engine
109:1: I101 Imported names are in the wrong order. Should be encode_for_xml, strip_accents, wash_for_utf8
109:1: F401 'encode_for_xml' imported but unused
109:1: F401 'wash_for_utf8' imported but unused
109:1: F401 'strip_accents' imported but unused
110:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before from invenio.utils.text
115: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
115:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before import invenio.legacy.template
115:1: F401 'get_citedby_hitset' imported but unused
115:1: F401 'calculate_cited_by_list' imported but unused
115:1: F401 'get_refersto_hitset' imported but unused
115:1: F401 'get_records_with_num_cites' imported but unused
115:1: F401 'get_cited_by_list' imported but unused
115:1: F401 'get_citers_log' imported but unused
115:1: F401 'calculate_co_cited_with_list' imported but unused
115:1: F401 'get_refers_to_list' imported but unused
120:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_grapher should be before from invenio.legacy.bibrank.citation_searcher
120:1: F401 'create_citation_history_graph_and_box' imported but unused
121: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
121:1: F401 'get_self_refers_to_list' imported but unused
121:1: F401 'get_self_cited_by' imported but unused
121:1: F401 'get_self_cited_by_list' imported but unused
122:55: E126 continuation line over-indented for hanging indent
125: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
125:1: F401 'wash_table_column_name' imported but unused
125:1: F401 'get_table_update_time' imported but unused
125:1: F401 'run_sql_with_limit' imported but unused
127:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid
127:1: F401 'collect_user_info' imported but unused
128:1: I101 Imported names are in the wrong order. Should be create_error_box, pagefooteronly, pageheaderonly, write_warning
128:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
128:1: F401 'pagefooteronly' imported but unused
128:1: F401 'create_error_box' imported but unused
128:1: F401 'write_warning' imported but unused
128:1: F401 'pageheaderonly' imported but unused
129:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
131:1: F401 'apache' imported but unused
133:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch_external_collections should be before from invenio.utils
133:1: F401 'do_calculate_hosted_collections_results' imported but unused
133:1: F401 'calculate_hosted_collections_results' imported but unused
134:1: F401 'CFG_EXTERNAL_COLLECTION_MAXRESULTS' imported but unused
139:22: E203 whitespace before ':'
139:14: E225 missing whitespace around operator
140:24: E203 whitespace before ':'
141:24: E203 whitespace before ':'
142:28: E203 whitespace before ':'
143:30: E203 whitespace before ':'
144:24: E203 whitespace before ':'
145:23: E203 whitespace before ':'
146:29: E203 whitespace before ':'
147:26: E203 whitespace before ':'
148:33: E203 whitespace before ':'
149:30: E203 whitespace before ':'
150:30: E203 whitespace before ':'
151:30: E203 whitespace before ':'
152:30: E203 whitespace before ':'
153:30: E203 whitespace before ':'
154:30: E203 whitespace before ':'
155:41: E703 statement ends with a semicolon
158:1: F401 'collection_restricted_p' imported but unused
159:1: F401 'restricted_collection_cache' imported but unused
160:1: F401 'get_permitted_restricted_collections' imported but unused
161:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.utils
161:1: F401 'get_all_restricted_recids' imported but unused
164:1: F401 'check_user_can_view_record' imported but unused
166:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.records.access
167:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.collections.cache
168:1: F401 'get_field_i18nname' imported but unused
170:1: I100 Imports statements are in the wrong order. from invenio.modules.indexer.models should be before from invenio.modules.search.cache
176: D401 First line should be imperative: 'Create', not 'Creates'
176: D202 No blank lines allowed *after* function docstring, found 1
176: D400 First line should end with '.', not 'n'
176: D205 Blank line missing between one-line summary and description
184:33: E261 at least two spaces before inline comment
193:1: F401 'get_synonym_terms' imported but unused
195:1: F403 'from invenio.modules.search.washers import *' used; unable to detect undefined names
198: D401 First line should be imperative: 'Return', not 'Returns'
198: D300 Expected """-quotes, got '-quotes
219:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.washers
219:1: F401 'get_collection_allchildren' imported but unused
222: D401 First line should be imperative: 'Return', not 'Returns'
222: D202 No blank lines allowed *after* function docstring, found 1
232:34: E261 at least two spaces before inline comment
249:13: B901 blind except: statement
280: D400 First line should end with '.', not 'o'
280: D205 Blank line missing between one-line summary and description
280: D208 Docstring is over-indented
325:1: F403 'from invenio.modules.search.engine import *' used; unable to detect undefined names
328: D209 Put multi-line docstring closing quotes on separate line
328: D400 First line should end with '.', not 'y'
328: D205 Blank line missing between one-line summary and description
328: D208 Docstring is over-indented
341:38: E203 whitespace before ','
372:1: E302 expected 2 blank lines, found 0
372: D209 Put multi-line docstring closing quotes on separate line
372: D400 First line should end with '.', not 'g'
372: D205 Blank line missing between one-line summary and description
372: D208 Docstring is over-indented
401: D209 Put multi-line docstring closing quotes on separate line
401: D205 Blank line missing between one-line summary and description
418: D290 White spaces around docstring should be trimmed.
418: D400 First line should end with '.', not 'h'
418: D205 Blank line missing between one-line summary and description
436: D401 First line should be imperative: 'I', not 'Is'
436: D400 First line should end with '.', not '?'
447:1: E302 expected 2 blank lines, found 1
447: D205 Blank line missing between one-line summary and description
447: D208 Docstring is over-indented
454:1: I101 Imported names are in the wrong order. Should be CACHE_SORTED_DATA, SORTING_METHODS
454:1: F401 'CACHE_SORTED_DATA' imported but unused
457: D205 Blank line missing between one-line summary and description
457: D208 Docstring is over-indented
471:20: E127 continuation line over-indented for visual indent
473:25: E126 continuation line over-indented for hanging indent
524: D103 Docstring missing
534: D401 First line should be imperative: 'calculate', not 'calculates'
534: D209 Put multi-line docstring closing quotes on separate line
534: D202 No blank lines allowed *after* function docstring, found 1
534: D400 First line should end with '.', not 'e'
534: D205 Blank line missing between one-line summary and description
545:20: E261 at least two spaces before inline comment
549:17: E261 at least two spaces before inline comment
592: D290 White spaces around docstring should be trimmed.
592: D400 First line should end with '.', not 'n'
598:25: E261 at least two spaces before inline comment
599:13: E222 multiple spaces after operator
622:10: E261 at least two spaces before inline comment
641: D103 Docstring missing
642:25: E128 continuation line under-indented for visual indent
643:25: E128 continuation line under-indented for visual indent
644:25: E128 continuation line under-indented for visual indent
645:25: E128 continuation line under-indented for visual indent
662: D401 First line should be imperative: 'Set', not 'Sets'
662: D202 No blank lines allowed *after* function docstring, found 1
662: D400 First line should end with '.', not 'l'
662: D200 One-line docstring should not occupy 3 lines
663:23: E128 continuation line under-indented for visual indent
664:23: E128 continuation line under-indented for visual indent
665:23: E128 continuation line under-indented for visual indent
666:23: E128 continuation line under-indented for visual indent
667:23: E128 continuation line under-indented for visual indent
705:9: B901 blind except: statement


1: D100 Docstring missing
4: L102 copyright year is outdated, expected 2015 but got 2011
31:1: I100 Imports statements are in the wrong order. import datetime should be before from time
33:1: I101 Imported names are in the wrong order. Should be CFG_LOGDIR, CFG_SITE_ADMIN_EMAIL, CFG_SITE_NAME, CFG_SITE_URL, CFG_WEBALERT_MAX_NUM_OF_RECORDS_IN_ALERT_EMAIL, CFG_WEBALERT_SEND_EMAIL_NUMBER_OF_TRIES, CFG_WEBALERT_SEND_EMAIL_SLEEPTIME_BETWEEN_TRIES
34:6: E126 continuation line over-indented for hanging indent
41:1: I101 Imported names are in the wrong order. Should be add_to_basket, get_basket_owner_id
42:1: I100 Imports statements are in the wrong order. from invenio.legacy.webbasket.api should be before from invenio.legacy.webbasket.db_layer
43:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, perform_request_search
43:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.legacy.webbasket.api
44:6: E126 continuation line over-indented for hanging indent
45:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.search_engine
47:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email
48:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.legacy.webuser
52:1: I101 Imported names are in the wrong order. Should be CFG_EXTERNAL_COLLECTION_MAXRESULTS_ALERTS, CFG_EXTERNAL_COLLECTION_TIMEOUT
53:1: E122 continuation line missing indentation or outdented
54:1: E122 continuation line missing indentation or outdented
59:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.collections.models
63:1: E302 expected 2 blank lines, found 1
63: D202 No blank lines allowed *after* function docstring, found 1
68:1: E302 expected 2 blank lines, found 1
68: D202 No blank lines allowed *after* function docstring, found 1
73:1: E302 expected 2 blank lines, found 1
73: D401 First line should be imperative: 'Return', not 'Returns'
73: D202 No blank lines allowed *after* function docstring, found 1
78:1: E302 expected 2 blank lines, found 1
78: D401 First line should be imperative: 'Return', not 'Returns'
78: D202 No blank lines allowed *after* function docstring, found 1
78: D400 First line should end with '.', not 'm'
84:1: E302 expected 2 blank lines, found 1
84: D202 No blank lines allowed *after* function docstring, found 1
84: D400 First line should end with '.', not 's'
94:29: E261 at least two spaces before inline comment
122:99: E502 the backslash is redundant between brackets
157:1: E302 expected 2 blank lines, found 1
157: D401 First line should be imperative: 'Return', not 'Returns'
157: D202 No blank lines allowed *after* function docstring, found 1
163:1: E302 expected 2 blank lines, found 1
172:37: E261 at least two spaces before inline comment
173:29: E261 at least two spaces before inline comment
203:99: E502 the backslash is redundant between brackets
262:1: E302 expected 2 blank lines, found 1
262: D202 No blank lines allowed *after* function docstring, found 1
267:1: E302 expected 2 blank lines, found 1
267: D401 First line should be imperative: 'Return', not 'Returns'
267: D202 No blank lines allowed *after* function docstring, found 1
271:6: E221 multiple spaces before operator
272:6: E221 multiple spaces before operator
273:7: E221 multiple spaces before operator
274:8: E221 multiple spaces before operator
275:6: E221 multiple spaces before operator
276:7: E221 multiple spaces before operator
277:7: E221 multiple spaces before operator
278:7: E221 multiple spaces before operator
279:7: E221 multiple spaces before operator
280:7: E221 multiple spaces before operator
281:7: E221 multiple spaces before operator
282:8: E221 multiple spaces before operator
283:7: E221 multiple spaces before operator
284:7: E221 multiple spaces before operator
285:7: E221 multiple spaces before operator
286:8: E221 multiple spaces before operator
287:7: E221 multiple spaces before operator
288:7: E221 multiple spaces before operator
289:7: E221 multiple spaces before operator
290:7: E221 multiple spaces before operator
298:25: E261 at least two spaces before inline comment
298:26: E262 inline comment should start with '# '
300:10: E261 at least two spaces before inline comment
305:18: E261 at least two spaces before inline comment
305:19: E262 inline comment should start with '# '
318:35: E128 continuation line under-indented for visual indent
319:35: E128 continuation line under-indented for visual indent
320:35: E128 continuation line under-indented for visual indent
324:1: E302 expected 2 blank lines, found 1
324: D209 Put multi-line docstring closing quotes on separate line
324: D202 No blank lines allowed *after* function docstring, found 1
367:1: E302 expected 2 blank lines, found 1
367: D209 Put multi-line docstring closing quotes on separate line
367: D202 No blank lines allowed *after* function docstring, found 1
380:1: E302 expected 2 blank lines, found 1
380: D209 Put multi-line docstring closing quotes on separate line
380: D202 No blank lines allowed *after* function docstring, found 1
393:1: E302 expected 2 blank lines, found 1
393: D209 Put multi-line docstring closing quotes on separate line
393: D202 No blank lines allowed *after* function docstring, found 1
405:1: E302 expected 2 blank lines, found 1
405: D209 Put multi-line docstring closing quotes on separate line
405: D202 No blank lines allowed *after* function docstring, found 1
422:1: E302 expected 2 blank lines, found 1
422: D401 First line should be imperative: 'Log', not 'Logs'
422: D202 No blank lines allowed *after* function docstring, found 1
433:1: E302 expected 2 blank lines, found 1
433: D209 Put multi-line docstring closing quotes on separate line
433: D202 No blank lines allowed *after* function docstring, found 1
433: D400 First line should end with '.', not 's'
433: D205 Blank line missing between one-line summary and description
451:82: E502 the backslash is redundant between brackets
456:106: E502 the backslash is redundant between brackets
461:1: E302 expected 2 blank lines, found 1
461: D202 No blank lines allowed *after* function docstring, found 1
461: D400 First line should end with '.', not '?'
466:1: E302 expected 2 blank lines, found 1
466: D202 No blank lines allowed *after* function docstring, found 1
466: D400 First line should end with '.', not '?'
471:1: E302 expected 2 blank lines, found 1
471: D209 Put multi-line docstring closing quotes on separate line
471: D202 No blank lines allowed *after* function docstring, found 1
480:31: E261 at least two spaces before inline comment
486:1: E302 expected 2 blank lines, found 1
486: D209 Put multi-line docstring closing quotes on separate line
486: D202 No blank lines allowed *after* function docstring, found 1
486: D400 First line should end with '.', not 's'
486: D205 Blank line missing between one-line summary and description
494:1: E302 expected 2 blank lines, found 1
494: D209 Put multi-line docstring closing quotes on separate line
494: D202 No blank lines allowed *after* function docstring, found 1
494: D205 Blank line missing between one-line summary and description
509:1: E302 expected 2 blank lines, found 1
509: D209 Put multi-line docstring closing quotes on separate line
509: D202 No blank lines allowed *after* function docstring, found 1
509: D400 First line should end with '.', not 's'
509: D205 Blank line missing between one-line summary and description
532: D209 Put multi-line docstring closing quotes on separate line
532: D205 Blank line missing between one-line summary and description
543:64: E261 at least two spaces before inline comment
543:65: E262 inline comment should start with '# '
555:1: E302 expected 2 blank lines, found 1
555: D202 No blank lines allowed *after* function docstring, found 1
555: D400 First line should end with '.', not 'l'
576:44: E261 at least two spaces before inline comment
576:45: E262 inline comment should start with '# '


1: D290 White spaces around docstring should be trimmed.
1: D400 First line should end with '.', not 'e'
5: L102 copyright year is outdated, expected 2015 but got 2013
31:1: I101 Imported names are in the wrong order. Should be check_comment_belongs_to_record, check_recID_is_in_range, check_user_can_attach_file_to_comments, check_user_can_send_comments, check_user_can_view_comment, check_user_can_view_comments, get_user_subscription_to_discussion, is_comment_deleted, perform_display_your_comments, perform_request_add_comment_or_remark, perform_request_display_comments_or_remarks, perform_request_report, perform_request_vote, query_get_comment, subscribe_user_to_discussion, toggle_comment_visibility, unsubscribe_user_from_discussion
31:1: I100 Imports statements are in the wrong order. from invenio.modules.comments.api should be before from six
32:32: E126 continuation line over-indented for hanging indent
49:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_PREFIX, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_NAME_INTL, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBCOMMENT_ALLOW_COMMENTS, CFG_WEBCOMMENT_ALLOW_REVIEWS, CFG_WEBCOMMENT_MAX_ATTACHED_FILES, CFG_WEBCOMMENT_MAX_ATTACHMENT_SIZE, CFG_WEBCOMMENT_USE_MATHJAX_IN_COMMENTS
49:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.modules.comments.api
50:6: E126 continuation line over-indented for hanging indent
64:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, page_not_authorized
65:1: I101 Imported names are in the wrong order. Should be page, pagefooteronly, pageheaderonly
65:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
66:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.legacy.webpage
67:6: E126 continuation line over-indented for hanging indent
68:1: I101 Imported names are in the wrong order. Should be make_canonical_urlargd, redirect_to_url
69:30: E126 continuation line over-indented for hanging indent
70:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
71:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.utils.html
72:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.logging
73:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
76:1: I101 Imported names are in the wrong order. Should be InvenioWebAccessMailCookieDeletedError, InvenioWebAccessMailCookieError, mail_cookie_check_common, mail_cookie_create_authorize_action, mail_cookie_create_common
77:6: E126 continuation line over-indented for hanging indent
82:1: F401 'InvenioWebCommentError' imported but unused
83:6: E126 continuation line over-indented for hanging indent
85:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.comments.config
88:1: I100 Imports statements are in the wrong order. import os should be before import invenio.legacy.template
89:1: I201 Missing newline before sections or imports.
90:1: I101 Imported names are in the wrong order. Should be decompose_file, propose_next_docname, stream_file
90:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.utils
91:6: E126 continuation line over-indented for hanging indent
96:1: E302 expected 2 blank lines, found 1
96: D203 Expected 1 blank line *before* class docstring, found 0
102: D102 Docstring missing
104:34: E261 at least two spaces before inline comment
107: D401 First line should be imperative: 'Redirect', not 'Redirects'
107: D400 First line should end with '.', not 'n'
107: D200 One-line docstring should not occupy 3 lines
113: D205 Blank line missing between one-line summary and description
146:64: E261 at least two spaces before inline comment
155:86: E203 whitespace before ':'
157:90: E502 the backslash is redundant between brackets
157:63: E203 whitespace before ':'
157:87: E203 whitespace before ':'
158:17: E128 continuation line under-indented for visual indent
161:52: E502 the backslash is redundant between brackets
162:17: E128 continuation line under-indented for visual indent
162:21: E251 unexpected spaces around keyword / parameter equals
162:23: E251 unexpected spaces around keyword / parameter equals
195:51: E502 the backslash is redundant between brackets
196:85: E502 the backslash is redundant between brackets
198:53: E502 the backslash is redundant between brackets
200:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
225:17: E128 continuation line under-indented for visual indent
246:69: E225 missing whitespace around operator
249:78: E225 missing whitespace around operator
259:13: E303 too many blank lines (2)
260:25: E128 continuation line under-indented for visual indent
261:25: E128 continuation line under-indented for visual indent
262:25: E128 continuation line under-indented for visual indent
263:25: E128 continuation line under-indented for visual indent
263:38: E251 unexpected spaces around keyword / parameter equals
263:40: E251 unexpected spaces around keyword / parameter equals
264:25: E128 continuation line under-indented for visual indent
265:25: E128 continuation line under-indented for visual indent
266:25: E128 continuation line under-indented for visual indent
267:25: E128 continuation line under-indented for visual indent
268:21: E127 continuation line over-indented for visual indent
269:21: E127 continuation line over-indented for visual indent
270:21: E127 continuation line over-indented for visual indent
271:21: E127 continuation line over-indented for visual indent
284: D400 First line should end with '.', not '0'
284: D205 Blank line missing between one-line summary and description
328:86: E203 whitespace before ':'
332:53: E127 continuation line over-indented for visual indent
337:53: E127 continuation line over-indented for visual indent
339:90: E502 the backslash is redundant between brackets
339:63: E203 whitespace before ':'
339:87: E203 whitespace before ':'
340:17: E128 continuation line under-indented for visual indent
343:52: E502 the backslash is redundant between brackets
344:17: E128 continuation line under-indented for visual indent
344:21: E251 unexpected spaces around keyword / parameter equals
344:23: E251 unexpected spaces around keyword / parameter equals
350:56: E502 the backslash is redundant between brackets
351:48: E251 unexpected spaces around keyword / parameter equals
351:50: E251 unexpected spaces around keyword / parameter equals
354:13: E303 too many blank lines (2)
359:56: E502 the backslash is redundant between brackets
360:48: E251 unexpected spaces around keyword / parameter equals
360:50: E251 unexpected spaces around keyword / parameter equals
377:26: E261 at least two spaces before inline comment
383:55: E261 at least two spaces before inline comment
393:109: E502 the backslash is redundant between brackets
399:25: B901 blind except: statement
408:25: F841 local variable 'n' is assigned to but never used
424:32: E127 continuation line over-indented for visual indent
432:41: E128 continuation line under-indented for visual indent
445:21: B901 blind except: statement
459:69: E225 missing whitespace around operator
463:92: E127 continuation line over-indented for visual indent
464:92: E127 continuation line over-indented for visual indent
465:92: E127 continuation line over-indented for visual indent
465:107: E225 missing whitespace around operator
466:92: E127 continuation line over-indented for visual indent
467:92: E127 continuation line over-indented for visual indent
467:107: E225 missing whitespace around operator
477:69: E127 continuation line over-indented for visual indent
481:99: E502 the backslash is redundant between brackets
481:74: E225 missing whitespace around operator
481:93: E225 missing whitespace around operator
482:86: E502 the backslash is redundant between brackets
482:78: E225 missing whitespace around operator
484:59: F841 local variable 'e' is assigned to but never used
538: D202 No blank lines allowed *after* method docstring, found 1
538: D205 Blank line missing between one-line summary and description
580:86: E203 whitespace before ':'
582:90: E502 the backslash is redundant between brackets
582:63: E203 whitespace before ':'
582:87: E203 whitespace before ':'
583:17: E128 continuation line under-indented for visual indent
586:52: E502 the backslash is redundant between brackets
587:17: E128 continuation line under-indented for visual indent
587:21: E251 unexpected spaces around keyword / parameter equals
587:23: E251 unexpected spaces around keyword / parameter equals
591:52: E502 the backslash is redundant between brackets
592:44: E251 unexpected spaces around keyword / parameter equals
592:46: E251 unexpected spaces around keyword / parameter equals
597:52: E502 the backslash is redundant between brackets
598:44: E251 unexpected spaces around keyword / parameter equals
598:46: E251 unexpected spaces around keyword / parameter equals
602:52: E502 the backslash is redundant between brackets
603:44: E251 unexpected spaces around keyword / parameter equals
603:46: E251 unexpected spaces around keyword / parameter equals
617: D202 No blank lines allowed *after* method docstring, found 1
617: D400 First line should end with '.', not 't'
617: D205 Blank line missing between one-line summary and description
657:86: E203 whitespace before ':'
659:90: E502 the backslash is redundant between brackets
659:63: E203 whitespace before ':'
659:87: E203 whitespace before ':'
660:17: E128 continuation line under-indented for visual indent
663:52: E502 the backslash is redundant between brackets
664:17: E128 continuation line under-indented for visual indent
664:21: E251 unexpected spaces around keyword / parameter equals
664:23: E251 unexpected spaces around keyword / parameter equals
668:52: E502 the backslash is redundant between brackets
669:44: E251 unexpected spaces around keyword / parameter equals
669:46: E251 unexpected spaces around keyword / parameter equals
674:52: E502 the backslash is redundant between brackets
675:44: E251 unexpected spaces around keyword / parameter equals
675:46: E251 unexpected spaces around keyword / parameter equals
679:52: E502 the backslash is redundant between brackets
680:44: E251 unexpected spaces around keyword / parameter equals
680:46: E251 unexpected spaces around keyword / parameter equals
691:90: E225 missing whitespace around operator
694: D400 First line should end with '.', not 'w'
694: D205 Blank line missing between one-line summary and description
706:86: E203 whitespace before ':'
708:90: E502 the backslash is redundant between brackets
708:63: E203 whitespace before ':'
708:87: E203 whitespace before ':'
709:17: E128 continuation line under-indented for visual indent
712:52: E502 the backslash is redundant between brackets
713:17: E128 continuation line under-indented for visual indent
713:21: E251 unexpected spaces around keyword / parameter equals
713:23: E251 unexpected spaces around keyword / parameter equals
720: D200 One-line docstring should not occupy 3 lines
730:86: E203 whitespace before ':'
732:90: E502 the backslash is redundant between brackets
732:63: E203 whitespace before ':'
732:87: E203 whitespace before ':'
733:17: E128 continuation line under-indented for visual indent
741: D400 First line should end with '.', not 'r'
741: D200 One-line docstring should not occupy 3 lines
757:63: E502 the backslash is redundant between brackets
758:90: E502 the backslash is redundant between brackets
761:1: E302 expected 2 blank lines, found 1
761: D203 Expected 1 blank line *before* class docstring, found 0
761: D208 Docstring is over-indented
769: D102 Docstring missing
771:34: E261 at least two spaces before inline comment
773: D401 First line should be imperative: 'Thi', not 'This'
773: D290 White spaces around docstring should be trimmed.
773: D400 First line should end with '.', not 'g'
773: D205 Blank line missing between one-line summary and description
780:28: E261 at least two spaces before inline comment
782:43: E261 at least two spaces before inline comment
795: D401 First line should be imperative: 'Return', not 'Returns'
809:9: F841 local variable 'uid' is assigned to but never used
815:86: E203 whitespace before ':'
817:90: E502 the backslash is redundant between brackets
817:63: E203 whitespace before ':'
817:87: E203 whitespace before ':'
818:17: E128 continuation line under-indented for visual indent
821:52: E502 the backslash is redundant between brackets
822:44: E251 unexpected spaces around keyword / parameter equals
822:46: E251 unexpected spaces around keyword / parameter equals
835:86: E203 whitespace before ':'
837:90: E502 the backslash is redundant between brackets
837:63: E203 whitespace before ':'
837:87: E203 whitespace before ':'
838:17: E128 continuation line under-indented for visual indent
841:52: E502 the backslash is redundant between brackets
842:44: E251 unexpected spaces around keyword / parameter equals
842:46: E251 unexpected spaces around keyword / parameter equals
847:52: E502 the backslash is redundant between brackets
848:44: E251 unexpected spaces around keyword / parameter equals
848:46: E251 unexpected spaces around keyword / parameter equals
854:73: E502 the backslash is redundant between brackets
855:82: E502 the backslash is redundant between brackets
855:57: E221 multiple spaces before operator
860:69: E502 the backslash is redundant between brackets
862:20: E127 continuation line over-indented for visual indent
872:1: E302 expected 2 blank lines, found 1
872: D203 Expected 1 blank line *before* class docstring, found 0
877: D202 No blank lines allowed *after* method docstring, found 1
893:65: E502 the backslash is redundant between brackets
894:46: E127 continuation line over-indented for visual indent
901:30: E203 whitespace before ':'
904:25: E203 whitespace before ':'
910:52: E502 the backslash is redundant between brackets
911:44: E251 unexpected spaces around keyword / parameter equals
911:46: E251 unexpected spaces around keyword / parameter equals
920:30: E251 unexpected spaces around keyword / parameter equals
921:34: E126 continuation line over-indented for hanging indent
921:49: E203 whitespace before ':'
923:43: E203 whitespace before ':'
924:31: E126 continuation line over-indented for hanging indent


1: D400 First line should end with '.', not 'e'
5: L102 copyright year is outdated, expected 2015 but got 2011
25:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from six
26:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
27:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, page_not_authorized
28:1: I101 Imported names are in the wrong order. Should be check_user_can_view_linkbacks, perform_request_display_approved_latest_added_linkbacks_to_accessible_records, perform_request_display_record_linbacks, perform_sendtrackback, perform_sendtrackback_disabled
28:1: I100 Imports statements are in the wrong order. from invenio.legacy.weblinkback.api should be before from invenio.legacy.webuser
29:33: E126 continuation line over-indented for hanging indent
34:41: E126 continuation line over-indented for hanging indent
35:1: I100 Imports statements are in the wrong order. from invenio.legacy.weblinkback.config should be before from invenio.legacy.weblinkback.db_layer
36:40: E126 continuation line over-indented for hanging indent
37:1: I101 Imported names are in the wrong order. Should be make_canonical_urlargd, redirect_to_url
38:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBLINKBACK_TRACKBACK_ENABLED
38:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.utils.url
39:28: E126 continuation line over-indented for hanging indent
43:1: I101 Imported names are in the wrong order. Should be create_navtrail_links, guess_primary_collection_of_a_record
44:35: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be pagefooteronly, pageheaderonly
50:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.collections.models
56: D203 Expected 1 blank line *before* class docstring, found 0
61:29: E251 unexpected spaces around keyword / parameter equals
61:31: E251 unexpected spaces around keyword / parameter equals
61: D102 Docstring missing
64: D400 First line should end with '.', not 'n'
64: D200 One-line docstring should not occupy 3 lines
70: D400 First line should end with '.', not 's'
70: D200 One-line docstring should not occupy 3 lines
76:9: F841 local variable '_' is assigned to but never used
86:22: E126 continuation line over-indented for hanging indent
97:90: E251 unexpected spaces around keyword / parameter equals
97:92: E251 unexpected spaces around keyword / parameter equals
109:65: E225 missing whitespace around operator
125:51: E502 the backslash is redundant between brackets
126:22: E127 continuation line over-indented for visual indent
126:102: E502 the backslash is redundant between brackets
128:57: E502 the backslash is redundant between brackets
129:22: E127 continuation line over-indented for visual indent
130:59: E712 comparison to True should be 'if cond is True:' or 'if cond:'
130:22: E127 continuation line over-indented for visual indent
132:63: E128 continuation line under-indented for visual indent
133:63: E128 continuation line under-indented for visual indent
135:69: E128 continuation line under-indented for visual indent
136:69: E128 continuation line under-indented for visual indent
142:44: E251 unexpected spaces around keyword / parameter equals
142:46: E251 unexpected spaces around keyword / parameter equals
147:31: E127 continuation line over-indented for visual indent
148:16: E127 continuation line over-indented for visual indent
149:16: E127 continuation line over-indented for visual indent
150:16: E127 continuation line over-indented for visual indent
155: D400 First line should end with '.', not 'k'
155: D200 One-line docstring should not occupy 3 lines
168: D400 First line should end with '.', not 'k'
168: D200 One-line docstring should not occupy 3 lines
181: D400 First line should end with '.', not 's'
181: D205 Blank line missing between one-line summary and description
190:90: E251 unexpected spaces around keyword / parameter equals
190:92: E251 unexpected spaces around keyword / parameter equals
194:22: E126 continuation line over-indented for hanging indent
204: D400 First line should end with '.', not 'k'
204: D200 One-line docstring should not occupy 3 lines
222: D203 Expected 1 blank line *before* class docstring, found 0
227: D400 First line should end with '.', not 'n'
227: D200 One-line docstring should not occupy 3 lines
233: D400 First line should end with '.', not 'e'
233: D200 One-line docstring should not occupy 3 lines
242:9: F841 local variable '_' is assigned to but never used
255:44: E251 unexpected spaces around keyword / parameter equals
255:46: E251 unexpected spaces around keyword / parameter equals
260:31: E127 continuation line over-indented for visual indent
261:16: E127 continuation line over-indented for visual indent
262:16: E127 continuation line over-indented for visual indent
263:16: E127 continuation line over-indented for visual indent


2: L102 copyright year is outdated, expected 2015 but got 2014
24:1: I100 Imports statements are in the wrong order. import datetime should be before import os
25:1: F401 'time' imported but unused
26:1: I100 Imports statements are in the wrong order. import sys should be before import time
28:1: I201 Missing newline before sections or imports.
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
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_MATHJAX_FOR_FORMATS, CFG_WEBSEARCH_WILDCARD_LIMIT
41:1: F401 'CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS' imported but unused
41:1: F401 'CFG_WEBSEARCH_RSS_I18N_COLLECTIONS' imported but unused
41:1: F401 'CFG_INSPIRE_SITE' imported but unused
41:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_STATS' imported but unused
61:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
61:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.dbquery
62:1: I101 Imported names are in the wrong order. Should be drop_default_urlargd, make_canonical_urlargd, redirect_to_url
63:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
63:1: F401 'get_mathjax_header' imported but unused
64:1: F401 'nmtoken_from_string' imported but unused
65:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, get_user_preferences, isUserSuperAdmin, logoutUser, page_not_authorized
65:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.html
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.webcomment.webinterface should be before from invenio.legacy.webuser
69:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.webinterface should be before from invenio.legacy.weblinkback.webinterface
70:1: I101 Imported names are in the wrong order. Should be create_error_box, page, pageheaderonly
70:1: F401 'pageheaderonly' imported but unused
71:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
72:1: I101 Imported names are in the wrong order. Should be EM_REPOSITORY, check_user_can_view_record, collection_reclist_cache, collection_restricted_p, get_coll_i18nname, get_most_popular_field_values, guess_primary_collection_of_a_record, perform_request_search, restricted_collection_cache
72:1: F401 'collection_reclist_cache' imported but unused
72:1: F401 'get_most_popular_field_values' imported but unused
72:1: F401 'EM_REPOSITORY' imported but unused
82:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.collections.models
82:1: F401 'get_fieldvalues' imported but unused
82:1: F401 'get_fieldvalues_alephseq_like' imported but unused
83:6: E126 continuation line over-indented for hanging indent
90:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.modules.formatter.engine
90:1: I201 Missing newline before sections or imports.
91:1: I201 Missing newline before sections or imports.
92:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before from invenio.legacy.bibupload.engine
92:1: F401 'get_cited_by_list' imported but unused
93:1: F401 'get_download_weight_total' imported but unused
94:1: F401 'summarize_records' imported but unused
95:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.search_engine.summarizer
99:1: I101 Imported names are in the wrong order. Should be WebInterfaceFilesPages, WebInterfaceManageDocFilesPages
99:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.webinterface should be before from invenio.legacy.bibmerge.webinterface
103:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.shell
109:83: E502 the backslash is redundant between brackets
116: D202 No blank lines allowed *after* function docstring, found 1
116: D200 One-line docstring should not occupy 3 lines
155: D290 White spaces around docstring should be trimmed.
155: D203 Expected 1 blank line *before* class docstring, found 0
155: D204 Expected 1 blank line *after* class docstring, found 0
159: D102 Docstring missing
161:17: E203 whitespace before ':'
162:21: E203 whitespace before ':'
174:22: E203 whitespace before ':'
175:26: E203 whitespace before ':'
176:21: E203 whitespace before ':'
177:26: E203 whitespace before ':'
178:23: E203 whitespace before ':'
192: D290 White spaces around docstring should be trimmed.
192: D203 Expected 1 blank line *before* class docstring, found 0
192: D400 First line should end with '.', not 't'
201: D102 Docstring missing
223: D102 Docstring missing
238:17: E128 continuation line under-indented for visual indent
266:86: E203 whitespace before ':'
268:21: E127 continuation line over-indented for visual indent
268:67: E203 whitespace before ':'
268:91: E203 whitespace before ':'
271:52: E502 the backslash is redundant between brackets
272:17: E128 continuation line under-indented for visual indent
272:32: E502 the backslash is redundant between brackets
273:17: E128 continuation line under-indented for visual indent
286:42: E261 at least two spaces before inline comment
286:43: E262 inline comment should start with '# '
301: D290 White spaces around docstring should be trimmed.
301: D203 Expected 1 blank line *before* class docstring, found 0
301: D400 First line should end with '.', not 't'
310: D102 Docstring missing
330: D102 Docstring missing
342:17: E128 continuation line under-indented for visual indent
372:21: E128 continuation line under-indented for visual indent
373:21: E128 continuation line under-indented for visual indent
392: D290 White spaces around docstring should be trimmed.
392: D203 Expected 1 blank line *before* class docstring, found 0
397: D290 White spaces around docstring should be trimmed.
410:17: E128 continuation line under-indented for visual indent
411:40: E126 continuation line over-indented for hanging indent
454:102: E203 whitespace before ':'
456:37: E127 continuation line over-indented for visual indent
456:83: E203 whitespace before ':'
456:107: E203 whitespace before ':'
459:64: E502 the backslash is redundant between brackets
460:29: E128 continuation line under-indented for visual indent
460:44: E502 the backslash is redundant between brackets
461:29: E128 continuation line under-indented for visual indent
471:94: E203 whitespace before ':'
473:29: E127 continuation line over-indented for visual indent
473:75: E203 whitespace before ':'
473:99: E203 whitespace before ':'
476:60: E502 the backslash is redundant between brackets
477:25: E128 continuation line under-indented for visual indent
477:40: E502 the backslash is redundant between brackets
478:25: E128 continuation line under-indented for visual indent
504: D202 No blank lines allowed *after* method docstring, found 1
514:94: E203 whitespace before ':'
516:29: E127 continuation line over-indented for visual indent
516:75: E203 whitespace before ':'
516:99: E203 whitespace before ':'
519:60: E502 the backslash is redundant between brackets
520:25: E128 continuation line under-indented for visual indent
520:40: E502 the backslash is redundant between brackets
521:25: E128 continuation line under-indented for visual indent
549:9: E303 too many blank lines (2)
561: D290 White spaces around docstring should be trimmed.
561: D203 Expected 1 blank line *before* class docstring, found 0
566: D290 White spaces around docstring should be trimmed.
566: D202 No blank lines allowed *after* method docstring, found 1
593:1: E302 expected 2 blank lines, found 1
593: D290 White spaces around docstring should be trimmed.
606: D209 Put multi-line docstring closing quotes on separate line
606: D400 First line should end with '.', not 't'
606: D205 Blank line missing between one-line summary and description
619: D401 First line should be imperative: 'Thi', not 'This'
619: D290 White spaces around docstring should be trimmed.
619: D209 Put multi-line docstring closing quotes on separate line
619: D202 No blank lines allowed *after* method docstring, found 1
619: D400 First line should end with '.', not 'r'
619: D205 Blank line missing between one-line summary and description
722: D400 First line should end with '.', not 'I'
724:63: E231 missing whitespace after ','
731: D290 White spaces around docstring should be trimmed.
740: D400 First line should end with '.', not 'e'
745:55: E202 whitespace before '}'
787: D209 Put multi-line docstring closing quotes on separate line
787: D400 First line should end with '.', not 'g'
787: D205 Blank line missing between one-line summary and description
792:84: E203 whitespace before ':'
803:17: E128 continuation line under-indented for visual indent
806:13: F841 local variable 'user_preferences' is assigned to but never used
820:5: F841 local variable 'normalised_name' is assigned to but never used
839: D400 First line should end with '.', not 'e'
839: D205 Blank line missing between one-line summary and description
859:59: E502 the backslash is redundant between brackets
860:32: F812 list comprehension redefines 'doi' from line 839
883:27: F841 local variable 'e' is assigned to but never used
897: D203 Expected 1 blank line *before* class docstring, found 0
900: D202 No blank lines allowed *after* method docstring, found 1
909:38: E231 missing whitespace after ':'
918:94: E203 whitespace before ':'
920:29: E127 continuation line over-indented for visual indent
920:75: E203 whitespace before ':'
920:99: E203 whitespace before ':'
923:60: E502 the backslash is redundant between brackets
924:25: E128 continuation line under-indented for visual indent
924:40: E502 the backslash is redundant between brackets
925:25: E128 continuation line under-indented for visual indent
946:29: F841 local variable 'e' is assigned to but never used
965:59: E127 continuation line over-indented for visual indent
966:59: E127 continuation line over-indented for visual indent
967:59: E127 continuation line over-indented for visual indent
968:59: E127 continuation line over-indented for visual indent
969:59: E127 continuation line over-indented for visual indent
970:59: E127 continuation line over-indented for visual indent
971:59: E127 continuation line over-indented for visual indent
972:59: E127 continuation line over-indented for visual indent
985:13: E122 continuation line missing indentation or outdented
1029: D290 White spaces around docstring should be trimmed.
1029: D203 Expected 1 blank line *before* class docstring, found 0
1029: D400 First line should end with '.', not 't'
1034: D102 Docstring missing
1043: D102 Docstring missing
1053:17: E128 continuation line under-indented for visual indent
1083:86: E203 whitespace before ':'
1085:21: E127 continuation line over-indented for visual indent
1085:67: E203 whitespace before ':'
1085:91: E203 whitespace before ':'
1088:52: E502 the backslash is redundant between brackets
1089:17: E128 continuation line under-indented for visual indent
1089:32: E502 the backslash is redundant between brackets
1090:17: E128 continuation line under-indented for visual indent