1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
23:1: E402 module level import not at top of file
25:1: I100 Imports statements are in the wrong order. import re should be before from datetime
25:1: E402 module level import not at top of file
26:1: E402 module level import not at top of file
27:1: I100 Imports statements are in the wrong order. import copy should be before import zlib
27:1: E402 module level import not at top of file
28:1: E402 module level import not at top of file
29:1: E402 module level import not at top of file
30:1: I100 Imports statements are in the wrong order. import cookielib should be before import urllib2
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
33:1: E402 module level import not at top of file
34:1: I201 Missing newline before sections or imports.
34:1: E402 module level import not at top of file
36:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules
36:1: E402 module level import not at top of file
37:1: E402 module level import not at top of file
38:1: F401 'auto_version_url' imported but unused
38:1: E402 module level import not at top of file
39:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord.xmlmarc2textmarc should be before from invenio.utils.url
39:1: E402 module level import not at top of file
41:1: I101 Imported names are in the wrong order. Should be CFG_BIBCATALOG_SYSTEM, CFG_BIBCATALOG_SYSTEM_RT_URL, CFG_BIBEDIT_AUTOCOMPLETE, CFG_BIBEDIT_SHOW_HOLDING_PEN_REMOVED_FIELDS, CFG_SITE_LANG
41:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibrecord.xmlmarc2textmarc
41:1: E402 module level import not at top of file
46:1: I101 Imported names are in the wrong order. Should be deactivate_cache, delete_hp_change, delete_related_holdingpen_changes, get_hp_update_xml, get_info_of_record_revision, get_marcxml_of_record_revision, get_name_tags_all, get_record_last_modification_date, get_record_revision_author, get_record_revisions, get_related_hp_changesets, reserve_record_id
46:1: E402 module level import not at top of file
53:1: I101 Imported names are in the wrong order. Should be InvalidCache, add_record_cnum, cache_exists, cache_expired, can_record_have_physical_copies, create_cache, crossref_process_template, delete_cache, extend_record_with_template, get_affiliation_for_paper, get_bibrecord, get_cache_contents, get_cache_mtime, get_field_templates, get_marcxml_of_revision, get_new_ticket_RT_info, get_record_revision_authors, get_record_revision_timestamps, get_record_template, get_record_templates, get_xml_from_textmarc, latest_record_revision, merge_record_with_template, modify_record_timestamp, record_is_conference, record_locked_by_other_user, record_locked_by_queue, record_locked_by_user_details, record_revision_exists, record_xml_output, replace_references, revision_to_timestamp, save_xml_record, timestamp_to_revision, touch_cache, update_cache_contents
53:1: E402 module level import not at top of file
68:1: I101 Imported names are in the wrong order. Should be create_field, create_record, field_add_subfield, field_get_subfield_values, print_rec, record_add_field, record_add_fields, record_add_subfield_into, record_delete_field, record_delete_subfield_from, record_extract_dois, record_get_field_instances, record_get_field_values, record_get_subfields, record_modify_controlfield, record_modify_subfield, record_move_fields, record_move_subfield, record_order_subfields, record_replace_field, record_strip_controlfields, record_strip_empty_fields, record_strip_empty_volatile_subfields
68:1: E402 module level import not at top of file
79:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_INTERNAL_DOI_PROTECTION_LEVEL, CFG_BIBEDIT_KB_SUBJECTS, CFG_BIBEDIT_PROTECTED_FIELDS, CFG_BIBUPLOAD_INTERNAL_DOI_PATTERN, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_SITE_RECORD, CFG_SITE_URL
79:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibrecord
79:1: F401 'CFG_BIBEDIT_PROTECTED_FIELDS' imported but unused
79:1: E402 module level import not at top of file
83:1: I101 Imported names are in the wrong order. Should be guess_primary_collection_of_a_record, perform_request_search, record_exists
83:1: E402 module level import not at top of file
85:1: E402 module level import not at top of file
86:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcatalog.api should be before from invenio.legacy.webuser
86:1: E402 module level import not at top of file
87:1: E402 module level import not at top of file
88:1: E402 module level import not at top of file
89:1: E402 module level import not at top of file
90:1: I101 Imported names are in the wrong order. Should be show_diff, wash_for_xml
90:1: E402 module level import not at top of file
91:1: I100 Imports statements are in the wrong order. from invenio.modules.knowledge.api should be before from invenio.utils.text
91:1: E402 module level import not at top of file
92:6: E126 continuation line over-indented for hanging indent
94:1: I100 Imports statements are in the wrong order. from invenio.legacy.batchuploader.engine should be before from invenio.modules.knowledge.api
94:1: E402 module level import not at top of file
96:1: E402 module level import not at top of file
97:1: E402 module level import not at top of file
99:1: E402 module level import not at top of file
100:36: E126 continuation line over-indented for hanging indent
103:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.refextract.api
103:1: E402 module level import not at top of file
104:1: I101 Imported names are in the wrong order. Should be CrossrefError, get_marcxml_for_doi
104:1: E402 module level import not at top of file
106:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.utils.crossref
106:1: E402 module level import not at top of file
108:1: E402 module level import not at top of file
120: D103 Docstring missing
125: D400 First line should end with '.', not ':'
125: D205 Blank line missing between one-line summary and description
132:17: E126 continuation line over-indented for hanging indent
135:22: E203 whitespace before ':'
136:23: E203 whitespace before ':'
137:23: E203 whitespace before ':'
138:28: E203 whitespace before ':'
139:33: E203 whitespace before ':'
140:13: E126 continuation line over-indented for hanging indent
141:23: E203 whitespace before ':'
142:30: E203 whitespace before ':'
144:33: E203 whitespace before ':'
145:22: E203 whitespace before ':'
146:24: E203 whitespace before ':'
147:13: E126 continuation line over-indented for hanging indent
149:1: E302 expected 2 blank lines, found 1
149: D400 First line should end with '.', not 's'
149: D205 Blank line missing between one-line summary and description
163:9: E115 expected an indented block (comment)
165:21: E126 continuation line over-indented for hanging indent
165:27: E203 whitespace before ':'
166:34: E203 whitespace before ':'
167:37: E203 whitespace before ':'
168:26: E203 whitespace before ':'
169:28: E203 whitespace before ':'
170:17: E121 continuation line under-indented for hanging indent
173:21: E126 continuation line over-indented for hanging indent
175:26: E203 whitespace before ':'
176:27: E203 whitespace before ':'
177:27: E203 whitespace before ':'
178:32: E203 whitespace before ':'
179:37: E203 whitespace before ':'
183:1: E302 expected 2 blank lines, found 1
185:11: E221 multiple spaces before operator
202:26: E251 unexpected spaces around keyword / parameter equals
202:34: E251 unexpected spaces around keyword / parameter equals
202:26: E221 multiple spaces before operator
203:25: E251 unexpected spaces around keyword / parameter equals
203:34: E251 unexpected spaces around keyword / parameter equals
203:25: E221 multiple spaces before operator
204:27: E251 unexpected spaces around keyword / parameter equals
204:34: E251 unexpected spaces around keyword / parameter equals
204:27: E221 multiple spaces before operator
205:29: E251 unexpected spaces around keyword / parameter equals
205:34: E251 unexpected spaces around keyword / parameter equals
205:29: E221 multiple spaces before operator
206:24: E251 unexpected spaces around keyword / parameter equals
206:34: E251 unexpected spaces around keyword / parameter equals
206:24: E221 multiple spaces before operator
207:29: E251 unexpected spaces around keyword / parameter equals
207:34: E251 unexpected spaces around keyword / parameter equals
207:29: E221 multiple spaces before operator
208:29: E251 unexpected spaces around keyword / parameter equals
208:34: E251 unexpected spaces around keyword / parameter equals
208:29: E221 multiple spaces before operator
209:32: E251 unexpected spaces around keyword / parameter equals
209:34: E251 unexpected spaces around keyword / parameter equals
210:24: E251 unexpected spaces around keyword / parameter equals
210:34: E251 unexpected spaces around keyword / parameter equals
210:24: E221 multiple spaces before operator
213:5: E303 too many blank lines (2)
247:32: E203 whitespace before ':'
248:33: E203 whitespace before ':'
249:27: E203 whitespace before ':'
249:66: E221 multiple spaces before operator
250:35: E203 whitespace before ':'
261: D290 White spaces around docstring should be trimmed.
323: D400 First line should end with '.', not 'h'
323: D205 Blank line missing between one-line summary and description
333: D400 First line should end with '.', not 'D'
333: D205 Blank line missing between one-line summary and description
353: D202 No blank lines allowed *after* function docstring, found 1
353: D400 First line should end with '.', not 's'
388:49: E128 continuation line under-indented for visual indent
391:1: E302 expected 2 blank lines, found 1
391: D400 First line should end with '.', not 'r'
391: D205 Blank line missing between one-line summary and description
412: D103 Docstring missing
415:5: B901 blind except: statement
419:31: F821 undefined name 'CFG_BIBEDIT_AJAX_RESULT_CODES_REV'
437:9: E128 continuation line under-indented for visual indent
438:9: E128 continuation line under-indented for visual indent
438:9: E129 visually indented line with same indent as next logical line
463:84: E231 missing whitespace after ','
505:1: E302 expected 2 blank lines, found 1
505: D290 White spaces around docstring should be trimmed.
505: D400 First line should end with '.', not 's'
555: D400 First line should end with '.', not 'f'
555: D205 Blank line missing between one-line summary and description
588:13: E303 too many blank lines (2)
600: D400 First line should end with '.', not 'r'
600: D205 Blank line missing between one-line summary and description
780:75: E502 the backslash is redundant between brackets
887:25: E127 continuation line over-indented for visual indent
903:53: E261 at least two spaces before inline comment
904:52: E114 indentation is not a multiple of four (comment)
904:52: E116 unexpected indentation (comment)
912:61: E126 continuation line over-indented for hanging indent
919:25: E126 continuation line over-indented for hanging indent
974:17: E128 continuation line under-indented for visual indent
981: D202 No blank lines allowed *after* function docstring, found 1
981: D400 First line should end with '.', not 'g'
981: D205 Blank line missing between one-line summary and description
1029:13: B901 blind except: statement
1037:13: B901 blind except: statement
1086:21: E128 continuation line under-indented for visual indent
1119:67: E114 indentation is not a multiple of four (comment)
1121:44: E126 continuation line over-indented for hanging indent
1132:44: E261 at least two spaces before inline comment
1134:42: E261 at least two spaces before inline comment
1135:43: E114 indentation is not a multiple of four (comment)
1135:43: E116 unexpected indentation (comment)
1139:17: E128 continuation line under-indented for visual indent
1145:21: E128 continuation line under-indented for visual indent
1150:19: E128 continuation line under-indented for visual indent
1155:13: E128 continuation line under-indented for visual indent
1155:46: E251 unexpected spaces around keyword / parameter equals
1156:13: E122 continuation line missing indentation or outdented
1159:13: E128 continuation line under-indented for visual indent
1165:13: E128 continuation line under-indented for visual indent
1168:42: E203 whitespace before ','
1176:17: E128 continuation line under-indented for visual indent
1183:18: E261 at least two spaces before inline comment
1186:17: E128 continuation line under-indented for visual indent
1201:29: E128 continuation line under-indented for visual indent
1209:33: E128 continuation line under-indented for visual indent
1235: D400 First line should end with '.', not 'e'
1235: D205 Blank line missing between one-line summary and description
1249:9: E116 unexpected indentation (comment)
1322: D200 One-line docstring should not occupy 3 lines
1336:21: E128 continuation line under-indented for visual indent
1351:25: E122 continuation line missing indentation or outdented
1352:25: E122 continuation line missing indentation or outdented
1353:25: E122 continuation line missing indentation or outdented
1419:47: F821 undefined name 'CFG_BIBEDIT_AJAX_RESULT_CODES_REV'
1426:38: E128 continuation line under-indented for visual indent
1429:59: F821 undefined name 'CFG_BIBEDIT_AJAX_RESULT_CODES_REV'
1432:59: F821 undefined name 'CFG_BIBEDIT_AJAX_RESULT_CODES_REV'
1435:55: F821 undefined name 'CFG_BIBEDIT_AJAX_RESULT_CODES_REV'
1439:51: F821 undefined name 'CFG_BIBEDIT_AJAX_RESULT_CODES_REV'
1446: D401 First line should be imperative: 'Add', not 'Adds'
1446: D400 First line should end with '.', not ')'
1446: D205 Blank line missing between one-line summary and description
1462:36: E127 continuation line over-indented for visual indent
1463:36: E127 continuation line over-indented for visual indent
1468: D400 First line should end with '.', not 's'
1485:9: E128 continuation line under-indented for visual indent
1486:13: E128 continuation line under-indented for visual indent
1487:9: E128 continuation line under-indented for visual indent
1492: D400 First line should end with '.', not 'l'
1492: D205 Blank line missing between one-line summary and description
1510:5: B901 blind except: statement
1533: D290 White spaces around docstring should be trimmed.
1533: D202 No blank lines allowed *after* function docstring, found 1
1533: D400 First line should end with '.', not 'd'
1575:5: B901 blind except: statement
1595: D290 White spaces around docstring should be trimmed.
1595: D400 First line should end with '.', not 'g'
1595: D200 One-line docstring should not occupy 3 lines
1627: D290 White spaces around docstring should be trimmed.
1627: D400 First line should end with '.', not 'F'
1627: D200 One-line docstring should not occupy 2 lines
1639: D290 White spaces around docstring should be trimmed.
1639: D400 First line should end with '.', not 't'
1639: D200 One-line docstring should not occupy 2 lines
1651:13: E126 continuation line over-indented for hanging indent
1656: D290 White spaces around docstring should be trimmed.
1656: D400 First line should end with '.', not 'o'
1656: D205 Blank line missing between one-line summary and description
1671:13: E128 continuation line under-indented for visual indent
1672:29: E127 continuation line over-indented for visual indent
1678: D401 First line should be imperative: 'Return', not 'Returns'
1678: D400 First line should end with '.', not 't'
1695:26: E128 continuation line under-indented for visual indent
1696:26: E124 closing bracket does not match visual indentation
1711:38: E128 continuation line under-indented for visual indent
1723:5: E303 too many blank lines (2)
1725:1: E266 too many leading '#' for block comment
1727:1: E302 expected 2 blank lines, found 1
1727: D400 First line should end with '.', not 's'
1779: D290 White spaces around docstring should be trimmed.
1779: D400 First line should end with '.', not 'e'
1792: D209 Put multi-line docstring closing quotes on separate line
1792: D400 First line should end with '.', not 'e'
1792: D205 Blank line missing between one-line summary and description
1805:5: B901 blind except: statement
1812: D290 White spaces around docstring should be trimmed.
1812: D400 First line should end with '.', not 'e'
1817: D103 Docstring missing
1854: D103 Docstring missing
1867:45: E131 continuation line unaligned for hanging indent


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
24:1: I101 Imported names are in the wrong order. Should be CFG_INSPIRE_SITE, CFG_SITE_URL
24:1: E402 module level import not at top of file
25:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
25:1: E402 module level import not at top of file
27:1: E402 module level import not at top of file
35:1: E302 expected 2 blank lines, found 1
43: D202 No blank lines allowed *after* method docstring, found 1
86:13: E122 continuation line missing indentation or outdented
87:29: E128 continuation line under-indented for visual indent
88:13: E122 continuation line missing indentation or outdented
89:73: E502 the backslash is redundant between brackets
90:13: E122 continuation line missing indentation or outdented
91:17: E128 continuation line under-indented for visual indent
92:17: E128 continuation line under-indented for visual indent
92:40: E502 the backslash is redundant between brackets
93:13: E122 continuation line missing indentation or outdented
94:17: E128 continuation line under-indented for visual indent
95:17: E128 continuation line under-indented for visual indent
95:44: E502 the backslash is redundant between brackets
96:13: E122 continuation line missing indentation or outdented
96:69: E502 the backslash is redundant between brackets
97:13: E122 continuation line missing indentation or outdented
97:62: E502 the backslash is redundant between brackets
98:13: E122 continuation line missing indentation or outdented
98:71: E502 the backslash is redundant between brackets
99:13: E122 continuation line missing indentation or outdented
99:78: E502 the backslash is redundant between brackets
100:13: E122 continuation line missing indentation or outdented
100:76: E502 the backslash is redundant between brackets
101:13: E122 continuation line missing indentation or outdented
102:13: E122 continuation line missing indentation or outdented
103:42: E127 continuation line over-indented for visual indent
104:13: E122 continuation line missing indentation or outdented
105:13: E122 continuation line missing indentation or outdented
106:13: E122 continuation line missing indentation or outdented
108:13: E122 continuation line missing indentation or outdented
110:13: E122 continuation line missing indentation or outdented
111:13: E122 continuation line missing indentation or outdented
112:17: E128 continuation line under-indented for visual indent
113:13: E122 continuation line missing indentation or outdented
113:32: E203 whitespace before ':'
132:17: E122 continuation line missing indentation or outdented
133:25: E128 continuation line under-indented for visual indent
134:17: E122 continuation line missing indentation or outdented
135:33: E128 continuation line under-indented for visual indent
155:13: E122 continuation line missing indentation or outdented
156:29: E128 continuation line under-indented for visual indent
157:13: E122 continuation line missing indentation or outdented
158:13: E122 continuation line missing indentation or outdented
160:13: E122 continuation line missing indentation or outdented
161:13: E122 continuation line missing indentation or outdented
162:17: E128 continuation line under-indented for visual indent
175:13: E122 continuation line missing indentation or outdented
176:29: E128 continuation line under-indented for visual indent
177:13: E122 continuation line missing indentation or outdented
179:13: E122 continuation line missing indentation or outdented
193:31: E225 missing whitespace around operator
194:13: E122 continuation line missing indentation or outdented
195:29: E128 continuation line under-indented for visual indent
198:26: E222 multiple spaces after operator
215:56: E502 the backslash is redundant between brackets
216:13: E122 continuation line missing indentation or outdented
217:29: E128 continuation line under-indented for visual indent
217:83: E202 whitespace before '}'
224:13: E122 continuation line missing indentation or outdented
225:13: E122 continuation line missing indentation or outdented
234:14: E201 whitespace after '{'
235:29: E128 continuation line under-indented for visual indent
235:85: E202 whitespace before '}'
250:16: E121 continuation line under-indented for hanging indent
251:29: E128 continuation line under-indented for visual indent
252:15: E121 continuation line under-indented for hanging indent
257:59: E502 the backslash is redundant between brackets
258:13: E128 continuation line under-indented for visual indent
258:75: E502 the backslash is redundant between brackets
259:13: E128 continuation line under-indented for visual indent
259:76: E502 the backslash is redundant between brackets
260:13: E128 continuation line under-indented for visual indent
305: D290 White spaces around docstring should be trimmed.
325: D401 First line should be imperative: 'Return', not 'Returns'
325: D290 White spaces around docstring should be trimmed.
325: D202 No blank lines allowed *after* method docstring, found 1
358:35: E203 whitespace before ':'
363:1: E302 expected 2 blank lines, found 1
373:1: E302 expected 2 blank lines, found 1
383:1: E302 expected 2 blank lines, found 1
396:1: E302 expected 2 blank lines, found 1


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: E402 module level import not at top of file
34:1: E402 module level import not at top of file
35:1: E402 module level import not at top of file
36:1: I100 Imports statements are in the wrong order. import tempfile should be before import zlib
36:1: E402 module level import not at top of file
37:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
37:1: E402 module level import not at top of file
38:1: F401 'traceback' imported but unused
38:1: E402 module level import not at top of file
39:1: E402 module level import not at top of file
40:1: I201 Missing newline before sections or imports.
40:1: E402 module level import not at top of file
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
47:1: E402 module level import not at top of file
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
51:1: E402 module level import not at top of file
59:1: E402 module level import not at top of file
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
60:1: E402 module level import not at top of file
66:1: E402 module level import not at top of file
67:1: E402 module level import not at top of file
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
68:1: E402 module level import not at top of file
71:1: I101 Imported names are in the wrong order. Should be get_all_collections_of_a_record, get_colID, get_record, guess_primary_collection_of_a_record, record_exists
71:1: E402 module level import not at top of file
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
74:1: E402 module level import not at top of file
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
75:1: E402 module level import not at top of file
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
77:1: E402 module level import not at top of file
78:1: E402 module level import not at top of file
79:1: E402 module level import not at top of file
80:1: I100 Imports statements are in the wrong order. from invenio.legacy.refextract.api should be before from invenio.modules.access.engine
80:1: E402 module level import not at top of file
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
83:1: E402 module level import not at top of file
84:1: I101 Imported names are in the wrong order. Should be create_normalized_name, split_name_parts
84:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibauthorid.name_utils should be before from invenio.legacy.bibrecord.textmarc2xmlmarc
84:1: E402 module level import not at top of file
85:41: E126 continuation line over-indented for hanging indent
86:1: E402 module level import not at top of file
87:1: I100 Imports statements are in the wrong order. from invenio.modules.editor.registry should be before from invenio.modules.knowledge.api
87:1: E402 module level import not at top of file
90:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.modules.editor.registry
90:1: E402 module level import not at top of file
91:1: E402 module level import not at top of file
92:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcatalog.api should be before from invenio.legacy.webauthorprofile.config
92:1: E402 module level import not at top of file
109: D101 Docstring missing
112:1: E302 expected 2 blank lines, found 1
112: D203 Expected 1 blank line *before* class docstring, found 0
112: D204 Expected 1 blank line *after* class docstring, found 0
112: D400 First line should end with '.', not 's'
118:1: E302 expected 2 blank lines, found 1
118: D290 White spaces around docstring should be trimmed.
118: D400 First line should end with '.', not 'n'
118: D205 Blank line missing between one-line summary and description
122: D290 White spaces around docstring should be trimmed.
122: D400 First line should end with '.', not 'e'
165:1: E302 expected 2 blank lines, found 1
165: D103 Docstring missing
171:1: E302 expected 2 blank lines, found 1
171: D401 First line should be imperative: 'Thi', not 'This'
171: D400 First line should end with '.', not 'l'
171: D205 Blank line missing between one-line summary and description
222:1: E302 expected 2 blank lines, found 1
222: D400 First line should end with '.', not 'e'
222: D205 Blank line missing between one-line summary and description
237:1: E302 expected 2 blank lines, found 1
237: D401 First line should be imperative: 'Ha', not 'Has'
237: D400 First line should end with '.', not 'y'
237: D205 Blank line missing between one-line summary and description
245:1: E302 expected 2 blank lines, found 1
245: D400 First line should end with '.', not 'l'
245: D205 Blank line missing between one-line summary and description
271:1: E302 expected 2 blank lines, found 1
271: D400 First line should end with '.', not 'e'
271: D205 Blank line missing between one-line summary and description
278:1: E302 expected 2 blank lines, found 1
287:1: E302 expected 2 blank lines, found 1
298:1: E302 expected 2 blank lines, found 1
298: D400 First line should end with '.', not 'n'
298: D205 Blank line missing between one-line summary and description
309:1: E302 expected 2 blank lines, found 1
313:1: E302 expected 2 blank lines, found 1
313: D205 Blank line missing between one-line summary and description
324:1: E302 expected 2 blank lines, found 1
324: D103 Docstring missing
328:1: E302 expected 2 blank lines, found 1
328: D400 First line should end with '.', not 'm'
328: D205 Blank line missing between one-line summary and description
396: D400 First line should end with '.', not 'd'
396: D205 Blank line missing between one-line summary and description
409: D290 White spaces around docstring should be trimmed.
409: D400 First line should end with '.', not 'd'
409: D200 One-line docstring should not occupy 2 lines
421: D290 White spaces around docstring should be trimmed.
421: D400 First line should end with '.', not 'e'
421: D205 Blank line missing between one-line summary and description
444: D400 First line should end with '.', not 'e'
444: D205 Blank line missing between one-line summary and description
474:24: E713 test for membership should be 'not in'
483:1: E302 expected 2 blank lines, found 1
483: D401 First line should be imperative: 'Convert', not 'Converts'
483: D400 First line should end with '.', not 'p'
483: D200 One-line docstring should not occupy 3 lines
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 'e'
490: D200 One-line docstring should not occupy 3 lines
502:1: E302 expected 2 blank lines, found 1
502: D400 First line should end with '.', not 'd'
510:1: E302 expected 2 blank lines, found 1
510: D209 Put multi-line docstring closing quotes on separate line
510: D400 First line should end with '.', not 's'
510: D205 Blank line missing between one-line summary and description
510: D208 Docstring is over-indented
523:1: E302 expected 2 blank lines, found 1
523: D205 Blank line missing between one-line summary and description
533:1: E302 expected 2 blank lines, found 1
533: D205 Blank line missing between one-line summary and description
544:1: E302 expected 2 blank lines, found 1
544: 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
571:1: E302 expected 2 blank lines, found 1
577:1: E302 expected 2 blank lines, found 1
577: D103 Docstring missing
584:1: E302 expected 2 blank lines, found 1
584: D205 Blank line missing between one-line summary and description
600: D290 White spaces around docstring should be trimmed.
600: D205 Blank line missing between one-line summary and description
621:9: E128 continuation line under-indented for visual indent
624:1: E302 expected 2 blank lines, found 1
624: D209 Put multi-line docstring closing quotes on separate line
624: D400 First line should end with '.', not ']'
624: D205 Blank line missing between one-line summary and description
624: D208 Docstring is over-indented
663:1: E302 expected 2 blank lines, found 1
663: D401 First line should be imperative: 'Return', not 'Returns'
663: D400 First line should end with '.', not ']'
668:1: E302 expected 2 blank lines, found 1
686: D205 Blank line missing between one-line summary and description
694:1: E302 expected 2 blank lines, found 1
707:1: E302 expected 2 blank lines, found 1
747:1: E302 expected 2 blank lines, found 1
765: D400 First line should end with '.', not 's'
765: D205 Blank line missing between one-line summary and description
785: D401 First line should be imperative: 'Return', not 'Returns'
785: D290 White spaces around docstring should be trimmed.
785: D400 First line should end with '.', not '0'
785: D205 Blank line missing between one-line summary and description
796:61: E128 continuation line under-indented for visual indent
797:61: E128 continuation line under-indented for visual indent
798:61: E128 continuation line under-indented for visual indent
799:61: E128 continuation line under-indented for visual indent
802: D290 White spaces around docstring should be trimmed.
802: D400 First line should end with '.', not 't'
802: D205 Blank line missing between one-line summary and description
817: D290 White spaces around docstring should be trimmed.
817: D400 First line should end with '.', not 't'
840:48: E128 continuation line under-indented for visual indent
844:1: E266 too many leading '#' for block comment
846:1: E302 expected 2 blank lines, found 1
846: D400 First line should end with '.', not 'd'
888:1: E266 too many leading '#' for block comment
890:1: E302 expected 2 blank lines, found 1
890: D400 First line should end with '.', not 't'
890: D205 Blank line missing between one-line summary and description
908: D400 First line should end with '.', not 'e'
908: D205 Blank line missing between one-line summary and description
926:5: E122 continuation line missing indentation or outdented
942:36: E127 continuation line over-indented for visual indent
943:36: E127 continuation line over-indented for visual indent
944:36: E127 continuation line over-indented for visual indent
945:36: E127 continuation line over-indented for visual indent
949: D400 First line should end with '.', not 'n'
1005:1: E266 too many leading '#' for block comment
1007: D401 First line should be imperative: 'Create', not 'Creates'
1007: D400 First line should end with '.', not 'e'
1007: D205 Blank line missing between one-line summary and description
1022: D400 First line should end with '.', not 'n'
1022: D205 Blank line missing between one-line summary and description
1042: D401 First line should be imperative: 'Change', not 'Changes'
1042: D400 First line should end with '.', not ','
1042: D205 Blank line missing between one-line summary and description
1060:9: E128 continuation line under-indented for visual indent
1070:13: E128 continuation line under-indented for visual indent
1073: D401 First line should be imperative: 'Return', not 'Returns'
1073: D290 White spaces around docstring should be trimmed.
1073: D400 First line should end with '.', not 'e'
1098:1: E266 too many leading '#' for block comment
1101: D103 Docstring missing
1115:25: E128 continuation line under-indented for visual indent
1154: D401 First line should be imperative: 'Load', not 'Loads'
1154: D205 Blank line missing between one-line summary and description
1170:52: E201 whitespace after '{'
1170:62: E203 whitespace before ':'
1170:89: E203 whitespace before ':'
1170:105: E202 whitespace before '}'


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
19: L101 copyright is missing
25:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. import cStringIO should be before import cProfile
26:1: I201 Missing newline before sections or imports.
26:1: E402 module level import not at top of file
27:1: I201 Missing newline before sections or imports.
27:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. from flask.ext.login should be before import pstats
29:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from invenio.utils.json
32:1: E402 module level import not at top of file
33:1: I101 Imported names are in the wrong order. Should be perform_request_ajax, perform_request_ajax_template_interface, perform_request_compare, perform_request_init, perform_request_init_template_interface, perform_request_newticket
33:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.engine should be before from invenio.modules.access.engine
33:1: E402 module level import not at top of file
40:1: E402 module level import not at top of file
41:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL
41:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibedit.utils
41:1: E402 module level import not at top of file
42:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
42:1: E402 module level import not at top of file
43:1: E402 module level import not at top of file
44:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.utils.url
44:1: E402 module level import not at top of file
45:1: E402 module level import not at top of file
46:1: E402 module level import not at top of file
50:85: E502 the backslash is redundant between brackets
52:13: E124 closing bracket does not match visual indentation
55: D103 Docstring missing
80:1: E302 expected 2 blank lines, found 1
80: D203 Expected 1 blank line *before* class docstring, found 0
90: D205 Blank line missing between one-line summary and description
121:64: E128 continuation line under-indented for visual indent
136:21: E126 continuation line over-indented for hanging indent
151:30: E251 unexpected spaces around keyword / parameter equals
151:38: E251 unexpected spaces around keyword / parameter equals
151:30: E221 multiple spaces before operator
152:29: E251 unexpected spaces around keyword / parameter equals
152:38: E251 unexpected spaces around keyword / parameter equals
152:29: E221 multiple spaces before operator
153:31: E251 unexpected spaces around keyword / parameter equals
153:38: E251 unexpected spaces around keyword / parameter equals
153:31: E221 multiple spaces before operator
154:33: E251 unexpected spaces around keyword / parameter equals
154:38: E251 unexpected spaces around keyword / parameter equals
154:33: E221 multiple spaces before operator
155:28: E251 unexpected spaces around keyword / parameter equals
155:38: E251 unexpected spaces around keyword / parameter equals
155:28: E221 multiple spaces before operator
156:33: E251 unexpected spaces around keyword / parameter equals
156:38: E251 unexpected spaces around keyword / parameter equals
156:33: E221 multiple spaces before operator
157:33: E251 unexpected spaces around keyword / parameter equals
157:38: E251 unexpected spaces around keyword / parameter equals
157:33: E221 multiple spaces before operator
158:36: E251 unexpected spaces around keyword / parameter equals
158:38: E251 unexpected spaces around keyword / parameter equals
159:28: E251 unexpected spaces around keyword / parameter equals
159:38: E251 unexpected spaces around keyword / parameter equals
159:28: E221 multiple spaces before operator
160:41: E251 unexpected spaces around keyword / parameter equals
160:43: E251 unexpected spaces around keyword / parameter equals
167: D400 First line should end with '.', not 't'
169:37: E502 the backslash is redundant between brackets
170:17: E126 continuation line over-indented for hanging indent
170:45: E502 the backslash is redundant between brackets
171:37: E502 the backslash is redundant between brackets
171:23: E203 whitespace before ':'
172:37: E502 the backslash is redundant between brackets
172:23: E203 whitespace before ':'
192:26: E251 unexpected spaces around keyword / parameter equals
192:28: E251 unexpected spaces around keyword / parameter equals
193:25: E251 unexpected spaces around keyword / parameter equals
193:27: E251 unexpected spaces around keyword / parameter equals
193:27: E222 multiple spaces after operator
194:27: E251 unexpected spaces around keyword / parameter equals
194:29: E251 unexpected spaces around keyword / parameter equals
195:29: E251 unexpected spaces around keyword / parameter equals
195:31: E251 unexpected spaces around keyword / parameter equals
196:24: E251 unexpected spaces around keyword / parameter equals
196:26: E251 unexpected spaces around keyword / parameter equals
197:29: E251 unexpected spaces around keyword / parameter equals
197:31: E251 unexpected spaces around keyword / parameter equals
198:29: E251 unexpected spaces around keyword / parameter equals
198:34: E251 unexpected spaces around keyword / parameter equals
198:29: E221 multiple spaces before operator
199:32: E251 unexpected spaces around keyword / parameter equals
199:34: E251 unexpected spaces around keyword / parameter equals
200:24: E251 unexpected spaces around keyword / parameter equals
200:34: E251 unexpected spaces around keyword / parameter equals
200:24: E221 multiple spaces before operator
201:37: E251 unexpected spaces around keyword / parameter equals
201:39: E251 unexpected spaces around keyword / parameter equals
203: D400 First line should end with '.', not 't'
216:34: E251 unexpected spaces around keyword / parameter equals
216:42: E251 unexpected spaces around keyword / parameter equals
216:34: E221 multiple spaces before operator
217:33: E251 unexpected spaces around keyword / parameter equals
217:42: E251 unexpected spaces around keyword / parameter equals
217:33: E221 multiple spaces before operator
218:35: E251 unexpected spaces around keyword / parameter equals
218:42: E251 unexpected spaces around keyword / parameter equals
218:35: E221 multiple spaces before operator
219:37: E251 unexpected spaces around keyword / parameter equals
219:42: E251 unexpected spaces around keyword / parameter equals
219:37: E221 multiple spaces before operator
220:32: E251 unexpected spaces around keyword / parameter equals
220:42: E251 unexpected spaces around keyword / parameter equals
220:32: E221 multiple spaces before operator
221:37: E251 unexpected spaces around keyword / parameter equals
221:42: E251 unexpected spaces around keyword / parameter equals
221:37: E221 multiple spaces before operator
222:37: E251 unexpected spaces around keyword / parameter equals
222:42: E251 unexpected spaces around keyword / parameter equals
222:37: E221 multiple spaces before operator
223:40: E251 unexpected spaces around keyword / parameter equals
223:42: E251 unexpected spaces around keyword / parameter equals
224:32: E251 unexpected spaces around keyword / parameter equals
224:42: E251 unexpected spaces around keyword / parameter equals
224:32: E221 multiple spaces before operator
225:45: E251 unexpected spaces around keyword / parameter equals
225:47: E251 unexpected spaces around keyword / parameter equals
230: D400 First line should end with '.', not 't'
265:30: E251 unexpected spaces around keyword / parameter equals
265:38: E251 unexpected spaces around keyword / parameter equals
265:30: E221 multiple spaces before operator
266:29: E251 unexpected spaces around keyword / parameter equals
266:38: E251 unexpected spaces around keyword / parameter equals
266:29: E221 multiple spaces before operator
267:31: E251 unexpected spaces around keyword / parameter equals
267:38: E251 unexpected spaces around keyword / parameter equals
267:31: E221 multiple spaces before operator
268:33: E251 unexpected spaces around keyword / parameter equals
268:38: E251 unexpected spaces around keyword / parameter equals
268:33: E221 multiple spaces before operator
269:28: E251 unexpected spaces around keyword / parameter equals
269:38: E251 unexpected spaces around keyword / parameter equals
269:28: E221 multiple spaces before operator
270:33: E251 unexpected spaces around keyword / parameter equals
270:38: E251 unexpected spaces around keyword / parameter equals
270:33: E221 multiple spaces before operator
271:33: E251 unexpected spaces around keyword / parameter equals
271:38: E251 unexpected spaces around keyword / parameter equals
271:33: E221 multiple spaces before operator
272:36: E251 unexpected spaces around keyword / parameter equals
272:38: E251 unexpected spaces around keyword / parameter equals
273:28: E251 unexpected spaces around keyword / parameter equals
273:38: E251 unexpected spaces around keyword / parameter equals
273:28: E221 multiple spaces before operator
274:41: E251 unexpected spaces around keyword / parameter equals
274:43: E251 unexpected spaces around keyword / parameter equals
284:58: E127 continuation line over-indented for visual indent
285:58: E127 continuation line over-indented for visual indent


1:1: E266 too many leading '#' for block comment
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
17: L101 copyright is missing
39:1: E402 module level import not at top of file
40:1: I201 Missing newline before sections or imports.
40:1: F401 'invenio' imported but unused
40:1: E402 module level import not at top of file
41:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before import invenio.legacy.search_engine
41:1: E402 module level import not at top of file
42:1: E402 module level import not at top of file
44:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDITMULTI_LIMIT_DELAYED_PROCESSING, CFG_BIBEDITMULTI_LIMIT_DELAYED_PROCESSING_TIME, CFG_BIBEDITMULTI_LIMIT_INSTANT_PROCESSING, CFG_TMPSHAREDDIR
44:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.modules
44:1: E402 module level import not at top of file
45:28: E126 continuation line over-indented for hanging indent
47:1: I100 Imports statements are in the wrong order. from time should be before from invenio.config
47:1: E402 module level import not at top of file
48:1: I201 Missing newline before sections or imports.
48:1: E402 module level import not at top of file
50:1: E402 module level import not at top of file
52:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.webuser
52:1: E402 module level import not at top of file
54:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.dbquery
54:1: E402 module level import not at top of file
56:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.utils should be before from invenio.legacy.bibrecord
56:1: E402 module level import not at top of file
58:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before from invenio.legacy.bibedit.utils
58:1: E402 module level import not at top of file
62:1: E302 expected 2 blank lines, found 1
62: D203 Expected 1 blank line *before* class docstring, found 0
62: D204 Expected 1 blank line *after* class docstring, found 0
62: D400 First line should end with '.', not 's'
64:104: E203 whitespace before ','
64:39: E251 unexpected spaces around keyword / parameter equals
64:41: E251 unexpected spaces around keyword / parameter equals
64:55: E251 unexpected spaces around keyword / parameter equals
64:57: E251 unexpected spaces around keyword / parameter equals
64:71: E251 unexpected spaces around keyword / parameter equals
64:73: E251 unexpected spaces around keyword / parameter equals
64:157: E251 unexpected spaces around keyword / parameter equals
64:159: E251 unexpected spaces around keyword / parameter equals
64:181: E251 unexpected spaces around keyword / parameter equals
64:183: E251 unexpected spaces around keyword / parameter equals
78: D209 Put multi-line docstring closing quotes on separate line
86: D400 First line should end with '.', not 'e'
86: D205 Blank line missing between one-line summary and description
104: D400 First line should end with '.', not 'g'
104: D205 Blank line missing between one-line summary and description
140: D400 First line should end with '.', not 's'
146:1: E302 expected 2 blank lines, found 1
146: D203 Expected 1 blank line *before* class docstring, found 0
146: D204 Expected 1 blank line *after* class docstring, found 0
146: D400 First line should end with '.', not 'd'
157:99: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
161:71: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
165: D400 First line should end with '.', not 'd'
167:9: E731 do not assign a lambda expression, use a def
168:23: E127 continuation line over-indented for visual indent
169:42: E128 continuation line under-indented for visual indent
170:42: E128 continuation line under-indented for visual indent
171:42: E128 continuation line under-indented for visual indent
174:65: E128 continuation line under-indented for visual indent
179:1: E302 expected 2 blank lines, found 1
179: D203 Expected 1 blank line *before* class docstring, found 0
179: D400 First line should end with '.', not 'd'
182: D400 First line should end with '.', not 'd'
184:9: E731 do not assign a lambda expression, use a def
185:21: E127 continuation line over-indented for visual indent
187:39: E128 continuation line under-indented for visual indent
191:1: E302 expected 2 blank lines, found 1
191: D203 Expected 1 blank line *before* class docstring, found 0
191: D400 First line should end with '.', not 'd'
194: D400 First line should end with '.', not 'd'
196:9: E731 do not assign a lambda expression, use a def
197:21: E127 continuation line over-indented for visual indent
201:39: E128 continuation line under-indented for visual indent
207:1: E302 expected 2 blank lines, found 1
207: D203 Expected 1 blank line *before* class docstring, found 0
207: D400 First line should end with '.', not 'd'
210: D202 No blank lines allowed *after* method docstring, found 1
210: D400 First line should end with '.', not 'd'
213: D209 Put multi-line docstring closing quotes on separate line
213: D400 First line should end with '.', not 'n'
213: D205 Blank line missing between one-line summary and description
230:49: E128 continuation line under-indented for visual indent
231:49: E128 continuation line under-indented for visual indent
232:49: E128 continuation line under-indented for visual indent
252:1: E302 expected 2 blank lines, found 1
252: D203 Expected 1 blank line *before* class docstring, found 0
252: D204 Expected 1 blank line *after* class docstring, found 0
252: D400 First line should end with '.', not 's'
262: D209 Put multi-line docstring closing quotes on separate line
270: D401 First line should be imperative: 'Applie', not 'Applies'
270: D400 First line should end with '.', not 'd'
283:1: E302 expected 2 blank lines, found 1
283: D203 Expected 1 blank line *before* class docstring, found 0
283: D400 First line should end with '.', not 'd'
286: D400 First line should end with '.', not 'd'
289:41: E711 comparison to None should be 'if cond is None:'
296:1: E302 expected 2 blank lines, found 1
296: D203 Expected 1 blank line *before* class docstring, found 0
296: D400 First line should end with '.', not 'd'
299: D102 Docstring missing
306: D401 First line should be imperative: 'Check', not 'Checks'
306: D400 First line should end with '.', not 'e'
306: D205 Blank line missing between one-line summary and description
316:59: E712 comparison to True should be 'if cond is True:' or 'if cond:'
328:36: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
334: D400 First line should end with '.', not 'd'
342:1: E302 expected 2 blank lines, found 1
342: D203 Expected 1 blank line *before* class docstring, found 0
342: D400 First line should end with '.', not 'd'
345: D202 No blank lines allowed *after* method docstring, found 1
345: D400 First line should end with '.', not 'd'
349:41: E711 comparison to None should be 'if cond is None:'
359: D401 First line should be imperative: 'Create', not 'Creates'
359: D400 First line should end with '.', not 't'
368:1: E302 expected 2 blank lines, found 1
368: D401 First line should be imperative: 'Return', not 'Returns'
368: D209 Put multi-line docstring closing quotes on separate line
368: D400 First line should end with '.', not 'e'
368: D205 Blank line missing between one-line summary and description
373:1: E302 expected 2 blank lines, found 1
373: D401 First line should be imperative: 'Return', not 'Returns'
377:1: E302 expected 2 blank lines, found 1
377: D401 First line should be imperative: 'Return', not 'Returns'
377: D202 No blank lines allowed *after* function docstring, found 1
377: D400 First line should end with '.', not 's'
388:33: E128 continuation line under-indented for visual indent
389:33: E128 continuation line under-indented for visual indent
389:48: E251 unexpected spaces around keyword / parameter equals
389:50: E251 unexpected spaces around keyword / parameter equals
390:33: E128 continuation line under-indented for visual indent
395:1: E302 expected 2 blank lines, found 1
395: D401 First line should be imperative: 'Return', not 'Returns'
421:18: F821 undefined name 'search_engine'
453:30: E128 continuation line under-indented for visual indent
454:30: E128 continuation line under-indented for visual indent
455:30: E128 continuation line under-indented for visual indent
456:30: E128 continuation line under-indented for visual indent
457:30: E128 continuation line under-indented for visual indent
479:49: E128 continuation line under-indented for visual indent
482:49: E128 continuation line under-indented for visual indent
484:49: E128 continuation line under-indented for visual indent
485:49: E128 continuation line under-indented for visual indent
486:49: E128 continuation line under-indented for visual indent
487:49: E128 continuation line under-indented for visual indent
488:49: E128 continuation line under-indented for visual indent
489:49: E128 continuation line under-indented for visual indent
493:1: E302 expected 2 blank lines, found 1
493: D401 First line should be imperative: 'Submit', not 'Submits'
493: D202 No blank lines allowed *after* function docstring, found 1
508:1: E302 expected 2 blank lines, found 1
508: D400 First line should end with '.', not 'd'
508: D205 Blank line missing between one-line summary and description
547:1: E302 expected 2 blank lines, found 1
547: D401 First line should be imperative: 'Return', not 'Returns'
547: D400 First line should end with '.', not 't'
565:37: E231 missing whitespace after ':'
565:55: E231 missing whitespace after ':'
565:72: E231 missing whitespace after ':'
566:38: E231 missing whitespace after ':'
566:55: E231 missing whitespace after ':'
566:73: E231 missing whitespace after ':'
567:36: E231 missing whitespace after ':'
572:18: F821 undefined name 'search_engine'
593:41: E128 continuation line under-indented for visual indent
594:41: E128 continuation line under-indented for visual indent
595:41: E128 continuation line under-indented for visual indent
600:1: E302 expected 2 blank lines, found 1
600: D401 First line should be imperative: 'Create', not 'Creates'
615:32: E231 missing whitespace after ':'
615:50: E231 missing whitespace after ':'
615:67: E231 missing whitespace after ':'
616:33: E231 missing whitespace after ':'
616:50: E231 missing whitespace after ':'
616:68: E231 missing whitespace after ':'
617:31: E231 missing whitespace after ':'
626:1: E302 expected 2 blank lines, found 1
626: D401 First line should be imperative: 'Thi', not 'This'
626: D400 First line should end with '.', not 'r'
626: D205 Blank line missing between one-line summary and description
639:18: F821 undefined name 'search_engine'
654:1: E302 expected 2 blank lines, found 1
654: D401 First line should be imperative: 'Applie', not 'Applies'
654: D209 Put multi-line docstring closing quotes on separate line
654: D202 No blank lines allowed *after* function docstring, found 1
654: D400 First line should end with '.', not 's'
654: D205 Blank line missing between one-line summary and description
662:14: F821 undefined name 'search_engine'
668:1: E302 expected 2 blank lines, found 1
668: D401 First line should be imperative: 'Upload', not 'Uploads'
668: D400 First line should end with '.', not 'd'
683:5: F841 local variable 'user_email' is assigned to but never used
707:1: E302 expected 2 blank lines, found 1
707: D401 First line should be imperative: 'Return', not 'Returns'
707: D290 White spaces around docstring should be trimmed.
707: D202 No blank lines allowed *after* function docstring, found 1
707: D400 First line should end with '.', not 'd'
713:1: E302 expected 2 blank lines, found 1
713: D401 First line should be imperative: 'Save', not 'Saves'
713: D209 Put multi-line docstring closing quotes on separate line
713: D202 No blank lines allowed *after* function docstring, found 1
713: D400 First line should end with '.', not 't'
733:12: E714 test for object identity should be 'is not'


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
22:1: E402 module level import not at top of file
24:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDITMULTI_LIMIT_DELAYED_PROCESSING, CFG_BIBEDITMULTI_LIMIT_DELAYED_PROCESSING_TIME, CFG_BIBEDITMULTI_LIMIT_INSTANT_PROCESSING, CFG_SITE_ADMIN_EMAIL, CFG_SITE_RECORD, CFG_SITE_URL
24:1: E402 module level import not at top of file
25:28: E126 continuation line over-indented for hanging indent
29:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
41: D401 First line should be imperative: 'Define', not 'Defines'
41: D202 No blank lines allowed *after* method docstring, found 1
41: D400 First line should end with '.', not 's'
277: D401 First line should be imperative: 'Return', not 'Returns'
277: D202 No blank lines allowed *after* method docstring, found 1
277: D400 First line should end with '.', not 'e'
353:25: E203 whitespace before ':'
353:12: E225 missing whitespace around operator
354:14: E128 continuation line under-indented for visual indent
354:32: E203 whitespace before ':'
355:14: E128 continuation line under-indented for visual indent
355:36: E203 whitespace before ':'
356:14: E128 continuation line under-indented for visual indent
356:32: E203 whitespace before ':'
357:14: E128 continuation line under-indented for visual indent
358:14: E128 continuation line under-indented for visual indent
358:43: E203 whitespace before ':'
359:14: E128 continuation line under-indented for visual indent
359:48: E203 whitespace before ':'
360:14: E128 continuation line under-indented for visual indent
360:39: E203 whitespace before ':'
361:14: E128 continuation line under-indented for visual indent
361:36: E203 whitespace before ':'
362:14: E128 continuation line under-indented for visual indent
362:35: E203 whitespace before ':'
363:14: E128 continuation line under-indented for visual indent
363:27: E203 whitespace before ':'
364:14: E124 closing bracket does not match visual indentation
368: D401 First line should be imperative: 'Return', not 'Returns'
368: D290 White spaces around docstring should be trimmed.
368: D400 First line should end with '.', not 's'
376: D401 First line should be imperative: 'Return', not 'Returns'
376: D400 First line should end with '.', not 's'
612:25: E203 whitespace before ':'
612:12: E225 missing whitespace around operator
613:36: E203 whitespace before ':'
614:48: E203 whitespace before ':'
615:34: E203 whitespace before ':'
616:37: E203 whitespace before ':'
617:31: E203 whitespace before ':'
618:34: E203 whitespace before ':'
619:27: E203 whitespace before ':'
620:35: E203 whitespace before ':'
621:31: E203 whitespace before ':'
622:34: E203 whitespace before ':'
623:34: E203 whitespace before ':'
624:34: E203 whitespace before ':'
625:37: E203 whitespace before ':'
626:26: E203 whitespace before ':'
627:28: E203 whitespace before ':'
628:34: E203 whitespace before ':'
629:37: E203 whitespace before ':'
630:24: E203 whitespace before ':'
631:26: E203 whitespace before ':'
633:31: E203 whitespace before ':'
634:30: E203 whitespace before ':'
635:30: E203 whitespace before ':'
636:32: E203 whitespace before ':'
637:31: E203 whitespace before ':'
638:40: E203 whitespace before ':'
639:47: E203 whitespace before ':'
641:27: E203 whitespace before ':'
642:14: E124 closing bracket does not match visual indentation
645: D401 First line should be imperative: 'Return', not 'Returns'
645: D400 First line should end with '.', not 'd'
669:31: E203 whitespace before ':'
669:12: E225 missing whitespace around operator
670:14: E128 continuation line under-indented for visual indent
670:36: E203 whitespace before ':'
671:14: E124 closing bracket does not match visual indentation
675: D401 First line should be imperative: 'Return', not 'Returns'
675: D400 First line should end with '.', not 's'
675: D205 Blank line missing between one-line summary and description
675: D208 Docstring is over-indented
683:9: F841 local variable '_' is assigned to but never used
687:38: E225 missing whitespace around operator
693:47: E126 continuation line over-indented for hanging indent
696:46: E126 continuation line over-indented for hanging indent
703: D401 First line should be imperative: 'Return', not 'Returns'
703: D400 First line should end with '.', not 'e'
703: D200 One-line docstring should not occupy 2 lines
721: D401 First line should be imperative: 'Create', not 'Creates'
721: D290 White spaces around docstring should be trimmed.
721: D400 First line should end with '.', not 'e'
724:17: E126 continuation line over-indented for hanging indent
724:24: E203 whitespace before ':'
725:22: E203 whitespace before ':'
726:27: E203 whitespace before ':'
727:34: E203 whitespace before ':'
728:13: E121 continuation line under-indented for hanging indent
731: D401 First line should be imperative: 'Return', not 'Returns'
731: D202 No blank lines allowed *after* method docstring, found 1
731: D400 First line should end with '.', not 's'
740:30: E261 at least two spaces before inline comment
740:30: E262 inline comment should start with '# '
761:34: E124 closing bracket does not match visual indentation
783:35: E203 whitespace before ':'
784:36: E203 whitespace before ':'
785:35: E203 whitespace before ':'
786:38: E203 whitespace before ':'
787:34: E203 whitespace before ':'
788:34: E203 whitespace before ':'
789:38: E203 whitespace before ':'
790:37: E203 whitespace before ':'
793:13: E124 closing bracket does not match visual indentation
798:5: E303 too many blank lines (2)
798: D401 First line should be imperative: 'Retrurn', not 'Retrurns'
808:9: F841 local variable '_' is assigned to but never used
818:19: E124 closing bracket does not match visual indentation
829:70: E251 unexpected spaces around keyword / parameter equals
829:72: E251 unexpected spaces around keyword / parameter equals
830:65: E251 unexpected spaces around keyword / parameter equals
830:67: E251 unexpected spaces around keyword / parameter equals
831:69: E251 unexpected spaces around keyword / parameter equals
831:71: E251 unexpected spaces around keyword / parameter equals
832:61: E251 unexpected spaces around keyword / parameter equals
832:63: E251 unexpected spaces around keyword / parameter equals
838: D401 First line should be imperative: 'Return', not 'Returns'
838: D202 No blank lines allowed *after* method docstring, found 1
849:13: E122 continuation line missing indentation or outdented
853: D401 First line should be imperative: 'return', not 'returns'
853: D290 White spaces around docstring should be trimmed.
853: D202 No blank lines allowed *after* method docstring, found 1
853: D400 First line should end with '.', not 'r'
883:1: W391 blank line at end of file


1:1: E266 too many leading '#' for block comment
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
24:1: E402 module level import not at top of file
25:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.utils.json
25:1: E402 module level import not at top of file
26:42: E126 continuation line over-indented for hanging indent
27:1: E402 module level import not at top of file
28:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
28:1: E402 module level import not at top of file
29:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
34:1: E302 expected 2 blank lines, found 1
34: D203 Expected 1 blank line *before* class docstring, found 0
34: D204 Expected 1 blank line *after* class docstring, found 0
34: D400 First line should end with '.', not 's'
42: D400 First line should end with '.', not 't'
46:1: E302 expected 2 blank lines, found 1
46: D203 Expected 1 blank line *before* class docstring, found 0
46: D204 Expected 1 blank line *after* class docstring, found 0
46: D400 First line should end with '.', not 's'
52: D400 First line should end with '.', not 't'
56:1: E302 expected 2 blank lines, found 1
56: D203 Expected 1 blank line *before* class docstring, found 0
56: D204 Expected 1 blank line *after* class docstring, found 0
56: D400 First line should end with '.', not 's'
63: D400 First line should end with '.', not 't'
67:1: E302 expected 2 blank lines, found 1
67: D203 Expected 1 blank line *before* class docstring, found 0
78:5: E303 too many blank lines (2)
80: D290 White spaces around docstring should be trimmed.
80: D202 No blank lines allowed *after* method docstring, found 1
80: D400 First line should end with '.', not 't'
84:36: E126 continuation line over-indented for hanging indent
94:43: E251 unexpected spaces around keyword / parameter equals
94:45: E251 unexpected spaces around keyword / parameter equals
95:42: E251 unexpected spaces around keyword / parameter equals
95:44: E251 unexpected spaces around keyword / parameter equals
96:44: E251 unexpected spaces around keyword / parameter equals
96:46: E251 unexpected spaces around keyword / parameter equals
106:26: E251 unexpected spaces around keyword / parameter equals
106:28: E251 unexpected spaces around keyword / parameter equals
107:13: E128 continuation line under-indented for visual indent
107:26: E251 unexpected spaces around keyword / parameter equals
107:28: E251 unexpected spaces around keyword / parameter equals
108:13: E128 continuation line under-indented for visual indent
108:17: E251 unexpected spaces around keyword / parameter equals
108:19: E251 unexpected spaces around keyword / parameter equals
109:13: E128 continuation line under-indented for visual indent
109:16: E251 unexpected spaces around keyword / parameter equals
109:18: E251 unexpected spaces around keyword / parameter equals
110:13: E128 continuation line under-indented for visual indent
110:21: E251 unexpected spaces around keyword / parameter equals
110:23: E251 unexpected spaces around keyword / parameter equals
114: D401 First line should be imperative: 'Take', not 'Takes'
114: D202 No blank lines allowed *after* method docstring, found 1
118:28: E126 continuation line over-indented for hanging indent
143:53: E126 continuation line over-indented for hanging indent
158:53: E126 continuation line over-indented for hanging indent
168:53: E126 continuation line over-indented for hanging indent
184:53: E126 continuation line over-indented for hanging indent
198: D401 First line should be imperative: 'Create', not 'Creates'
245:5: E303 too many blank lines (2)
245: D401 First line should be imperative: 'Create', not 'Creates'
245: D202 No blank lines allowed *after* method docstring, found 1
245: D400 First line should end with '.', not 'e'
286:1: W391 blank line at end of file


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
19:1: E266 too many leading '#' for block comment
21: L101 copyright is missing
90:1: E266 too many leading '#' for block comment
95:1: I201 Missing newline before sections or imports.
102:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from six
102:1: E402 module level import not at top of file
103:1: E402 module level import not at top of file
105:1: I101 Imported names are in the wrong order. Should be CFG_BIBRECORD_DEFAULT_CORRECT, CFG_BIBRECORD_DEFAULT_VERBOSE_LEVEL, CFG_BIBRECORD_PARSERS_AVAILABLE, CFG_BIBRECORD_WARNING_MSGS, CFG_MARC21_DTD, InvenioBibRecordFieldError, InvenioBibRecordParserError
105:1: E402 module level import not at top of file
109:1: E402 module level import not at top of file
113:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.utils.text
113:1: E402 module level import not at top of file
128:1: E402 module level import not at top of file
139:1: E266 too many leading '#' for block comment
1390:25: W503 line break before binary operator
1425: D401 First line should be imperative: 'Turn', not 'Turns'
1425: D400 First line should end with '.', not 'e'
1425: D200 One-line docstring should not occupy 3 lines
1434:25: E128 continuation line under-indented for visual indent
1436:1: E302 expected 2 blank lines, found 1
1530:1: E266 too many leading '#' for block comment
1689:5: B901 blind except: statement
1755:9: E266 too many leading '#' for block comment
1756:9: E266 too many leading '#' for block comment
1757:9: E266 too many leading '#' for block comment
1760:9: E266 too many leading '#' for block comment


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
55:1: I100 Imports statements are in the wrong order. import datetime should be before import time
57:1: I100 Imports statements are in the wrong order. import logging should be before import traceback
62:1: I201 Missing newline before sections or imports.
63:1: I100 Imports statements are in the wrong order. from socket should be before from intbitset
63:1: I201 Missing newline before sections or imports.
65:1: I101 Imported names are in the wrong order. Should be _db_login, run_sql
67:1: I101 Imported names are in the wrong order. Should be CFG_BIBSCHED_FLUSH_LOGS, CFG_BIBSCHED_PROCESS_USER, CFG_BINDIR, CFG_PREFIX, CFG_SITE_NAME, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_TMPDIR, CFG_VERSION
67:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.modules.access.engine
67:1: F401 'CFG_PREFIX' imported but unused
80:1: I101 Imported names are in the wrong order. Should be CFG_EXTERNAL_AUTHENTICATION, CFG_EXTERNAL_AUTH_USING_SSO
81:49: E126 continuation line over-indented for hanging indent
82:1: I101 Imported names are in the wrong order. Should be get_email, get_email_from_username, get_user_preferences
82:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.modules.access.local_config
83:1: I101 Imported names are in the wrong order. Should be CFG_BIBSCHED_LOGDIR, CFG_BIBTASK_DEFAULT_GLOBAL_TASK_SETTINGS, CFG_BIBTASK_DEFAULT_TASK_SETTINGS, CFG_BIBTASK_FIXEDTIMETASKS, CFG_BIBTASK_LOG_FORMAT, CFG_BIBTASK_VALID_TASKS
83:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask_config should be before from invenio.legacy.webuser
93:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.utils.shell
94:1: I101 Imported names are in the wrong order. Should be bibsched_get_host, bibsched_set_host
95:41: E126 continuation line over-indented for hanging indent
109: D101 Docstring missing
112:1: E302 expected 2 blank lines, found 1
112: D101 Docstring missing
113: D102 Docstring missing
117:1: E302 expected 2 blank lines, found 1
117: D400 First line should end with '.', not 't'
117: D205 Blank line missing between one-line summary and description
140:13: E266 too many leading '#' for block comment
156: D205 Blank line missing between one-line summary and description
183:17: E266 too many leading '#' for block comment
206:17: E266 too many leading '#' for block comment
226:17: E266 too many leading '#' for block comment
249:17: E266 too many leading '#' for block comment
272:17: E266 too many leading '#' for block comment
289:12: E713 test for membership should be 'not in'
309:86: F812 list comprehension redefines 'arg' from line 295
311:9: E266 too many leading '#' for block comment
315:13: E128 continuation line under-indented for visual indent
326: D401 First line should be imperative: 'Return', not 'Returns'
352: D401 First line should be imperative: 'Return', not 'Returns'
352: D400 First line should end with '.', not 'k'
365: D401 First line should be imperative: 'Return', not 'Returns'
365: D400 First line should end with '.', not 'k'
384: D400 First line should end with '.', not 's'
409: D400 First line should end with '.', not 'r'
429: D401 First line should be imperative: 'Set', not 'Sets'
457: D290 White spaces around docstring should be trimmed.
457: D205 Blank line missing between one-line summary and description
487:18: E203 whitespace before ':'
488:31: E203 whitespace before ':'
489:20: E203 whitespace before ':'
490:29: E203 whitespace before ':'
491:15: E203 whitespace before ':'
492:18: E203 whitespace before ':'
493:20: E203 whitespace before ':'
494:18: E203 whitespace before ':'
495:19: E203 whitespace before ':'
496:24: E203 whitespace before ':'
497:18: E203 whitespace before ':'
533:33: E128 continuation line under-indented for visual indent
534:33: E128 continuation line under-indented for visual indent
535:33: E128 continuation line under-indented for visual indent
566:5: E303 too many blank lines (2)
642:1: E302 expected 2 blank lines, found 1
642: D290 White spaces around docstring should be trimmed.
642: D205 Blank line missing between one-line summary and description
664:13: E128 continuation line under-indented for visual indent
700:41: E261 at least two spaces before inline comment
743:1: E302 expected 2 blank lines, found 1
743: D400 First line should end with '.', not 'k'
749:24: E203 whitespace before ':'
751:1: E302 expected 2 blank lines, found 1
751: D401 First line should be imperative: 'Return', not 'Returns'
751: D400 First line should end with '.', not 'k'
761:1: E302 expected 2 blank lines, found 1
761: D400 First line should end with '.', not 'S'
768:1: E302 expected 2 blank lines, found 1
768: D401 First line should be imperative: 'Return', not 'Returns'
768: D400 First line should end with '.', not 'm'
778:1: E302 expected 2 blank lines, found 1
778: D400 First line should end with '.', not 'm'
784:28: E203 whitespace before ':'
786:1: E302 expected 2 blank lines, found 1
786: D401 First line should be imperative: 'Update', not 'Updates'
791:13: E128 continuation line under-indented for visual indent
793:1: E302 expected 2 blank lines, found 1
793: D401 First line should be imperative: 'Update', not 'Updates'
798:13: E128 continuation line under-indented for visual indent
800:1: E302 expected 2 blank lines, found 1
803:9: E128 continuation line under-indented for visual indent
810:1: E302 expected 2 blank lines, found 1
810: D400 First line should end with '.', not 'e'
817:1: E302 expected 2 blank lines, found 1
817: D205 Blank line missing between one-line summary and description
843:1: E302 expected 2 blank lines, found 0
843: D401 First line should be imperative: 'Return', not 'Returns'
843: D209 Put multi-line docstring closing quotes on separate line
843: D205 Blank line missing between one-line summary and description
843: D208 Docstring is over-indented
865: D401 First line should be imperative: 'Thi', not 'This'
865: D400 First line should end with '.', not ','
865: D205 Blank line missing between one-line summary and description
903:1: E302 expected 2 blank lines, found 1
903: D400 First line should end with '.', not 'n'
903: D205 Blank line missing between one-line summary and description
914:1: E302 expected 2 blank lines, found 1
914: D202 No blank lines allowed *after* function docstring, found 1
914: D205 Blank line missing between one-line summary and description
943:5: E266 too many leading '#' for block comment
957:21: E128 continuation line under-indented for visual indent
958:13: E128 continuation line under-indented for visual indent
972:25: E128 continuation line under-indented for visual indent
973:17: E128 continuation line under-indented for visual indent
983:13: E266 too many leading '#' for block comment
990:1: E302 expected 2 blank lines, found 1
990: D401 First line should be imperative: 'Submit', not 'Submits'
990: D209 Put multi-line docstring closing quotes on separate line
990: D202 No blank lines allowed *after* function docstring, found 1
990: D400 First line should end with '.', not 'l'
990: D205 Blank line missing between one-line summary and description
990: D208 Docstring is over-indented
994:5: E266 too many leading '#' for block comment
997:5: E266 too many leading '#' for block comment
999:5: E266 too many leading '#' for block comment
1002:5: E266 too many leading '#' for block comment
1012:9: E128 continuation line under-indented for visual indent
1017:5: E266 too many leading '#' for block comment
1022: D401 First line should be imperative: 'Return', not 'Returns'
1022: D209 Put multi-line docstring closing quotes on separate line
1022: D400 First line should end with '.', not 'k'
1022: D205 Blank line missing between one-line summary and description
1027:9: E128 continuation line under-indented for visual indent
1032:13: E128 continuation line under-indented for visual indent
1086: D400 First line should end with '.', not 'n'
1092:25: E127 continuation line over-indented for visual indent
1100: D400 First line should end with '.', not 'n'
1106: D401 First line should be imperative: 'Run', not 'Runs'
1106: D209 Put multi-line docstring closing quotes on separate line
1106: D202 No blank lines allowed *after* function docstring, found 1
1106: D205 Blank line missing between one-line summary and description
1116:5: E266 too many leading '#' for block comment
1123:13: E128 continuation line under-indented for visual indent
1132:5: E266 too many leading '#' for block comment
1136:13: E128 continuation line under-indented for visual indent
1159:17: E266 too many leading '#' for block comment
1160:205: E261 at least two spaces before inline comment
1161:193: E261 at least two spaces before inline comment
1171:13: E128 continuation line under-indented for visual indent
1176:5: E266 too many leading '#' for block comment
1183:5: E266 too many leading '#' for block comment
1186:5: E266 too many leading '#' for block comment
1208:13: E266 too many leading '#' for block comment
1210:17: E266 too many leading '#' for block comment
1217:17: E266 too many leading '#' for block comment
1227:13: E266 too many leading '#' for block comment
1229:9: E266 too many leading '#' for block comment
1250: D401 First line should be imperative: 'Print', not 'Prints'
1260:9: E128 continuation line under-indented for visual indent
1262:9: E128 continuation line under-indented for visual indent
1264:9: E128 continuation line under-indented for visual indent
1265:9: E128 continuation line under-indented for visual indent
1269:9: E128 continuation line under-indented for visual indent
1270:9: E128 continuation line under-indented for visual indent
1271:9: E128 continuation line under-indented for visual indent
1278:9: E128 continuation line under-indented for visual indent
1291:1: E302 expected 2 blank lines, found 1
1295:13: E128 continuation line under-indented for visual indent
1300:1: E302 expected 2 blank lines, found 1
1303:13: E128 continuation line under-indented for visual indent
1305:25: E261 at least two spaces before inline comment
1308:1: E302 expected 2 blank lines, found 1
1311:13: E128 continuation line under-indented for visual indent
1319:1: E302 expected 2 blank lines, found 1
1319: D209 Put multi-line docstring closing quotes on separate line
1325:13: E128 continuation line under-indented for visual indent
1329:1: E302 expected 2 blank lines, found 1
1334:1: E302 expected 2 blank lines, found 0
1351:1: E302 expected 2 blank lines, found 1
1351: D205 Blank line missing between one-line summary and description
1366:1: E302 expected 2 blank lines, found 1
1366: D400 First line should end with '.', not 'r'
1366: D205 Blank line missing between one-line summary and description
1383:63: E502 the backslash is redundant between brackets
1384:13: E128 continuation line under-indented for visual indent
1386:57: E261 at least two spaces before inline comment
1393:63: E502 the backslash is redundant between brackets
1394:9: E128 continuation line under-indented for visual indent


1: D400 First line should end with '.', not 'e'
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
23:1: I201 Missing newline before sections or imports.
30:1: E302 expected 2 blank lines, found 1
30: D209 Put multi-line docstring closing quotes on separate line
30: D203 Expected 1 blank line *before* class docstring, found 0
30: D204 Expected 1 blank line *after* class docstring, found 0
30: D400 First line should end with '.', not 'd'
30: D205 Blank line missing between one-line summary and description
36: D203 Expected 1 blank line *before* class docstring, found 0
36: D400 First line should end with '.', not 's'
39: D102 Docstring missing
47: D401 First line should be imperative: 'Return', not 'Returns'
47: D400 First line should end with '.', not 'e'
51: D401 First line should be imperative: 'Return', not 'Returns'
51: D400 First line should end with '.', not 'e'
55: D400 First line should end with '.', not ':'
55: D205 Blank line missing between one-line summary and description
65:39: E261 at least two spaces before inline comment
65:40: E262 inline comment should start with '# '
70: D400 First line should end with '.', not ':'
70: D205 Blank line missing between one-line summary and description
80:39: E261 at least two spaces before inline comment
80:40: E262 inline comment should start with '# '
85: D400 First line should end with '.', not 'e'
91: D400 First line should end with '.', not 'e'
97: D400 First line should end with '.', not 'e'
103: D400 First line should end with '.', not ':'
103: D205 Blank line missing between one-line summary and description
126: D400 First line should end with '.', not ':'
126: D205 Blank line missing between one-line summary and description
137: D401 First line should be imperative: 'Return', not 'Returns'
137: D400 First line should end with '.', not "'"
137: D200 One-line docstring should not occupy 3 lines


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
83:1: E402 module level import not at top of file
84:1: I101 Imported names are in the wrong order. Should be IndentedHelpFormatter, Option, OptionError, OptionGroup, OptionParser
84:1: E402 module level import not at top of file
86:1: I100 Imports statements are in the wrong order. import os should be before from optparse
86:1: E402 module level import not at top of file
87:1: I201 Missing newline before sections or imports.
87:1: E402 module level import not at top of file
88:1: I100 Imports statements are in the wrong order. import random should be before import pkg_resources
88:1: I201 Missing newline before sections or imports.
88:1: F401 'random' imported but unused
88:1: E402 module level import not at top of file
89:1: E402 module level import not at top of file
90:1: E402 module level import not at top of file
91:1: E402 module level import not at top of file
92:1: F401 'string' imported but unused
92:1: E402 module level import not at top of file
93:1: E402 module level import not at top of file
94:1: E402 module level import not at top of file
95:1: I201 Missing newline before sections or imports.
95:1: E402 module level import not at top of file
96:1: I100 Imports statements are in the wrong order. from warnings should be before from six
96:1: I201 Missing newline before sections or imports.
96:1: E402 module level import not at top of file
97:1: I201 Missing newline before sections or imports.
97:1: F401 'exc' imported but unused
97:1: E402 module level import not at top of file
105: D290 White spaces around docstring should be trimmed.
105: D400 First line should end with '.', not 'o'
116: D202 No blank lines allowed *after* function docstring, found 1
116: D400 First line should end with '.', not 'g'
116: D205 Blank line missing between one-line summary and description
122:5: E266 too many leading '#' for block comment
125:5: E266 too many leading '#' for block comment
137:5: E266 too many leading '#' for block comment
153:5: E266 too many leading '#' for block comment
158:5: E266 too many leading '#' for block comment
164:5: E266 too many leading '#' for block comment
168:5: E266 too many leading '#' for block comment
222:5: E266 too many leading '#' for block comment
229:5: E266 too many leading '#' for block comment
269:5: E266 too many leading '#' for block comment
274:5: E266 too many leading '#' for block comment
279:5: E266 too many leading '#' for block comment
287:5: E266 too many leading '#' for block comment
291:5: E266 too many leading '#' for block comment
313:5: E266 too many leading '#' for block comment
317: D103 Docstring missing
323: D400 First line should end with '.', not 's'
323: D205 Blank line missing between one-line summary and description
339: D205 Blank line missing between one-line summary and description
346:5: E266 too many leading '#' for block comment
348:21: E127 continuation line over-indented for visual indent
349:5: E266 too many leading '#' for block comment
353:50: E502 the backslash is redundant between brackets
354:25: E127 continuation line over-indented for visual indent
354:66: E502 the backslash is redundant between brackets
355:25: E127 continuation line over-indented for visual indent
366: D205 Blank line missing between one-line summary and description
373:5: E266 too many leading '#' for block comment
375:21: E127 continuation line over-indented for visual indent
376:5: E266 too many leading '#' for block comment
379:5: E266 too many leading '#' for block comment
395: D400 First line should end with '.', not '6'
395: D205 Blank line missing between one-line summary and description
412: D400 First line should end with '.', not 'r'
412: D205 Blank line missing between one-line summary and description
420:5: E266 too many leading '#' for block comment
422:14: E127 continuation line over-indented for visual indent
423:5: E266 too many leading '#' for block comment
426:16: E126 continuation line over-indented for hanging indent
427:13: E266 too many leading '#' for block comment
441:45: E128 continuation line under-indented for visual indent
442:45: E128 continuation line under-indented for visual indent
451: D400 First line should end with '.', not 'd'
451: D205 Blank line missing between one-line summary and description
479: D209 Put multi-line docstring closing quotes on separate line
479: D400 First line should end with '.', not 'n'
479: D205 Blank line missing between one-line summary and description
505:32: F841 local variable 'err' is assigned to but never used
525: D209 Put multi-line docstring closing quotes on separate line
525: D400 First line should end with '.', not 'n'
525: D205 Blank line missing between one-line summary and description
539: D200 One-line docstring should not occupy 3 lines
554: D400 First line should end with '.', not 'N'
554: D205 Blank line missing between one-line summary and description
564:5: E266 too many leading '#' for block comment
566:5: E266 too many leading '#' for block comment
568:5: E266 too many leading '#' for block comment
571:9: E266 too many leading '#' for block comment
572:9: E266 too many leading '#' for block comment
588:9: E266 too many leading '#' for block comment
594:49: E128 continuation line under-indented for visual indent
599:9: E266 too many leading '#' for block comment
605:82: E231 missing whitespace after ','
620: D400 First line should end with '.', not 's'
620: D205 Blank line missing between one-line summary and description
639: D209 Put multi-line docstring closing quotes on separate line
639: D205 Blank line missing between one-line summary and description
664: D103 Docstring missing
674: D103 Docstring missing
709:72: E502 the backslash is redundant between brackets
710:20: E127 continuation line over-indented for visual indent
710:44: E231 missing whitespace after ','
714:35: E261 at least two spaces before inline comment
733:21: E128 continuation line under-indented for visual indent
733:93: E231 missing whitespace after ','
751:50: E231 missing whitespace after ','
771:48: E231 missing whitespace after ','
824: D400 First line should end with '.', not 'e'
824: D205 Blank line missing between one-line summary and description
837:5: B901 blind except: statement
841: D400 First line should end with '.', not 's'
841: D205 Blank line missing between one-line summary and description
856: D400 First line should end with '.', not 'r'
856: D205 Blank line missing between one-line summary and description
866:10: E122 continuation line missing indentation or outdented
879: D200 One-line docstring should not occupy 3 lines
894: D400 First line should end with '.', not 'y'
894: D205 Blank line missing between one-line summary and description
913: D400 First line should end with '.', not 'L'
913: D205 Blank line missing between one-line summary and description
928: D400 First line should end with '.', not 's'
928: D200 One-line docstring should not occupy 3 lines
942: D400 First line should end with '.', not 's'
942: D200 One-line docstring should not occupy 3 lines
956: D400 First line should end with '.', not 'd'
956: D200 One-line docstring should not occupy 3 lines
970: D200 One-line docstring should not occupy 3 lines
984: D202 No blank lines allowed *after* function docstring, found 1
987: D203 Expected 1 blank line *before* class docstring, found 0
987: D204 Expected 1 blank line *after* class docstring, found 0
987: D400 First line should end with '.', not 'l'
1103: D290 White spaces around docstring should be trimmed.
1103: D400 First line should end with '.', not 's'
1142:9: E266 too many leading '#' for block comment
1198:21: B901 blind except: statement