2: L102 copyright year is outdated, expected 2015 but got 2013
36:1: I100 Imports statements are in the wrong order. import tempfile should be before import zlib
37:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
38:1: F401 'traceback' imported but unused
40:1: I201 Missing newline before sections or imports.
47:1: I101 Imported names are in the wrong order. Should be cache_exists, delete_cache, delete_hp_change, get_cache, get_cache_post_date, get_record_last_modification_date, get_record_revision_author, uids_with_active_caches, update_cache, update_cache_post_date
48:5: E128 continuation line under-indented for visual indent
49:5: E128 continuation line under-indented for visual indent
50:5: E128 continuation line under-indented for visual indent
51:1: I101 Imported names are in the wrong order. Should be create_record, create_records, field_add_subfield, field_get_subfield_codes, field_get_subfield_values, print_rec, record_add_field, record_add_fields, record_delete_fields, record_get_field_instances, record_get_field_value, record_get_field_values, record_has_field, record_make_all_subfields_volatile, record_modify_controlfield, record_modify_subfield, record_order_subfields, record_strip_empty_fields, record_strip_empty_volatile_subfields, record_xml_output
60:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_EXTEND_RECORD_WITH_COLLECTION_TEMPLATE, CFG_BIBEDIT_LOCKLEVEL, CFG_BIBEDIT_QUEUE_CHECK_METHOD, CFG_BIBEDIT_TIMEOUT, CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_PYLIBDIR
60:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask
60:1: F401 'CFG_PYLIBDIR' imported but unused
68:1: I101 Imported names are in the wrong order. Should be get_bibupload_task_opts, get_info_of_record_revision, get_marcxml_of_record_revision, get_record_revisions
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.db_layer should be before from invenio.utils.text
71:1: I101 Imported names are in the wrong order. Should be get_all_collections_of_a_record, get_record, guess_primary_collection_of_a_record, record_exists
72:6: E126 continuation line over-indented for hanging indent
74:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
75:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email, get_user_info, get_user_preferences, list_registered_users
76:6: E126 continuation line over-indented for hanging indent
77:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.webuser
80:1: I100 Imports statements are in the wrong order. from invenio.legacy.refextract.api should be before from invenio.modules.access.engine
81:36: E126 continuation line over-indented for hanging indent
83:1: I101 Imported names are in the wrong order. Should be ParseError, transform_file
83:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord.textmarc2xmlmarc should be before from invenio.legacy.refextract.api
85:1: I100 Imports statements are in the wrong order. from invenio.modules.editor.registry should be before from invenio.modules.knowledge.api
88:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.modules.editor.registry
95:5: F401 'loads' imported but unused
116: D101 Docstring missing
119:1: E302 expected 2 blank lines, found 1
119: D203 Expected 1 blank line *before* class docstring, found 0
119: D204 Expected 1 blank line *after* class docstring, found 0
119: D400 First line should end with '.', not 's'
125:1: E302 expected 2 blank lines, found 1
125: D290 White spaces around docstring should be trimmed.
125: D400 First line should end with '.', not 'n'
125: D205 Blank line missing between one-line summary and description
129: D290 White spaces around docstring should be trimmed.
129: D400 First line should end with '.', not 'e'
172:1: E302 expected 2 blank lines, found 1
172: D103 Docstring missing
178:1: E302 expected 2 blank lines, found 1
178: D401 First line should be imperative: 'Thi', not 'This'
178: D400 First line should end with '.', not 'l'
178: D205 Blank line missing between one-line summary and description
229:1: E302 expected 2 blank lines, found 1
229: D400 First line should end with '.', not 'e'
229: D205 Blank line missing between one-line summary and description
244:1: E302 expected 2 blank lines, found 1
244: D401 First line should be imperative: 'Ha', not 'Has'
244: D400 First line should end with '.', not 'y'
244: D205 Blank line missing between one-line summary and description
252:1: E302 expected 2 blank lines, found 1
252: D400 First line should end with '.', not 'l'
252: D205 Blank line missing between one-line summary and description
278:1: E302 expected 2 blank lines, found 1
278: D400 First line should end with '.', not 'e'
278: D205 Blank line missing between one-line summary and description
285:1: E302 expected 2 blank lines, found 1
294:1: E302 expected 2 blank lines, found 1
305:1: E302 expected 2 blank lines, found 1
305: D400 First line should end with '.', not 'n'
305: D205 Blank line missing between one-line summary and description
316:1: E302 expected 2 blank lines, found 1
320:1: E302 expected 2 blank lines, found 1
320: D205 Blank line missing between one-line summary and description
331:1: E302 expected 2 blank lines, found 1
331: D103 Docstring missing
335:1: E302 expected 2 blank lines, found 1
335: D400 First line should end with '.', not 'm'
335: D205 Blank line missing between one-line summary and description
403: D400 First line should end with '.', not 'd'
403: D205 Blank line missing between one-line summary and description
416: D290 White spaces around docstring should be trimmed.
416: D400 First line should end with '.', not 'd'
416: D200 One-line docstring should not occupy 2 lines
428: D290 White spaces around docstring should be trimmed.
428: D400 First line should end with '.', not 'e'
428: D205 Blank line missing between one-line summary and description
451: D400 First line should end with '.', not 'e'
451: D205 Blank line missing between one-line summary and description
481:24: E713 test for membership should be 'not in'
490:1: E302 expected 2 blank lines, found 1
490: D401 First line should be imperative: 'Convert', not 'Converts'
490: D400 First line should end with '.', not 'p'
490: D200 One-line docstring should not occupy 3 lines
497:1: E302 expected 2 blank lines, found 1
497: D401 First line should be imperative: 'Convert', not 'Converts'
497: D400 First line should end with '.', not 'e'
497: D200 One-line docstring should not occupy 3 lines
509:1: E302 expected 2 blank lines, found 1
509: D400 First line should end with '.', not 'd'
517:1: E302 expected 2 blank lines, found 1
517: D209 Put multi-line docstring closing quotes on separate line
517: D400 First line should end with '.', not 's'
517: D205 Blank line missing between one-line summary and description
517: D208 Docstring is over-indented
530:1: E302 expected 2 blank lines, found 1
530: D205 Blank line missing between one-line summary and description
540:1: E302 expected 2 blank lines, found 1
540: D205 Blank line missing between one-line summary and description
551:1: E302 expected 2 blank lines, found 1
551: D205 Blank line missing between one-line summary and description
558:1: E302 expected 2 blank lines, found 1
558: D205 Blank line missing between one-line summary and description
578:1: E302 expected 2 blank lines, found 1
584:1: E302 expected 2 blank lines, found 1
584: D103 Docstring missing
591:1: E302 expected 2 blank lines, found 1
591: D205 Blank line missing between one-line summary and description
607: D290 White spaces around docstring should be trimmed.
607: D205 Blank line missing between one-line summary and description
628:9: E128 continuation line under-indented for visual indent
631:1: E302 expected 2 blank lines, found 1
631: D209 Put multi-line docstring closing quotes on separate line
631: D400 First line should end with '.', not ']'
631: D205 Blank line missing between one-line summary and description
631: D208 Docstring is over-indented
670:1: E302 expected 2 blank lines, found 1
670: D401 First line should be imperative: 'Return', not 'Returns'
670: D400 First line should end with '.', not ']'
675:1: E302 expected 2 blank lines, found 1
693: D205 Blank line missing between one-line summary and description
701:1: E302 expected 2 blank lines, found 1
714:1: E302 expected 2 blank lines, found 1
754:1: E302 expected 2 blank lines, found 1
772: D400 First line should end with '.', not 's'
772: D205 Blank line missing between one-line summary and description
793: D401 First line should be imperative: 'Return', not 'Returns'
793: D290 White spaces around docstring should be trimmed.
793: D400 First line should end with '.', not '0'
793: D205 Blank line missing between one-line summary and description
804:61: E128 continuation line under-indented for visual indent
805:61: E128 continuation line under-indented for visual indent
806:61: E128 continuation line under-indented for visual indent
807:61: E128 continuation line under-indented for visual indent
810: D290 White spaces around docstring should be trimmed.
810: D400 First line should end with '.', not 't'
810: D205 Blank line missing between one-line summary and description
825: D290 White spaces around docstring should be trimmed.
825: D400 First line should end with '.', not 't'
848:48: E128 continuation line under-indented for visual indent
854:1: E302 expected 2 blank lines, found 1
854: D400 First line should end with '.', not 'd'
898:1: E302 expected 2 blank lines, found 1
898: D400 First line should end with '.', not 't'
898: D205 Blank line missing between one-line summary and description
916: D400 First line should end with '.', not 'e'
916: D205 Blank line missing between one-line summary and description
934:5: E122 continuation line missing indentation or outdented
950:36: E127 continuation line over-indented for visual indent
951:36: E127 continuation line over-indented for visual indent
952:36: E127 continuation line over-indented for visual indent
953:36: E127 continuation line over-indented for visual indent
957: D400 First line should end with '.', not 'n'
1015: D401 First line should be imperative: 'Create', not 'Creates'
1015: D400 First line should end with '.', not 'e'
1015: D205 Blank line missing between one-line summary and description
1030: D400 First line should end with '.', not 'n'
1030: D205 Blank line missing between one-line summary and description
1050: D401 First line should be imperative: 'Change', not 'Changes'
1050: D400 First line should end with '.', not ','
1050: D205 Blank line missing between one-line summary and description
1068:9: E128 continuation line under-indented for visual indent
1078:13: E128 continuation line under-indented for visual indent
1081: D401 First line should be imperative: 'Return', not 'Returns'
1081: D290 White spaces around docstring should be trimmed.
1081: D400 First line should end with '.', not 'e'
1109: D103 Docstring missing
1123:25: E128 continuation line under-indented for visual indent
1162: D401 First line should be imperative: 'Load', not 'Loads'
1162: D205 Blank line missing between one-line summary and description
1178:52: E201 whitespace after '{'
1178:62: E203 whitespace before ':'
1178:89: E203 whitespace before ':'
1178:105: E202 whitespace before '}'
1191: D401 First line should be imperative: 'Split', not 'Splits'
1191: D400 First line should end with '.', not ':'
1191: D205 Blank line missing between one-line summary and description
1191: D300 Expected """-quotes, got '''-quotes
1271: D401 First line should be imperative: 'Create', not 'Creates'
1271: D400 First line should end with '.', not 'e'
1271: D205 Blank line missing between one-line summary and description
1271: D300 Expected """-quotes, got '''-quotes
1306: D205 Blank line missing between one-line summary and description
1306: D300 Expected """-quotes, got '''-quotes


1: D100 Docstring missing
4: L102 copyright year is outdated, expected 2015 but got 2014
28:1: I201 Missing newline before sections or imports.
29:1: I100 Imports statements are in the wrong order. from datetime should be before from intbitset
29:1: I201 Missing newline before sections or imports.
34:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before from invenio.legacy.search_engine
35:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_indexer should be before from invenio.legacy.bibrank.citation_searcher
36:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibformat.dblayer should be before from invenio.legacy.bibrank.citation_indexer
38:1: I100 Imports statements are in the wrong order. from invenio.modules.records.api should be before from invenio.utils.shell
39:1: I101 Imported names are in the wrong order. Should be task_get_option, task_has_option, task_init, task_set_option, task_sleep_now_if_required, task_update_progress, write_message
39:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.modules.records.api
49: D103 Docstring missing
59: D103 Docstring missing
202:5: F841 local variable 'dummy' is assigned to but never used
264: D103 Docstring missing
440:18: E127 continuation line over-indented for visual indent


You probably should LogFatal here or assert like the other uses of init and use PTHREAD_RWLOCK_wrlock and PTHREAD_RWLOCK_unlock macros


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
1439:31: E701 multiple statements on one line (colon)
1460:27: E701 multiple statements on one line (colon)
1463:184: E261 at least two spaces before inline comment
1466:179: E261 at least two spaces before inline comment
1478: D401 First line should be imperative: 'Divide', not 'Divides'
1478: D209 Put multi-line docstring closing quotes on separate line
1478: D400 First line should end with '.', not ','
1478: D205 Blank line missing between one-line summary and description
1478: D208 Docstring is over-indented
1500: D209 Put multi-line docstring closing quotes on separate line
1500: D205 Blank line missing between one-line summary and description
1511:81: E502 the backslash is redundant between brackets
1512:17: E128 continuation line under-indented for visual indent
1515:63: E502 the backslash is redundant between brackets
1516:21: E128 continuation line under-indented for visual indent
1518: D401 First line should be imperative: 'Keep', not 'Keeps'
1518: D400 First line should end with '.', not 'g'
1518: D205 Blank line missing between one-line summary and description
1518: D208 Docstring is over-indented
1538:9: B901 blind except: statement
1542:5: E303 too many blank lines (2)
1542: D401 First line should be imperative: 'Fetche', not 'Fetches'
1542: D400 First line should end with '.', not 's'
1542: D205 Blank line missing between one-line summary and description
1558: D401 First line should be imperative: 'Delete', not 'Deletes'
1558: D209 Put multi-line docstring closing quotes on separate line
1558: D400 First line should end with '.', not 'w'
1558: D205 Blank line missing between one-line summary and description
1558: D208 Docstring is over-indented
1561:82: E502 the backslash is redundant between brackets
1562:17: E128 continuation line under-indented for visual indent
1572:80: E502 the backslash is redundant between brackets
1573:17: E128 continuation line under-indented for visual indent
1575: D401 First line should be imperative: 'Find', not 'Finds'
1575: D200 One-line docstring should not occupy 3 lines
1584: D400 First line should end with '.', not 'r'
1584: D205 Blank line missing between one-line summary and description
1608: D400 First line should end with '.', not 'e'
1626:35: E261 at least two spaces before inline comment
1657: D400 First line should end with '.', not 'e'
1665:19: E261 at least two spaces before inline comment
1670:17: E127 continuation line over-indented for visual indent
1675: D202 No blank lines allowed *after* method docstring, found 1
1675: D400 First line should end with '.', not 'y'
1675: D205 Blank line missing between one-line summary and description
1699:15: E261 at least two spaces before inline comment
1701:16: E713 test for membership should be 'not in'
1714:49: E713 test for membership should be 'not in'
1734:29: E128 continuation line under-indented for visual indent
1735:33: E128 continuation line under-indented for visual indent
1740:21: E126 continuation line over-indented for hanging indent
1751:13: E128 continuation line under-indented for visual indent
1752:13: E128 continuation line under-indented for visual indent
1775:13: E128 continuation line under-indented for visual indent
1776:13: E128 continuation line under-indented for visual indent
1792:13: E126 continuation line over-indented for hanging indent
1797:1: E302 expected 2 blank lines, found 1
1805:1: E302 expected 2 blank lines, found 1
1805: D290 White spaces around docstring should be trimmed.
1805: D400 First line should end with '.', not 'e'
1805: D205 Blank line missing between one-line summary and description
1839:78: E502 the backslash is redundant between brackets
1840:17: E128 continuation line under-indented for visual indent
1853:1: E302 expected 2 blank lines, found 1
1853: D290 White spaces around docstring should be trimmed.
1860: D401 First line should be imperative: 'Find', not 'Finds'
1860: D290 White spaces around docstring should be trimmed.
1860: D400 First line should end with '.', not ']'
1860: D205 Blank line missing between one-line summary and description
1860: D208 Docstring is over-indented
1879:36: E127 continuation line over-indented for visual indent
1885:41: E127 continuation line over-indented for visual indent
1888:36: E127 continuation line over-indented for visual indent
1894:41: E127 continuation line over-indented for visual indent
1899:36: E127 continuation line over-indented for visual indent
1906:41: E127 continuation line over-indented for visual indent
1927: D401 First line should be imperative: 'Find', not 'Finds'
1927: D290 White spaces around docstring should be trimmed.
1927: D400 First line should end with '.', not ']'
1927: D205 Blank line missing between one-line summary and description
1927: D208 Docstring is over-indented
1967:48: E261 at least two spaces before inline comment
1973: D401 First line should be imperative: 'Find', not 'Finds'
1973: D205 Blank line missing between one-line summary and description
1973: D208 Docstring is over-indented
1989: D401 First line should be imperative: 'Get', not 'Gets'
1989: D400 First line should end with '.', not 'n'
1989: D205 Blank line missing between one-line summary and description
1989: D208 Docstring is over-indented
2024: D401 First line should be imperative: 'Get', not 'Gets'
2024: D400 First line should end with '.', not 'e'
2024: D205 Blank line missing between one-line summary and description
2024: D208 Docstring is over-indented
2042: D401 First line should be imperative: 'Remove', not 'Removes'
2042: D205 Blank line missing between one-line summary and description
2042: D208 Docstring is over-indented
2066: D401 First line should be imperative: 'Decide', not 'Decides'
2066: D205 Blank line missing between one-line summary and description
2066: D208 Docstring is over-indented
2075: D205 Blank line missing between one-line summary and description
2075: D208 Docstring is over-indented
2108: D401 First line should be imperative: 'Run', not 'Runs'
2108: D205 Blank line missing between one-line summary and description
2108: D208 Docstring is over-indented
2164:85: E502 the backslash is redundant between brackets
2165:56: E128 continuation line under-indented for visual indent
2165:86: E502 the backslash is redundant between brackets
2166:56: E128 continuation line under-indented for visual indent
2172:5: E303 too many blank lines (2)
2193:29: E126 continuation line over-indented for hanging indent
2232:29: E126 continuation line over-indented for hanging indent
2244:25: E126 continuation line over-indented for hanging indent
2271:29: E126 continuation line over-indented for hanging indent
2285:25: E126 continuation line over-indented for hanging indent
2310: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
55: D200 One-line docstring should not occupy 3 lines
65:9: E128 continuation line under-indented for visual indent
68:1: E302 expected 2 blank lines, found 1
68: D401 First line should be imperative: 'Return', not 'Returns'
68: D209 Put multi-line docstring closing quotes on separate line
68: D205 Blank line missing between one-line summary and description
68: D208 Docstring is over-indented
84: D401 First line should be imperative: 'Return', not 'Returns'
84: D209 Put multi-line docstring closing quotes on separate line
84: D400 First line should end with '.', not 'e'
84: D205 Blank line missing between one-line summary and description
84: D208 Docstring is over-indented
99: D401 First line should be imperative: 'Return', not 'Returns'
99: D400 First line should end with '.', not 'e'
99: D205 Blank line missing between one-line summary and description
99: D208 Docstring is over-indented
107:5: B901 blind except: statement
114: D401 First line should be imperative: 'Get', not 'Gets'
114: D290 White spaces around docstring should be trimmed.
114: D209 Put multi-line docstring closing quotes on separate line
114: D400 First line should end with '.', not 'd'
114: D205 Blank line missing between one-line summary and description
114: D208 Docstring is over-indented
120:5: B901 blind except: statement
127: D401 First line should be imperative: 'Get', not 'Gets'
127: D290 White spaces around docstring should be trimmed.
127: D209 Put multi-line docstring closing quotes on separate line
127: D400 First line should end with '.', not 'd'
127: D205 Blank line missing between one-line summary and description
127: D208 Docstring is over-indented
133:5: B901 blind except: statement
140: D205 Blank line missing between one-line summary and description
170: D400 First line should end with '.', not 's'
170: D205 Blank line missing between one-line summary and description
170: D208 Docstring is over-indented
181:11: E271 multiple spaces after keyword
187:1: F401 'get_idx_indexer' imported but unused
190: D401 First line should be imperative: 'Return', not 'Returns'
190: D209 Put multi-line docstring closing quotes on separate line
190: D205 Blank line missing between one-line summary and description
190: D208 Docstring is over-indented
212: D401 First line should be imperative: 'Return', not 'Returns'
212: D290 White spaces around docstring should be trimmed.
221: D401 First line should be imperative: 'Return', not 'Returns'
221: D209 Put multi-line docstring closing quotes on separate line
221: D400 First line should end with '.', not 'h'
221: D205 Blank line missing between one-line summary and description
221: D208 Docstring is over-indented
232: D401 First line should be imperative: 'Check', not 'Checks'
232: D400 First line should end with '.', not 'l'
241:1: E302 expected 2 blank lines, found 1
241: D400 First line should end with '.', not 's'
241: D205 Blank line missing between one-line summary and description
241: D208 Docstring is over-indented
255:1: E302 expected 2 blank lines, found 1
255: D401 First line should be imperative: 'Return', not 'Returns'
255: D205 Blank line missing between one-line summary and description
255: D208 Docstring is over-indented
268: D401 First line should be imperative: 'Return', not 'Returns'
268: D209 Put multi-line docstring closing quotes on separate line
268: D205 Blank line missing between one-line summary and description
268: D208 Docstring is over-indented
281: D401 First line should be imperative: 'Return', not 'Returns'
281: D209 Put multi-line docstring closing quotes on separate line
281: D205 Blank line missing between one-line summary and description
281: D208 Docstring is over-indented
291: D401 First line should be imperative: 'Return', not 'Returns'
291: D400 First line should end with '.', not 's'
291: D205 Blank line missing between one-line summary and description
291: D208 Docstring is over-indented
303: D401 First line should be imperative: 'Return', not 'Returns'
303: D209 Put multi-line docstring closing quotes on separate line
303: D400 First line should end with '.', not 'g'
303: D205 Blank line missing between one-line summary and description
303: D208 Docstring is over-indented
308:26: E261 at least two spaces before inline comment
308:27: E262 inline comment should start with '# '
309:26: E261 at least two spaces before inline comment
309:27: E262 inline comment should start with '# '
324:25: E261 at least two spaces before inline comment
324:26: E262 inline comment should start with '# '
344: D401 First line should be imperative: 'Return', not 'Returns'
344: D209 Put multi-line docstring closing quotes on separate line
344: D400 First line should end with '.', not 'g'
344: D205 Blank line missing between one-line summary and description
344: D208 Docstring is over-indented
381: D401 First line should be imperative: 'Return', not 'Returns'
381: D205 Blank line missing between one-line summary and description
381: D208 Docstring is over-indented
419: D401 First line should be imperative: 'Return', not 'Returns'
419: D400 First line should end with '.', not ':'
419: D205 Blank line missing between one-line summary and description
419: D208 Docstring is over-indented
424:10: E225 missing whitespace around operator
432: D401 First line should be imperative: 'Remove', not 'Removes'
432: D205 Blank line missing between one-line summary and description
432: D208 Docstring is over-indented
445: D208 Docstring is over-indented
445: D200 One-line docstring should not occupy 3 lines
459: D401 First line should be imperative: 'Create', not 'Creates'
459: D400 First line should end with '.', not 'd'
459: D205 Blank line missing between one-line summary and description
459: D208 Docstring is over-indented
469: D101 Docstring missing
473: D401 First line should be imperative: 'Return', not 'Returns'
473: D300 Expected """-quotes, got '-quotes
483: D401 First line should be imperative: 'Return', not 'Returns'
483: D400 First line should end with '.', not 'y'
483: D205 Blank line missing between one-line summary and description
483: D208 Docstring is over-indented
494:47: E202 whitespace before ')'
498: D401 First line should be imperative: 'Check', not 'Checks'
498: D400 First line should end with '.', not 't'
501:25: E272 multiple spaces before keyword
508: D401 First line should be imperative: 'Check', not 'Checks'
508: D209 Put multi-line docstring closing quotes on separate line
508: D400 First line should end with '.', not ';'
508: D205 Blank line missing between one-line summary and description
508: D208 Docstring is over-indented
514: D401 First line should be imperative: 'Return', not 'Returns'
514: D209 Put multi-line docstring closing quotes on separate line
514: D400 First line should end with '.', not ';'
514: D205 Blank line missing between one-line summary and description
514: D208 Docstring is over-indented
523: D401 First line should be imperative: 'Find', not 'Finds'
523: D400 First line should end with '.', not 'n'
523: D205 Blank line missing between one-line summary and description
523: D208 Docstring is over-indented


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


1: D100 Docstring missing
28:32: E261 at least two spaces before inline comment
28:33: E262 inline comment should start with '# '
30:1: I100 Imports statements are in the wrong order. import string should be before import sys
31:1: I100 Imports statements are in the wrong order. import os should be before import string
32:1: I100 Imports statements are in the wrong order. import getopt should be before import os
34:1: I100 Imports statements are in the wrong order. import getpass should be before import re
35:1: I201 Missing newline before sections or imports.
36:1: I100 Imports statements are in the wrong order. from tempfile should be before from six
36:1: I201 Missing newline before sections or imports.
39:1: I101 Imported names are in the wrong order. Should be CFG_BIBMATCH_FUZZY_EMPTY_RESULT_LIMIT, CFG_BIBMATCH_FUZZY_WORDLIMITS, CFG_BIBMATCH_LOCAL_SLEEPTIME, CFG_BIBMATCH_QUERY_TEMPLATES, CFG_BIBMATCH_REMOTE_SLEEPTIME, CFG_BIBMATCH_SEARCH_RESULT_MATCH_LIMIT, CFG_SITE_RECORD, CFG_SITE_SECURE_URL
40:28: E126 continuation line over-indented for hanging indent
47:37: E126 continuation line over-indented for hanging indent
49:39: E126 continuation line over-indented for hanging indent
50:1: I101 Imported names are in the wrong order. Should be create_records, record_add_field, record_get_field_values, record_has_field, record_modify_controlfield, record_xml_output
50:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio_client
53:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibconvert should be before from invenio.legacy.bibrecord
54:1: I101 Imported names are in the wrong order. Should be re_pattern_double_quotes, re_pattern_regexp_quotes, re_pattern_single_quotes
59:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.search_engine.query_parser
60:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord.textmarc2xmlmarc should be before from invenio.legacy.dbquery
61:1: I101 Imported names are in the wrong order. Should be BibMatchValidationError, transform_record_to_marc, validate_matches, validate_tag
61:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibmatch.validator should be before from invenio.legacy.bibrecord.textmarc2xmlmarc
62:40: E126 continuation line over-indented for hanging indent
74: D202 No blank lines allowed *after* function docstring, found 1
74: D400 First line should end with '.', not 'p'
219:1: E302 expected 2 blank lines, found 1
219: D203 Expected 1 blank line *before* class docstring, found 0
219: D204 Expected 1 blank line *after* class docstring, found 0
219: D205 Blank line missing between one-line summary and description
237: D401 First line should be imperative: 'Create', not 'Creates'
255: D400 First line should end with '.', not 'm'
255: D205 Blank line missing between one-line summary and description
277:30: E713 test for membership should be 'not in'
306:107: E502 the backslash is redundant between brackets
323:111: E502 the backslash is redundant between brackets
337: D401 First line should be imperative: 'Return', not 'Returns'
337: D205 Blank line missing between one-line summary and description
410: D401 First line should be imperative: 'Thi', not 'This'
410: D400 First line should end with '.', not 'm'
410: D205 Blank line missing between one-line summary and description
423: D401 First line should be imperative: 'Convert', not 'Converts'
423: D200 One-line docstring should not occupy 3 lines
433: D400 First line should end with '.', not 'g'
433: D205 Blank line missing between one-line summary and description
488:34: E711 comparison to None should be 'if cond is not None:'
495:80: E502 the backslash is redundant between brackets
510: D401 First line should be imperative: 'Look', not 'Looks'
510: D400 First line should end with '.', not 'o'
510: D205 Blank line missing between one-line summary and description
531: D400 First line should end with '.', not 'a'
531: D205 Blank line missing between one-line summary and description
557:1: E302 expected 2 blank lines, found 1
557: D401 First line should be imperative: 'Get', not 'Gets'
557: D200 One-line docstring should not occupy 3 lines
569:1: E302 expected 2 blank lines, found 1
569: D401 First line should be imperative: 'Return', not 'Returns'
569: D205 Blank line missing between one-line summary and description
588:1: E302 expected 2 blank lines, found 1
588: D290 White spaces around docstring should be trimmed.
588: D400 First line should end with '.', not 'h'
592:1: E302 expected 2 blank lines, found 1
592: D400 First line should end with '.', not 'm'
592: D205 Blank line missing between one-line summary and description
630:1: E302 expected 2 blank lines, found 1
630: D400 First line should end with '.', not 'y'
630: D205 Blank line missing between one-line summary and description
642:51: E502 the backslash is redundant between brackets
643:67: E502 the backslash is redundant between brackets
648:1: E302 expected 2 blank lines, found 1
648: D401 First line should be imperative: 'Generate', not 'Generates'
670:54: E502 the backslash is redundant between brackets
673:68: E502 the backslash is redundant between brackets
674:30: E127 continuation line over-indented for visual indent
675:57: E502 the backslash is redundant between brackets
676:31: E127 continuation line over-indented for visual indent
677:61: E502 the backslash is redundant between brackets
678:31: E127 continuation line over-indented for visual indent
681:1: E302 expected 2 blank lines, found 1
681:76: E502 the backslash is redundant between brackets
681: D400 First line should end with '.', not 'o'
681: D205 Blank line missing between one-line summary and description
682:72: E502 the backslash is redundant between brackets
683:59: E502 the backslash is redundant between brackets
684:70: E502 the backslash is redundant between brackets
756:83: E502 the backslash is redundant between brackets
795:105: E502 the backslash is redundant between brackets
796:65: E128 continuation line under-indented for visual indent
801:107: E502 the backslash is redundant between brackets
802:67: E128 continuation line under-indented for visual indent
816:107: E502 the backslash is redundant between brackets
822:111: E502 the backslash is redundant between brackets
835:107: E502 the backslash is redundant between brackets
836:67: E128 continuation line under-indented for visual indent
845:110: E502 the backslash is redundant between brackets
849:1: E302 expected 2 blank lines, found 1
849:98: E502 the backslash is redundant between brackets
849: D401 First line should be imperative: 'Matche', not 'Matches'
850:69: E502 the backslash is redundant between brackets
851:74: E502 the backslash is redundant between brackets
922:24: E711 comparison to None should be 'if cond is not None:'
935:76: E502 the backslash is redundant between brackets
949:75: E502 the backslash is redundant between brackets
950:37: E128 continuation line under-indented for visual indent
958:101: E502 the backslash is redundant between brackets
966:100: E502 the backslash is redundant between brackets
967:84: E502 the backslash is redundant between brackets
968:84: E502 the backslash is redundant between brackets
969:98: E502 the backslash is redundant between brackets
970:94: E502 the backslash is redundant between brackets
971:86: E502 the backslash is redundant between brackets
1042:88: E502 the backslash is redundant between brackets
1049:42: E128 continuation line under-indented for visual indent
1049:86: E502 the backslash is redundant between brackets
1053:42: E128 continuation line under-indented for visual indent
1055:42: E711 comparison to None should be 'if cond is None:'
1062:42: E711 comparison to None should be 'if cond is None:'
1080:119: E502 the backslash is redundant between brackets
1088:112: E502 the backslash is redundant between brackets
1089:96: E502 the backslash is redundant between brackets
1090:96: E502 the backslash is redundant between brackets
1091:110: E502 the backslash is redundant between brackets
1092:106: E502 the backslash is redundant between brackets
1093:98: E502 the backslash is redundant between brackets
1125:1: E302 expected 2 blank lines, found 1
1125: D401 First line should be imperative: 'Take', not 'Takes'
1125: D400 First line should end with '.', not 't'
1125: D205 Blank line missing between one-line summary and description
1146:1: E302 expected 2 blank lines, found 1
1146: D400 First line should end with '.', not 'y'
1146: D205 Blank line missing between one-line summary and description
1157:1: E302 expected 2 blank lines, found 1
1157: D400 First line should end with '.', not 's'
1157: D205 Blank line missing between one-line summary and description
1165:18: E128 continuation line under-indented for visual indent
1166:20: E126 continuation line over-indented for hanging indent
1190:18: E126 continuation line over-indented for hanging indent
1192:34: F841 local variable 'e' is assigned to but never used
1326:90: E502 the backslash is redundant between brackets
1328:86: E502 the backslash is redundant between brackets


1: D100 Docstring missing
4: L102 copyright year is outdated, expected 2015 but got 2014
26:1: I100 Imports statements are in the wrong order. import os should be before import time
28:1: I100 Imports statements are in the wrong order. import ConfigParser should be before import sys
31:1: I201 Missing newline before sections or imports.
32:1: I201 Missing newline before sections or imports.
34:1: I100 Imports statements are in the wrong order. from intbitset should be before from six
34:1: F999 redefinition of unused 'intbitset' from line 31
35:1: I201 Missing newline before sections or imports.
40:1: I101 Imported names are in the wrong order. Should be get_collection_reclist, search_pattern, search_unit
40:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.utils.redis
41:35: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be task_get_option, task_get_task_param, task_sleep_now_if_required, task_update_progress, write_message
45:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.modules.knowledge.api
46:22: E126 continuation line over-indented for hanging indent
48:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_utils should be before from invenio.legacy.bibsched.bibtask
50:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.docextract.record
53:20: E126 continuation line over-indented for hanging indent
56: D103 Docstring missing
64: D103 Docstring missing
72: D103 Docstring missing
102: D400 First line should end with '.', not 'g'
102: D205 Blank line missing between one-line summary and description
149:55: E127 continuation line over-indented for visual indent
159: D103 Docstring missing
204: D400 First line should end with '.', not 'e'
210: D103 Docstring missing
227: D400 First line should end with '.', not 'd'
227: D200 One-line docstring should not occupy 2 lines
241: D400 First line should end with '.', not 's'
241: D200 One-line docstring should not occupy 2 lines
258: D400 First line should end with '.', not 'g'
273: D202 No blank lines allowed *after* function docstring, found 1
273: D400 First line should end with '.', not 't'
282: D400 First line should end with '.', not 'e'
387: D400 First line should end with '.', not 'd'
455: D400 First line should end with '.', not 'm'
464:46: E227 missing whitespace around bitwise or shift operator
466:48: E227 missing whitespace around bitwise or shift operator
471: D401 First line should be imperative: 'Scan', not 'Scans'
471: D400 First line should end with '.', not 'd'
471: D205 Blank line missing between one-line summary and description
471: D208 Docstring is over-indented
537:30: E128 continuation line under-indented for visual indent
539:25: E127 continuation line over-indented for visual indent
556:31: E127 continuation line over-indented for visual indent
560:40: E127 continuation line over-indented for visual indent
579:9: E303 too many blank lines (2)
581:34: E128 continuation line under-indented for visual indent
583:36: E127 continuation line over-indented for visual indent
587:39: E128 continuation line under-indented for visual indent
589:36: E127 continuation line over-indented for visual indent
601:29: E128 continuation line under-indented for visual indent
605:29: E128 continuation line under-indented for visual indent
608:25: E127 continuation line over-indented for visual indent
624:39: E127 continuation line over-indented for visual indent
627:39: E127 continuation line over-indented for visual indent
637:39: E127 continuation line over-indented for visual indent
645:34: E127 continuation line over-indented for visual indent
666:19: E128 continuation line under-indented for visual indent
667:19: E128 continuation line under-indented for visual indent
668:19: E128 continuation line under-indented for visual indent
672: D400 First line should end with '.', not 't'
672: D205 Blank line missing between one-line summary and description
672: D208 Docstring is over-indented
726:41: E127 continuation line over-indented for visual indent
737:36: E127 continuation line over-indented for visual indent
766:47: E127 continuation line over-indented for visual indent
785:34: E127 continuation line over-indented for visual indent
824:34: E127 continuation line over-indented for visual indent
863:34: E127 continuation line over-indented for visual indent
897:34: E127 continuation line over-indented for visual indent
923:34: E127 continuation line over-indented for visual indent
951:44: E127 continuation line over-indented for visual indent
958:49: E127 continuation line over-indented for visual indent
980:50: E127 continuation line over-indented for visual indent
991:21: E128 continuation line under-indented for visual indent
1012:29: E127 continuation line over-indented for visual indent
1033:29: E127 continuation line over-indented for visual indent
1054:29: E127 continuation line over-indented for visual indent
1071:29: E127 continuation line over-indented for visual indent
1110: D400 First line should end with '.', not 'e'
1110: D205 Blank line missing between one-line summary and description
1124: D401 First line should be imperative: 'Thi', not 'This'
1124: D200 One-line docstring should not occupy 3 lines
1136: D400 First line should end with '.', not 'w'
1136: D205 Blank line missing between one-line summary and description
1149: D400 First line should end with '.', not 'e'
1156: D400 First line should end with '.', not 'd'
1156: D205 Blank line missing between one-line summary and description
1186: D400 First line should end with '.', not 'd'
1186: D205 Blank line missing between one-line summary and description
1218: D208 Docstring is over-indented
1235:27: E127 continuation line over-indented for visual indent
1241: D209 Put multi-line docstring closing quotes on separate line
1241: D400 First line should end with '.', not 'e'
1241: D208 Docstring is over-indented
1249: D400 First line should end with '.', not 'l'
1249: D205 Blank line missing between one-line summary and description
1272: D400 First line should end with '.', not ']'
1282: D400 First line should end with '.', not 'e'


1: D400 First line should end with '.', not 'e'
4: L102 copyright year is outdated, expected 2015 but got 2012
24:1: I201 Missing newline before sections or imports.
25:1: I101 Imported names are in the wrong order. Should be Error, deserialize_via_marshal, run_sql, serialize_via_marshal
25:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils.date
26:1: E122 continuation line missing indentation or outdented
28:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.search_engine
28:1: I201 Missing newline before sections or imports.
29:1: I101 Imported names are in the wrong order. Should be task_sleep_now_if_required, task_update_progress, write_message
29:1: I201 Missing newline before sections or imports.
30:1: E122 continuation line missing indentation or outdented
31:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask
33:1: E122 continuation line missing indentation or outdented
42:44: E251 unexpected spaces around keyword / parameter equals
42:46: E251 unexpected spaces around keyword / parameter equals
42: D401 First line should be imperative: 'Return', not 'Returns'
42: D209 Put multi-line docstring closing quotes on separate line
42: D205 Blank line missing between one-line summary and description
53:75: E502 the backslash is redundant between brackets
54:65: E502 the backslash is redundant between brackets
55:28: E225 missing whitespace around operator
66:78: E502 the backslash is redundant between brackets
67:83: E502 the backslash is redundant between brackets
68:32: E225 missing whitespace around operator
81:44: E261 at least two spaces before inline comment
81:44: E262 inline comment should start with '# '
81: D401 First line should be imperative: 'Return', not 'Returns'
81: D400 First line should end with '.', not 'm'
87:30: E261 at least two spaces before inline comment
96: D401 First line should be imperative: 'Return', not 'Returns'
96: D209 Put multi-line docstring closing quotes on separate line
96: D400 First line should end with '.', not 'n'
96: D205 Blank line missing between one-line summary and description
105: D401 First line should be imperative: 'Find', not 'Finds'
105: D400 First line should end with '.', not 'g'
105: D300 Expected """-quotes, got '''-quotes
114:66: E502 the backslash is redundant between brackets
115:46: E225 missing whitespace around operator
133:8: E111 indentation is not a multiple of four
147: D209 Put multi-line docstring closing quotes on separate line
147: D400 First line should end with '.', not 'y'
147: D205 Blank line missing between one-line summary and description
147: D300 Expected """-quotes, got '''-quotes
158:68: E502 the backslash is redundant between brackets
159:24: E225 missing whitespace around operator
170: D401 First line should be imperative: 'Return', not 'Returns'
170: D400 First line should end with '.', not 'd'
170: D300 Expected """-quotes, got '''-quotes
178:91: E502 the backslash is redundant between brackets
179:28: E225 missing whitespace around operator
182:72: E502 the backslash is redundant between brackets
183:60: E502 the backslash is redundant between brackets
184:24: E225 missing whitespace around operator
188: D209 Put multi-line docstring closing quotes on separate line
188: D400 First line should end with '.', not 'y'
188: D205 Blank line missing between one-line summary and description
188: D300 Expected """-quotes, got '''-quotes
193:73: E225 missing whitespace around operator
194:96: E502 the backslash is redundant between brackets
194:56: E231 missing whitespace after ','
194:76: E231 missing whitespace after ','
195:56: E231 missing whitespace after ','
200: D401 First line should be imperative: 'Return', not 'Returns'
200: D205 Blank line missing between one-line summary and description
210:63: E502 the backslash is redundant between brackets
211:28: E225 missing whitespace around operator
213:76: E502 the backslash is redundant between brackets
213:70: E225 missing whitespace around operator
220:58: E502 the backslash is redundant between brackets
221:28: E225 missing whitespace around operator
223:65: E225 missing whitespace around operator
234:80: E502 the backslash is redundant between brackets
235:24: E225 missing whitespace around operator
239: D400 First line should end with '.', not 'n'
239: D300 Expected """-quotes, got '''-quotes
245:34: E261 at least two spaces before inline comment
245:34: E262 inline comment should start with '# '
248:50: E225 missing whitespace around operator
254:60: E502 the backslash is redundant between brackets
255:24: E225 missing whitespace around operator
257:1: E302 expected 2 blank lines, found 1
257: D401 First line should be imperative: 'Identifie', not 'Identifies'
257: D400 First line should end with '.', not 't'
264:1: E302 expected 2 blank lines, found 1
264: D401 First line should be imperative: 'Doe', not 'Does'
264: D209 Put multi-line docstring closing quotes on separate line
264: D400 First line should end with '.', not 'e'
264: D205 Blank line missing between one-line summary and description
272:80: E502 the backslash is redundant between brackets
273:24: E225 missing whitespace around operator
279:17: E127 continuation line over-indented for visual indent
280:76: E502 the backslash is redundant between brackets
288:81: E502 the backslash is redundant between brackets
293:86: E502 the backslash is redundant between brackets
300: D400 First line should end with '.', not 'A'
312:17: E261 at least two spaces before inline comment
313:65: E502 the backslash is redundant between brackets
314:60: E225 missing whitespace around operator
321:43: E502 the backslash is redundant between brackets
322:13: E128 continuation line under-indented for visual indent
322:77: E502 the backslash is redundant between brackets
325:80: E502 the backslash is redundant between brackets
326:50: E225 missing whitespace around operator
328:75: E502 the backslash is redundant between brackets
333: D400 First line should end with '.', not 'S'
335:64: E502 the backslash is redundant between brackets
336:50: E502 the backslash is redundant between brackets
337:20: E225 missing whitespace around operator
338:60: E225 missing whitespace around operator
343:119: E502 the backslash is redundant between brackets
346:17: E261 at least two spaces before inline comment
350:62: E502 the backslash is redundant between brackets
355:43: E502 the backslash is redundant between brackets
356:13: E128 continuation line under-indented for visual indent
358:81: E502 the backslash is redundant between brackets
359:58: E225 missing whitespace around operator
361:57: E502 the backslash is redundant between brackets
362:50: E225 missing whitespace around operator
366: D209 Put multi-line docstring closing quotes on separate line
366: D205 Blank line missing between one-line summary and description
370:66: E502 the backslash is redundant between brackets
371:20: E225 missing whitespace around operator
379:42: E225 missing whitespace around operator
383:38: E225 missing whitespace around operator
388: D209 Put multi-line docstring closing quotes on separate line
388: D400 First line should end with '.', not 's'
388: D205 Blank line missing between one-line summary and description
393:54: E502 the backslash is redundant between brackets
429: D401 First line should be imperative: 'Return', not 'Returns'
429: D209 Put multi-line docstring closing quotes on separate line
429: D202 No blank lines allowed *after* function docstring, found 1
429: D400 First line should end with '.', not 'r'
429: D205 Blank line missing between one-line summary and description
435:24: E261 at least two spaces before inline comment
435:25: E262 inline comment should start with '# '
444:73: E502 the backslash is redundant between brackets
445:51: E225 missing whitespace around operator
454:63: E502 the backslash is redundant between brackets
455:49: E225 missing whitespace around operator
460: D401 First line should be imperative: 'Return', not 'Returns'
460: D400 First line should end with '.', not 's'
462:53: E502 the backslash is redundant between brackets
466: D401 First line should be imperative: 'Return', not 'Returns'
466: D209 Put multi-line docstring closing quotes on separate line
466: D400 First line should end with '.', not ':'
466: D205 Blank line missing between one-line summary and description
475:13: F841 local variable 'dummy' is assigned to but never used
480:27: E261 at least two spaces before inline comment
480:28: E262 inline comment should start with '# '
485: D401 First line should be imperative: 'Return', not 'Returns'
485: D209 Put multi-line docstring closing quotes on separate line
485: D400 First line should end with '.', not ','
485: D205 Blank line missing between one-line summary and description
497:75: E502 the backslash is redundant between brackets
498:23: E128 continuation line under-indented for visual indent
498:24: E225 missing whitespace around operator
512:72: E502 the backslash is redundant between brackets
513:69: E225 missing whitespace around operator
515:83: E502 the backslash is redundant between brackets
516:23: E128 continuation line under-indented for visual indent
516:24: E225 missing whitespace around operator
523: D401 First line should be imperative: 'Thi', not 'This'
523: D209 Put multi-line docstring closing quotes on separate line
523: D400 First line should end with '.', not 'd'
523: D205 Blank line missing between one-line summary and description
530:5: B901 blind except: statement
534:1: E302 expected 2 blank lines, found 1
534: D401 First line should be imperative: 'Thi', not 'This'
534: D209 Put multi-line docstring closing quotes on separate line
534: D400 First line should end with '.', not 'd'
534: D205 Blank line missing between one-line summary and description
549:20: E261 at least two spaces before inline comment
553:1: E302 expected 2 blank lines, found 1
553: D401 First line should be imperative: 'Thi', not 'This'
553: D209 Put multi-line docstring closing quotes on separate line
553: D400 First line should end with '.', not 'e'
553: D205 Blank line missing between one-line summary and description
563:1: E302 expected 2 blank lines, found 1
563:59: E251 unexpected spaces around keyword / parameter equals
563:61: E251 unexpected spaces around keyword / parameter equals
563: D401 First line should be imperative: 'Update', not 'Updates'
563: D209 Put multi-line docstring closing quotes on separate line
563: D202 No blank lines allowed *after* function docstring, found 1
563: D400 First line should end with '.', not 'd'
563: D205 Blank line missing between one-line summary and description
574:69: E502 the backslash is redundant between brackets
575:46: E225 missing whitespace around operator
584:75: E502 the backslash is redundant between brackets
585:24: E225 missing whitespace around operator
586:21: E261 at least two spaces before inline comment
586:22: E262 inline comment should start with '# '
590:83: E502 the backslash is redundant between brackets
591:24: E225 missing whitespace around operator
605:14: E261 at least two spaces before inline comment
619:60: E502 the backslash is redundant between brackets
620:28: E225 missing whitespace around operator
623:69: E502 the backslash is redundant between brackets
624:33: E128 continuation line under-indented for visual indent
626:60: E502 the backslash is redundant between brackets
627:28: E225 missing whitespace around operator
629:69: E502 the backslash is redundant between brackets
630:33: E128 continuation line under-indented for visual indent
632:59: E502 the backslash is redundant between brackets
633:28: E225 missing whitespace around operator
643:68: E502 the backslash is redundant between brackets
644:42: E128 continuation line under-indented for visual indent
652:85: E502 the backslash is redundant between brackets
653:28: E225 missing whitespace around operator
658:117: E251 unexpected spaces around keyword / parameter equals
658:119: E251 unexpected spaces around keyword / parameter equals
658: D401 First line should be imperative: 'Update', not 'Updates'
658: D400 First line should end with '.', not 's'
662:62: E225 missing whitespace around operator
667:64: E502 the backslash is redundant between brackets
668:24: E225 missing whitespace around operator
689:17: E125 continuation line with same indent as next logical line
705:72: E502 the backslash is redundant between brackets
717:66: E502 the backslash is redundant between brackets
718:21: E128 continuation line under-indented for visual indent
722:66: E502 the backslash is redundant between brackets
723:21: E128 continuation line under-indented for visual indent
724:64: E225 missing whitespace around operator
727: D401 First line should be imperative: 'Modifie', not 'Modifies'
727: D209 Put multi-line docstring closing quotes on separate line
727: D400 First line should end with '.', not 'n'
727: D205 Blank line missing between one-line summary and description
736: D401 First line should be imperative: 'Insert', not 'Inserts'
736: D400 First line should end with '.', not 's'
745:50: E261 at least two spaces before inline comment
745:50: E262 inline comment should start with '# '
751:34: E261 at least two spaces before inline comment
751:35: E262 inline comment should start with '# '
758:23: E261 at least two spaces before inline comment
758:24: E262 inline comment should start with '# '
765:38: E225 missing whitespace around operator
769: D400 First line should end with '.', not 's'
777:38: E225 missing whitespace around operator
781: D209 Put multi-line docstring closing quotes on separate line
781: D400 First line should end with '.', not 'w'
781: D205 Blank line missing between one-line summary and description
791: D400 First line should end with '.', not ')'
808: D401 First line should be imperative: 'Update', not 'Updates'
808: D209 Put multi-line docstring closing quotes on separate line
808: D202 No blank lines allowed *after* function docstring, found 1
808: D400 First line should end with '.', not 't'
808: D205 Blank line missing between one-line summary and description
818:66: E502 the backslash is redundant between brackets
819:59: E502 the backslash is redundant between brackets
820:20: E225 missing whitespace around operator
846:27: E261 at least two spaces before inline comment
853:61: E225 missing whitespace around operator
854:71: E225 missing whitespace around operator
857:82: E502 the backslash is redundant between brackets
858:28: E225 missing whitespace around operator
863:32: E261 at least two spaces before inline comment
867:28: E261 at least two spaces before inline comment
867:29: E262 inline comment should start with '# '
870:82: E502 the backslash is redundant between brackets
871:27: E128 continuation line under-indented for visual indent
873:84: E502 the backslash is redundant between brackets
874:19: E128 continuation line under-indented for visual indent
874:20: E225 missing whitespace around operator
879:56: E225 missing whitespace around operator
880:58: E225 missing whitespace around operator
883:87: E502 the backslash is redundant between brackets
884:27: E128 continuation line under-indented for visual indent
884:28: E225 missing whitespace around operator
889:38: E251 unexpected spaces around keyword / parameter equals
889:40: E251 unexpected spaces around keyword / parameter equals
889: D401 First line should be imperative: 'Rebalance', not 'Rebalances'
889: D400 First line should end with '.', not 't'
901:58: E225 missing whitespace around operator
903:23: E261 at least two spaces before inline comment
905:62: E502 the backslash is redundant between brackets
906:24: E225 missing whitespace around operator
912:56: E225 missing whitespace around operator
913:70: E502 the backslash is redundant between brackets
914:27: E127 continuation line over-indented for visual indent
914:28: E225 missing whitespace around operator
916:33: E128 continuation line under-indented for visual indent
917:33: E128 continuation line under-indented for visual indent
918:33: E128 continuation line under-indented for visual indent
920:72: E502 the backslash is redundant between brackets
921:28: E225 missing whitespace around operator
929: D401 First line should be imperative: 'test', not 'tests'
929: D400 First line should end with '.', not 's'


1: D400 First line should end with '.', not 't'
1: D205 Blank line missing between one-line summary and description
4: L102 copyright year is outdated, expected 2015 but got 2014
29:1: I101 Imported names are in the wrong order. Should be get_table_update_time, run_sql
29:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from werkzeug.utils
37: D203 Expected 1 blank line *before* class docstring, found 0
37: D204 Expected 1 blank line *after* class docstring, found 0
37: D400 First line should end with '.', not 's'
37: D205 Blank line missing between one-line summary and description
47: D290 White spaces around docstring should be trimmed.
47: D205 Blank line missing between one-line summary and description
47: D208 Docstring is over-indented
52:27: E261 at least two spaces before inline comment
53:24: E261 at least two spaces before inline comment
54:25: E113 unexpected indentation
56:41: W602 deprecated form of raising exception
59:41: W602 deprecated form of raising exception
68: D400 First line should end with '.', not 'n'
68: D205 Blank line missing between one-line summary and description
76: D400 First line should end with '.', not 'p'
76: D205 Blank line missing between one-line summary and description
84:1: E302 expected 2 blank lines, found 1
84: D203 Expected 1 blank line *before* class docstring, found 0
84: D204 Expected 1 blank line *after* class docstring, found 0
84: D400 First line should end with '.', not 'd'
84: D205 Blank line missing between one-line summary and description
89: D290 White spaces around docstring should be trimmed.
89: D400 First line should end with '.', not 'e'
89: D205 Blank line missing between one-line summary and description
89: D208 Docstring is over-indented
102: D209 Put multi-line docstring closing quotes on separate line
102: D400 First line should end with '.', not 'd'
102: D205 Blank line missing between one-line summary and description
106:17: E128 continuation line under-indented for visual indent
115: D102 Docstring missing
123: D102 Docstring missing
127: D102 Docstring missing
130: D102 Docstring missing
132:1: W391 blank line at end of file


1: D400 First line should end with '.', not 's'
2: L102 copyright year is outdated, expected 2015 but got 2014
23:1: I100 Imports statements are in the wrong order. import os should be before from six.moves
23:1: I201 Missing newline before sections or imports.
26:1: I100 Imports statements are in the wrong order. import tempfile should be before import time
27:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
28:1: I100 Imports statements are in the wrong order. import datetime should be before import sys
34:1: I201 Missing newline before sections or imports.
36:1: I101 Imported names are in the wrong order. Should be CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_CACHEDIR, CFG_CERN_SITE, CFG_OAI_DELETED_POLICY, CFG_OAI_EXPIRE, CFG_OAI_FRIENDS, CFG_OAI_IDENTIFY_DESCRIPTION, CFG_OAI_ID_FIELD, CFG_OAI_ID_PREFIX, CFG_OAI_LOAD, CFG_OAI_METADATA_FORMATS, CFG_OAI_PREVIOUS_SET_FIELD, CFG_OAI_PROVENANCE_ALTERED_SUBFIELD, CFG_OAI_PROVENANCE_BASEURL_SUBFIELD, CFG_OAI_PROVENANCE_DATESTAMP_SUBFIELD, CFG_OAI_PROVENANCE_HARVESTDATE_SUBFIELD, CFG_OAI_PROVENANCE_METADATANAMESPACE_SUBFIELD, CFG_OAI_PROVENANCE_ORIGINDESCRIPTION_SUBFIELD, CFG_OAI_SAMPLE_IDENTIFIER, CFG_OAI_SET_FIELD, CFG_SITE_NAME, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_WEBSTYLE_HTTP_USE_COMPRESSION
36:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
37:6: E126 continuation line over-indented for hanging indent
62:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.config
63:1: I101 Imported names are in the wrong order. Should be EscapedXMLString, X
63:1: I201 Missing newline before sections or imports.
64:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils.html
65:1: I101 Imported names are in the wrong order. Should be get_all_restricted_recids, get_record, record_exists, search_pattern, search_unit_in_bibxxx
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.formatter
68:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.bibrecord
71:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.utils.date
74:25: E203 whitespace before ':'
75:25: E203 whitespace before ':'
76:25: E203 whitespace before ':'
81:25: E203 whitespace before ':'
85:25: E203 whitespace before ':'
103: D205 Blank line missing between one-line summary and description
115: D400 First line should end with '.', not 'r'
115: D200 One-line docstring should not occupy 3 lines
143:1: E302 expected 2 blank lines, found 1
143: D202 No blank lines allowed *after* function docstring, found 1
143: D400 First line should end with '.', not 'r'
143: D200 One-line docstring should not occupy 3 lines
165:1: E302 expected 2 blank lines, found 1
165: D200 One-line docstring should not occupy 3 lines
175:1: E302 expected 2 blank lines, found 1
175: D401 First line should be imperative: 'Get', not 'Gets'
175: D202 No blank lines allowed *after* function docstring, found 1
175: D200 One-line docstring should not occupy 3 lines
183:9: E221 multiple spaces before operator
188:1: E302 expected 2 blank lines, found 1
188: D401 First line should be imperative: 'Return', not 'Returns'
188: D205 Blank line missing between one-line summary and description
198:1: E302 expected 2 blank lines, found 1
198: D400 First line should end with '.', not 'e'
198: D205 Blank line missing between one-line summary and description
208:1: E302 expected 2 blank lines, found 1
208: D400 First line should end with '.', not 'e'
208: D205 Blank line missing between one-line summary and description
218:1: E302 expected 2 blank lines, found 1
218: D209 Put multi-line docstring closing quotes on separate line
218: D202 No blank lines allowed *after* function docstring, found 1
218: D400 First line should end with '.', not 'r'
218: D205 Blank line missing between one-line summary and description
227:1: E302 expected 2 blank lines, found 1
227: D400 First line should end with '.', not 'e'
227: D205 Blank line missing between one-line summary and description
243:1: E302 expected 2 blank lines, found 1
243: D400 First line should end with '.', not 't'
243: D205 Blank line missing between one-line summary and description
275:85: E261 at least two spaces before inline comment
275:86: E262 inline comment should start with '# '
280:1: E302 expected 2 blank lines, found 1
280: D200 One-line docstring should not occupy 3 lines
293:9: E113 unexpected indentation
294:13: E113 unexpected indentation
295:17: E113 unexpected indentation
296:13: E113 unexpected indentation
297:17: E113 unexpected indentation
298:13: E113 unexpected indentation
299:17: E113 unexpected indentation
300:13: E113 unexpected indentation
301:17: E113 unexpected indentation
302:13: E113 unexpected indentation
303:17: E113 unexpected indentation
305:9: E113 unexpected indentation
306:13: E113 unexpected indentation
307:17: E113 unexpected indentation
308:13: E113 unexpected indentation
309:17: E113 unexpected indentation
310:13: E113 unexpected indentation
311:17: E113 unexpected indentation
313:1: E302 expected 2 blank lines, found 1
313: D401 First line should be imperative: 'Print', not 'Prints'
313: D202 No blank lines allowed *after* function docstring, found 1
330:37: E713 test for membership should be 'not in'
393:1: E302 expected 2 blank lines, found 1
393: D401 First line should be imperative: 'Generate', not 'Generates'
393: D202 No blank lines allowed *after* function docstring, found 1
412:1: E302 expected 2 blank lines, found 1
412: D401 First line should be imperative: 'Generate', not 'Generates'
412: D202 No blank lines allowed *after* function docstring, found 1
437:30: E261 at least two spaces before inline comment
470:1: E302 expected 2 blank lines, found 1
470: D401 First line should be imperative: 'List', not 'Lists'
470: D202 No blank lines allowed *after* function docstring, found 1
470: D200 One-line docstring should not occupy 3 lines
491: D401 First line should be imperative: 'Return', not 'Returns'
491: D202 No blank lines allowed *after* function docstring, found 1
507:12: E127 continuation line over-indented for visual indent
516:1: E303 too many blank lines (3)
516: D401 First line should be imperative: 'Generate', not 'Generates'
516: D202 No blank lines allowed *after* function docstring, found 1
516: D208 Docstring is over-indented
540:17: E128 continuation line under-indented for visual indent
541:17: E128 continuation line under-indented for visual indent
542:17: E128 continuation line under-indented for visual indent
543:17: E128 continuation line under-indented for visual indent
544:17: E128 continuation line under-indented for visual indent
560:1: E302 expected 2 blank lines, found 1
560: D200 One-line docstring should not occupy 3 lines
566:1: E302 expected 2 blank lines, found 1
566: D200 One-line docstring should not occupy 3 lines
574:1: E302 expected 2 blank lines, found 1
574: D401 First line should be imperative: 'Generate', not 'Generates'
579:1: E302 expected 2 blank lines, found 1
579: D401 First line should be imperative: 'Generate', not 'Generates'
583:1: E302 expected 2 blank lines, found 1
583: D401 First line should be imperative: 'Return', not 'Returns'
583: D209 Put multi-line docstring closing quotes on separate line
583: D400 First line should end with '.', not 'd'
583: D205 Blank line missing between one-line summary and description
599: D401 First line should be imperative: 'Return', not 'Returns'
599: D400 First line should end with '.', not 'C'
599: D200 One-line docstring should not occupy 3 lines
613: D290 White spaces around docstring should be trimmed.
627:29: E261 at least two spaces before inline comment
627:30: E262 inline comment should start with '# '
634:31: E261 at least two spaces before inline comment
634:32: E262 inline comment should start with '# '
648:1: E302 expected 2 blank lines, found 1
648: D401 First line should be imperative: 'Return', not 'Returns'
648: D200 One-line docstring should not occupy 3 lines
669:1: E302 expected 2 blank lines, found 1
669: D401 First line should be imperative: 'Generate', not 'Generates'
675:1: E302 expected 2 blank lines, found 1
675: D400 First line should end with '.', not 'e'
675: D205 Blank line missing between one-line summary and description
688:1: E302 expected 2 blank lines, found 1
688: D200 One-line docstring should not occupy 3 lines
694:1: E302 expected 2 blank lines, found 1
694: D401 First line should be imperative: 'Restore', not 'Restores'
694: D200 One-line docstring should not occupy 3 lines
703:1: E302 expected 2 blank lines, found 1
703: D200 One-line docstring should not occupy 3 lines
718:31: F841 local variable 'e' is assigned to but never used
722:1: E302 expected 2 blank lines, found 1
722: D200 One-line docstring should not occupy 3 lines
756:1: E302 expected 2 blank lines, found 1
756: D400 First line should end with '.', not 's'
756: D205 Blank line missing between one-line summary and description
768:39: E261 at least two spaces before inline comment
768:40: E262 inline comment should start with '# '
780:12: E713 test for membership should be 'not in'
781:16: E126 continuation line over-indented for hanging indent
784:18: E261 at least two spaces before inline comment
788:12: E127 continuation line over-indented for visual indent
797:12: E127 continuation line over-indented for visual indent
805:12: E127 continuation line over-indented for visual indent
818:12: E127 continuation line over-indented for visual indent
819:12: E127 continuation line over-indented for visual indent
825:12: E127 continuation line over-indented for visual indent
826:36: E261 at least two spaces before inline comment
832:12: E127 continuation line over-indented for visual indent
836:12: E127 continuation line over-indented for visual indent
841:12: E127 continuation line over-indented for visual indent
846:12: E127 continuation line over-indented for visual indent
851:1: E302 expected 2 blank lines, found 1
851: D401 First line should be imperative: 'Run', not 'Runs'
851: D400 First line should end with '.', not 'k'
851: D200 One-line docstring should not occupy 3 lines
857:90: E203 whitespace before ':'
857:91: E231 missing whitespace after ':'


1: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
38:1: I100 Imports statements are in the wrong order. from tempfile should be before from six
38:1: I201 Missing newline before sections or imports.
39:1: I100 Imports statements are in the wrong order. from pprint should be before from tempfile
41:1: I101 Imported names are in the wrong order. Should be CFG_OAI_ID_FIELD, CFG_OAI_ID_PREFIX, CFG_OAI_PREVIOUS_SET_FIELD, CFG_OAI_SET_FIELD, CFG_SITE_NAME, CFG_TMPSHAREDDIR
42:6: E126 continuation line over-indented for hanging indent
48:1: I101 Imported names are in the wrong order. Should be CFG_OAI_REPOSITORY_GLOBAL_SET_SPEC, CFG_OAI_REPOSITORY_MARCXML_SIZE
49:6: E126 continuation line over-indented for hanging indent
50:1: I101 Imported names are in the wrong order. Should be get_record, perform_request_search, search_unit_in_bibxxx
51:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.search_engine
51:1: I201 Missing newline before sections or imports.
52:1: I201 Missing newline before sections or imports.
53:1: I101 Imported names are in the wrong order. Should be task_get_option, task_init, task_low_level_submission, task_set_option, task_sleep_now_if_required, task_update_progress, write_message
53:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.legacy.dbquery
54:6: E126 continuation line over-indented for hanging indent
61:1: I101 Imported names are in the wrong order. Should be record_add_field, record_get_field_value, record_get_field_values, record_xml_output
61:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.bibsched.bibtask
62:6: E126 continuation line over-indented for hanging indent
67:1: E302 expected 2 blank lines, found 1
87:1: E302 expected 2 blank lines, found 1
87: D401 First line should be imperative: 'Return', not 'Returns'
97:18: E231 missing whitespace after ':'
98:19: E231 missing whitespace after ':'
98:28: E231 missing whitespace after ':'
98:37: E231 missing whitespace after ':'
99:19: E231 missing whitespace after ':'
99:28: E231 missing whitespace after ':'
99:37: E231 missing whitespace after ':'
100:19: E231 missing whitespace after ':'
100:28: E231 missing whitespace after ':'
100:37: E231 missing whitespace after ':'
101:20: E231 missing whitespace after ':'
101:31: E231 missing whitespace after ':'
109:1: E302 expected 2 blank lines, found 1
109: D401 First line should be imperative: 'Return', not 'Returns'
109: D205 Blank line missing between one-line summary and description
123:1: E302 expected 2 blank lines, found 1
123: D401 First line should be imperative: 'Return', not 'Returns'
123: D400 First line should end with '.', not "'"
135:61: E502 the backslash is redundant between brackets
154:1: E302 expected 2 blank lines, found 1
154: D401 First line should be imperative: 'Return', not 'Returns'
174:1: E302 expected 2 blank lines, found 1
174: D401 First line should be imperative: 'Print', not 'Prints'
200:29: E261 at least two spaces before inline comment
201:29: E261 at least two spaces before inline comment
206:23: E128 continuation line under-indented for visual indent
248:48: E222 multiple spaces after operator
253:9: E303 too many blank lines (2)
255:51: E203 whitespace before ':'
258:51: E203 whitespace before ':'
262:16: E127 continuation line over-indented for visual indent
285:1: E302 expected 2 blank lines, found 1
285: D400 First line should end with '.', not 'e'
290:1: E302 expected 2 blank lines, found 1
290: D400 First line should end with '.', not 'e'
351:35: E127 continuation line over-indented for visual indent
351:61: E502 the backslash is redundant between brackets
352:35: E127 continuation line over-indented for visual indent
361:61: E502 the backslash is redundant between brackets
393:14: E128 continuation line under-indented for visual indent
397:14: E128 continuation line under-indented for visual indent
405:21: E261 at least two spaces before inline comment
429:41: E127 continuation line over-indented for visual indent
429:67: E502 the backslash is redundant between brackets
430:41: E127 continuation line over-indented for visual indent
431:57: E127 continuation line over-indented for visual indent
455:1: E302 expected 2 blank lines, found 1
455: D202 No blank lines allowed *after* function docstring, found 1
481: D209 Put multi-line docstring closing quotes on separate line
481: D400 First line should end with '.', not 'o'
481: D205 Blank line missing between one-line summary and description
489:13: E128 continuation line under-indented for visual indent
490:13: E128 continuation line under-indented for visual indent
491:17: E127 continuation line over-indented for visual indent
499:13: E128 continuation line under-indented for visual indent
505:13: E128 continuation line under-indented for visual indent
510:13: E128 continuation line under-indented for visual indent
511:17: E127 continuation line over-indented for visual indent
512:13: E128 continuation line under-indented for visual indent
514:1: E302 expected 2 blank lines, found 1
514: D400 First line should end with '.', not 'r'