1:1: E266 too many leading '#' for block comment
1: D400 First line should end with '.', not 's'
2:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
5:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
10:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
15:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
18: L101 copyright is missing
22:1: E402 module level import not at top of file
23:1: I100 Imports statements are in the wrong order. import os should be before from six.moves
23:1: I201 Missing newline before sections or imports.
23:1: E402 module level import not at top of file
24:1: E402 module level import not at top of file
25:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. import tempfile should be before import time
26:1: E402 module level import not at top of file
27:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
27:1: E402 module level import not at top of file
28:1: I100 Imports statements are in the wrong order. import datetime should be before import sys
28: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: I101 Imported names are in the wrong order. Should be CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_CACHEDIR, CFG_CERN_SITE, CFG_OAI_DELETED_POLICY, CFG_OAI_EXPIRE, CFG_OAI_FRIENDS, CFG_OAI_IDENTIFY_DESCRIPTION, CFG_OAI_ID_FIELD, CFG_OAI_ID_PREFIX, CFG_OAI_LOAD, CFG_OAI_METADATA_FORMATS, CFG_OAI_PREVIOUS_SET_FIELD, CFG_OAI_PROVENANCE_ALTERED_SUBFIELD, CFG_OAI_PROVENANCE_BASEURL_SUBFIELD, CFG_OAI_PROVENANCE_DATESTAMP_SUBFIELD, CFG_OAI_PROVENANCE_HARVESTDATE_SUBFIELD, CFG_OAI_PROVENANCE_METADATANAMESPACE_SUBFIELD, CFG_OAI_PROVENANCE_ORIGINDESCRIPTION_SUBFIELD, CFG_OAI_SAMPLE_IDENTIFIER, CFG_OAI_SET_FIELD, CFG_SITE_NAME, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_WEBSTYLE_HTTP_USE_COMPRESSION
36:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
36:1: E402 module level import not at top of file
37:6: E126 continuation line over-indented for hanging indent
62:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.config
62:1: E402 module level import not at top of file
63:1: I101 Imported names are in the wrong order. Should be EscapedXMLString, X
63:1: I201 Missing newline before sections or imports.
63:1: E402 module level import not at top of file
64:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils.html
64:1: E402 module level import not at top of file
65:1: I101 Imported names are in the wrong order. Should be get_all_field_values, get_all_restricted_recids, get_record, record_exists, search_pattern, search_unit_in_bibxxx
65:1: E402 module level import not at top of file
66:1: E402 module level import not at top of file
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.formatter
67:1: E402 module level import not at top of file
68:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.bibrecord
68:1: E402 module level import not at top of file
69:1: E402 module level import not at top of file
70:1: E402 module level import not at top of file
71:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.utils.date
71:1: E402 module level import not at top of file
74:25: E203 whitespace before ':'
75:25: E203 whitespace before ':'
76:25: E203 whitespace before ':'
81:25: E203 whitespace before ':'
85:25: E203 whitespace before ':'
103: D400 First line should end with '.', not 'r'
103: D200 One-line docstring should not occupy 3 lines
119:9: E266 too many leading '#' for block comment
120:9: E266 too many leading '#' for block comment
131:1: E302 expected 2 blank lines, found 1
131: D202 No blank lines allowed *after* function docstring, found 1
131: D400 First line should end with '.', not 'r'
131: D200 One-line docstring should not occupy 3 lines
153:1: E302 expected 2 blank lines, found 1
153: D200 One-line docstring should not occupy 3 lines
163:1: E302 expected 2 blank lines, found 1
163: D401 First line should be imperative: 'Get', not 'Gets'
163: D202 No blank lines allowed *after* function docstring, found 1
163: D200 One-line docstring should not occupy 3 lines
171:9: E221 multiple spaces before operator
176:1: E302 expected 2 blank lines, found 1
176: D401 First line should be imperative: 'Return', not 'Returns'
176: D205 Blank line missing between one-line summary and description
186:1: E302 expected 2 blank lines, found 1
186: D400 First line should end with '.', not 'e'
186: D205 Blank line missing between one-line summary and description
196:1: E302 expected 2 blank lines, found 1
196: D400 First line should end with '.', not 'e'
196: D205 Blank line missing between one-line summary and description
206:1: E302 expected 2 blank lines, found 1
206: D209 Put multi-line docstring closing quotes on separate line
206: D202 No blank lines allowed *after* function docstring, found 1
206: D400 First line should end with '.', not 'r'
206: D205 Blank line missing between one-line summary and description
215:1: E302 expected 2 blank lines, found 1
215: D400 First line should end with '.', not 'e'
215: D205 Blank line missing between one-line summary and description
231:1: E302 expected 2 blank lines, found 1
231: D400 First line should end with '.', not 't'
231: D205 Blank line missing between one-line summary and description
263:85: E261 at least two spaces before inline comment
263:86: E262 inline comment should start with '# '
268:1: E302 expected 2 blank lines, found 1
268: D200 One-line docstring should not occupy 3 lines
273:5: E266 too many leading '#' for block comment
274:5: E266 too many leading '#' for block comment
281:9: E116 unexpected indentation (comment)
282:13: E116 unexpected indentation (comment)
283:17: E116 unexpected indentation (comment)
284:13: E116 unexpected indentation (comment)
285:17: E116 unexpected indentation (comment)
286:13: E116 unexpected indentation (comment)
287:17: E116 unexpected indentation (comment)
288:13: E116 unexpected indentation (comment)
289:17: E116 unexpected indentation (comment)
290:13: E116 unexpected indentation (comment)
291:17: E116 unexpected indentation (comment)
293:9: E116 unexpected indentation (comment)
294:13: E116 unexpected indentation (comment)
295:17: E116 unexpected indentation (comment)
296:13: E116 unexpected indentation (comment)
297:17: E116 unexpected indentation (comment)
298:13: E116 unexpected indentation (comment)
299:17: E116 unexpected indentation (comment)
301:1: E302 expected 2 blank lines, found 1
301: D401 First line should be imperative: 'Print', not 'Prints'
301: D202 No blank lines allowed *after* function docstring, found 1
318:37: E713 test for membership should be 'not in'
319:13: E266 too many leading '#' for block comment
320:13: E266 too many leading '#' for block comment
334:5: E266 too many leading '#' for block comment
381:1: E302 expected 2 blank lines, found 1
381: D401 First line should be imperative: 'Generate', not 'Generates'
381: D202 No blank lines allowed *after* function docstring, found 1
400:1: E302 expected 2 blank lines, found 1
400: D401 First line should be imperative: 'Generate', not 'Generates'
400: D202 No blank lines allowed *after* function docstring, found 1
425:30: E261 at least two spaces before inline comment
431:9: E266 too many leading '#' for block comment
432:9: E266 too many leading '#' for block comment
453:9: E266 too many leading '#' for block comment
458:1: E302 expected 2 blank lines, found 1
458: D401 First line should be imperative: 'List', not 'Lists'
458: D202 No blank lines allowed *after* function docstring, found 1
458: D200 One-line docstring should not occupy 3 lines
479: D401 First line should be imperative: 'Return', not 'Returns'
479: D202 No blank lines allowed *after* function docstring, found 1
495:12: E127 continuation line over-indented for visual indent
504:1: E303 too many blank lines (3)
504: D401 First line should be imperative: 'Generate', not 'Generates'
504: D202 No blank lines allowed *after* function docstring, found 1
504: D208 Docstring is over-indented
528:17: E128 continuation line under-indented for visual indent
529:17: E128 continuation line under-indented for visual indent
530:17: E128 continuation line under-indented for visual indent
531:17: E128 continuation line under-indented for visual indent
532:17: E128 continuation line under-indented for visual indent
548:1: E302 expected 2 blank lines, found 1
548: D200 One-line docstring should not occupy 3 lines
554:1: E302 expected 2 blank lines, found 1
554: D200 One-line docstring should not occupy 3 lines
562:1: E302 expected 2 blank lines, found 1
562: D401 First line should be imperative: 'Generate', not 'Generates'
567:1: E302 expected 2 blank lines, found 1
567: D401 First line should be imperative: 'Generate', not 'Generates'
571:1: E302 expected 2 blank lines, found 1
571: D401 First line should be imperative: 'Return', not 'Returns'
571: D209 Put multi-line docstring closing quotes on separate line
571: D400 First line should end with '.', not 'd'
571: D205 Blank line missing between one-line summary and description
587: D401 First line should be imperative: 'Return', not 'Returns'
587: D400 First line should end with '.', not 'C'
587: D200 One-line docstring should not occupy 3 lines
601: D290 White spaces around docstring should be trimmed.
615:29: E261 at least two spaces before inline comment
615:30: E262 inline comment should start with '# '
622:31: E261 at least two spaces before inline comment
622:32: E262 inline comment should start with '# '
636:1: E302 expected 2 blank lines, found 1
636: D401 First line should be imperative: 'Return', not 'Returns'
636: D200 One-line docstring should not occupy 3 lines
657:1: E302 expected 2 blank lines, found 1
657: D401 First line should be imperative: 'Generate', not 'Generates'
663:1: E302 expected 2 blank lines, found 1
663: D400 First line should end with '.', not 'e'
663: D205 Blank line missing between one-line summary and description
676:1: E302 expected 2 blank lines, found 1
676: D200 One-line docstring should not occupy 3 lines
682:1: E302 expected 2 blank lines, found 1
682: D401 First line should be imperative: 'Restore', not 'Restores'
682: D200 One-line docstring should not occupy 3 lines
691:1: E302 expected 2 blank lines, found 1
691: D200 One-line docstring should not occupy 3 lines
706:31: F841 local variable 'e' is assigned to but never used
710:1: E302 expected 2 blank lines, found 1
710: D200 One-line docstring should not occupy 3 lines
719:5: E266 too many leading '#' for block comment
724:5: E266 too many leading '#' for block comment
735:9: E266 too many leading '#' for block comment
739:9: E266 too many leading '#' for block comment
744:1: E302 expected 2 blank lines, found 1
744: D400 First line should end with '.', not 's'
744: D205 Blank line missing between one-line summary and description
751:5: E266 too many leading '#' for block comment
756:39: E261 at least two spaces before inline comment
756:40: E262 inline comment should start with '# '
762:5: E266 too many leading '#' for block comment
766:5: E266 too many leading '#' for block comment
768:12: E713 test for membership should be 'not in'
769:16: E126 continuation line over-indented for hanging indent
772:18: E261 at least two spaces before inline comment
774:5: E266 too many leading '#' for block comment
776:12: E127 continuation line over-indented for visual indent
783:5: E266 too many leading '#' for block comment
785:12: E127 continuation line over-indented for visual indent
793:12: E127 continuation line over-indented for visual indent
806:12: E127 continuation line over-indented for visual indent
807:12: E127 continuation line over-indented for visual indent
811:5: E266 too many leading '#' for block comment
813:12: E127 continuation line over-indented for visual indent
814:36: E261 at least two spaces before inline comment
818:5: E266 too many leading '#' for block comment
820:12: E127 continuation line over-indented for visual indent
824:12: E127 continuation line over-indented for visual indent
827:5: E266 too many leading '#' for block comment
829:12: E127 continuation line over-indented for visual indent
832:5: E266 too many leading '#' for block comment
834:12: E127 continuation line over-indented for visual indent
839:1: E302 expected 2 blank lines, found 1
839: D401 First line should be imperative: 'Run', not 'Runs'
839: D400 First line should end with '.', not 'k'
839: D200 One-line docstring should not occupy 3 lines
845:90: E203 whitespace before ':'
845:91: E231 missing whitespace after ':'


1: D400 First line should end with '.', not 'n'
1: D205 Blank line missing between one-line summary and description
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
27:1: E402 module level import not at top of file
28:1: I100 Imports statements are in the wrong order. import re should be before from time
28:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. import os should be before import re
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: I100 Imports statements are in the wrong order. from email.MIMEBase should be before from email.MIMEMultipart
33:1: E402 module level import not at top of file
34:1: I100 Imports statements are in the wrong order. from email should be before from email.MIMEBase
34:1: E402 module level import not at top of file
35:1: E402 module level import not at top of file
36:1: E402 module level import not at top of file
37:1: I201 Missing newline before sections or imports.
37:1: E402 module level import not at top of file
38:1: I101 Imported names are in the wrong order. Should be AbstractFormatter, DumbWriter
38:1: I100 Imports statements are in the wrong order. from formatter should be before from flask
38:1: I201 Missing newline before sections or imports.
38:1: E402 module level import not at top of file
39:1: I101 Imported names are in the wrong order. Should be EmailMessage, EmailMultiAlternatives
39:1: I201 Missing newline before sections or imports.
39:1: E402 module level import not at top of file
40:1: I101 Imported names are in the wrong order. Should be StringIO, iteritems
40:1: I201 Missing newline before sections or imports.
40:1: E402 module level import not at top of file
42:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from six
42:1: E402 module level import not at top of file
43:1: E731 do not assign a lambda expression, use a def
45:1: E402 module level import not at top of file
46:1: I100 Imports statements are in the wrong order. from invenio.ext.template should be before from .errors
46:1: I201 Missing newline before sections or imports.
46:1: E402 module level import not at top of file
47:1: I100 Imports statements are in the wrong order. from invenio.base.helpers should be before from invenio.ext.template
47:1: E402 module level import not at top of file
83:1: E303 too many blank lines (3)
83: D400 First line should end with '.', not 'd'
83: D205 Blank line missing between one-line summary and description
96:25: E124 closing bracket does not match visual indentation
136:8: E714 test for object identity should be 'is not'
138:8: E714 test for object identity should be 'is not'
154: D301 Use r""" if any backslashes in a docstring
154: D400 First line should end with '.', not 'y'
154: D205 Blank line missing between one-line summary and description
252:53: E502 the backslash is redundant between brackets
253:25: E128 continuation line under-indented for visual indent
253:50: E502 the backslash is redundant between brackets
253:28: E251 unexpected spaces around keyword / parameter equals
253:30: E251 unexpected spaces around keyword / parameter equals
254:25: E128 continuation line under-indented for visual indent
254:50: E502 the backslash is redundant between brackets
254:28: E251 unexpected spaces around keyword / parameter equals
254:30: E251 unexpected spaces around keyword / parameter equals
255:25: E128 continuation line under-indented for visual indent
255:44: E502 the backslash is redundant between brackets
255:31: E251 unexpected spaces around keyword / parameter equals
255:33: E251 unexpected spaces around keyword / parameter equals
256:25: E128 continuation line under-indented for visual indent
256:46: E502 the backslash is redundant between brackets
256:35: E251 unexpected spaces around keyword / parameter equals
256:37: E251 unexpected spaces around keyword / parameter equals
257:25: E128 continuation line under-indented for visual indent
257:35: E251 unexpected spaces around keyword / parameter equals
257:37: E251 unexpected spaces around keyword / parameter equals
272: D200 One-line docstring should not occupy 3 lines
283: D209 Put multi-line docstring closing quotes on separate line
283: D205 Blank line missing between one-line summary and description
386:21: E266 too many leading '#' for block comment
398:13: B901 blind except: statement
423: D401 First line should be imperative: 'Remove', not 'Removes'
423: D400 First line should end with '.', not 'n'
423: D205 Blank line missing between one-line summary and description
444:1: E302 expected 2 blank lines, found 1
444: D400 First line should end with '.', not 's'
444: D205 Blank line missing between one-line summary and description
454:17: F821 undefined name 'Header'


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
40:1: I201 Missing newline before sections or imports.
42:1: I100 Imports statements are in the wrong order. import os should be before from six.moves
42:1: I201 Missing newline before sections or imports.
48:1: I100 Imports statements are in the wrong order. import traceback should be before import urllib2
50:1: I100 Imports statements are in the wrong order. import thread should be before import xml.sax
51:1: F999 redefinition of unused 'time' from line 46
64:1: I100 Imports statements are in the wrong order. from invenio should be before from invenio.legacy.bibclassify
64:1: E402 module level import not at top of file
66:1: E402 module level import not at top of file
86: D401 First line should be imperative: 'Return', not 'Returns'
86: D400 First line should end with '.', not ','
86: D205 Blank line missing between one-line summary and description
108:22: E261 at least two spaces before inline comment
119: D401 First line should be imperative: 'Update', not 'Updates'
119: D400 First line should end with '.', not 'r'
129: D401 First line should be imperative: 'Return', not 'Returns'
129: D209 Put multi-line docstring closing quotes on separate line
129: D202 No blank lines allowed *after* function docstring, found 1
129: D205 Blank line missing between one-line summary and description
182: D401 First line should be imperative: 'Check', not 'Checks'
182: D209 Put multi-line docstring closing quotes on separate line
182: D400 First line should end with '.', not 'f'
182: D205 Blank line missing between one-line summary and description
219: D401 First line should be imperative: 'Return', not 'Returns'
219: D209 Put multi-line docstring closing quotes on separate line
219: D202 No blank lines allowed *after* function docstring, found 1
219: D205 Blank line missing between one-line summary and description
256: D401 First line should be imperative: 'Look', not 'Looks'
256: D400 First line should end with '.', not 'd'
256: D205 Blank line missing between one-line summary and description
308: D101 Docstring missing
313: D202 No blank lines allowed *after* method docstring, found 1
313: D400 First line should end with '.', not 's'
313: D205 Blank line missing between one-line summary and description
336:50: E261 at least two spaces before inline comment
340:9: E303 too many blank lines (2)
356:13: E303 too many blank lines (2)
363:56: E261 at least two spaces before inline comment
377:13: E303 too many blank lines (2)
393:13: E303 too many blank lines (2)
426:104: E502 the backslash is redundant between brackets
432:5: E303 too many blank lines (2)
432: D401 First line should be imperative: 'Re-check', not 'Re-checks'
432: D202 No blank lines allowed *after* method docstring, found 1
432: D400 First line should end with '.', not 'e'
432: D205 Blank line missing between one-line summary and description
463:13: B901 blind except: statement
470:5: E303 too many blank lines (2)
470: D102 Docstring missing
473: D102 Docstring missing
476: D102 Docstring missing
479: D102 Docstring missing
482: D401 First line should be imperative: 'thi', not 'this'
482: D209 Put multi-line docstring closing quotes on separate line
482: D400 First line should end with '.', not 't'
482: D205 Blank line missing between one-line summary and description
488: D102 Docstring missing
496: D401 First line should be imperative: 'Return', not 'Returns'
506: D102 Docstring missing
509: D102 Docstring missing
513: D401 First line should be imperative: 'Build', not 'Builds'
513: D209 Put multi-line docstring closing quotes on separate line
513: D202 No blank lines allowed *after* function docstring, found 1
513: D400 First line should end with '.', not 'a'
513: D205 Blank line missing between one-line summary and description
513: D208 Docstring is over-indented
536:9: B901 blind except: statement
554:13: F401 'rdflib_reimport' imported but unused
559:36: F841 local variable 'exc' is assigned to but never used
585:10: E261 at least two spaces before inline comment
585:11: E262 inline comment should start with '# '
657: D401 First line should be imperative: 'Return', not 'Returns'
657: D209 Put multi-line docstring closing quotes on separate line
657: D400 First line should end with '.', not 'e'
657: D205 Blank line missing between one-line summary and description
671: D401 First line should be imperative: 'Return', not 'Returns'
678: D401 First line should be imperative: 'Return', not 'Returns'
678: D209 Put multi-line docstring closing quotes on separate line
678: D400 First line should end with '.', not 'f'
678: D205 Blank line missing between one-line summary and description
725: D209 Put multi-line docstring closing quotes on separate line
725: D400 First line should end with '.', not 't'
725: D205 Blank line missing between one-line summary and description
741:25: E127 continuation line over-indented for visual indent
743:87: F841 local variable 'e' is assigned to but never used
780: D401 First line should be imperative: 'Return', not 'Returns'
780: D202 No blank lines allowed *after* function docstring, found 1
780: D400 First line should end with '.', not 'd'
780: D205 Blank line missing between one-line summary and description
807: D401 First line should be imperative: 'Download', not 'Downloads'
819:5: B901 blind except: statement
828: D401 First line should be imperative: 'Return', not 'Returns'
828: D209 Put multi-line docstring closing quotes on separate line
828: D400 First line should end with '.', not 'e'
828: D205 Blank line missing between one-line summary and description
859: D401 First line should be imperative: 'Return', not 'Returns'
859: D209 Put multi-line docstring closing quotes on separate line
859: D400 First line should end with '.', not 'f'
859: D205 Blank line missing between one-line summary and description
883: D401 First line should be imperative: 'Check', not 'Checks'
888: D401 First line should be imperative: 'Check', not 'Checks'
888: D209 Put multi-line docstring closing quotes on separate line
888: D202 No blank lines allowed *after* function docstring, found 1
888: D400 First line should end with '.', not 'f'
888: D205 Blank line missing between one-line summary and description
905:5: B901 blind except: statement
931:21: E127 continuation line over-indented for visual indent
974:12: E713 test for membership should be 'not in'
1001:28: E713 test for membership should be 'not in'
1004:28: E713 test for membership should be 'not in'
1014:28: E713 test for membership should be 'not in'
1017:28: E713 test for membership should be 'not in'
1034:21: E128 continuation line under-indented for visual indent
1039:21: E124 closing bracket does not match visual indentation
1097:53: F812 list comprehension redefines 'note' from line 917
1108: D103 Docstring missing


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
21:1: I100 Imports statements are in the wrong order. from invenio.base.scripts.database should be before from .receivers
21:1: I201 Missing newline before sections or imports.


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
26:1: I201 Missing newline before sections or imports.
27:1: I100 Imports statements are in the wrong order. from base64 should be before import pkg_resources
27:1: I201 Missing newline before sections or imports.
28:1: I101 Imported names are in the wrong order. Should be StringIO, iteritems
28:1: I201 Missing newline before sections or imports.
29:1: I100 Imports statements are in the wrong order. from flask should be before from six
29:1: I201 Missing newline before sections or imports.
32:1: I101 Imported names are in the wrong order. Should be InvenioTestCase, make_test_suite, run_test_suite
86:5: E303 too many blank lines (2)
279:5: E303 too many blank lines (2)


1: D400 First line should end with '.', not 's'
1: D205 Blank line missing between one-line summary and description
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
21: L101 copyright is missing
49:1: I201 Missing newline before sections or imports.
56:1: I101 Imported names are in the wrong order. Should be AccACTION, AccARGUMENT, AccAuthorization, AccROLE, UserAccROLE
63:1: I101 Imported names are in the wrong order. Should be after_delete_collection, after_delete_collections, after_save_collection, after_save_collections, before_delete_collection, before_delete_collections, before_save_collection, before_save_collections, post_curation, pre_curation
68:1: I101 Imported names are in the wrong order. Should be Collection, CollectionCollection, CollectionFormat, CollectionPortalbox, Collectiondetailedrecordpagetabs, Collectionname, Format, Portalbox
77:1: I100 Imports statements are in the wrong order. from invenio.modules.oaiharvester.models should be before from invenio.modules.search.models
80: D290 White spaces around docstring should be trimmed.
80: D203 Expected 1 blank line *before* class docstring, found 0
80: D204 Expected 1 blank line *after* class docstring, found 0
80: D400 First line should end with '.', not 'd'
80: D205 Blank line missing between one-line summary and description
178: D400 First line should end with '.', not 'o'
178: D200 One-line docstring should not occupy 3 lines
189: D290 White spaces around docstring should be trimmed.
189: D400 First line should end with '.', not 'n'
195: D290 White spaces around docstring should be trimmed.
195: D400 First line should end with '.', not 'n'
200: D290 White spaces around docstring should be trimmed.
200: D400 First line should end with '.', not 'n'
205: D290 White spaces around docstring should be trimmed.
205: D400 First line should end with '.', not 'L'
210: D290 White spaces around docstring should be trimmed.
210: D400 First line should end with '.', not 'd'
234: D400 First line should end with '.', not 'e'
234: D205 Blank line missing between one-line summary and description
234: D208 Docstring is over-indented
259: D290 White spaces around docstring should be trimmed.
259: D400 First line should end with '.', not 'r'
269: D102 Docstring missing
275: D290 White spaces around docstring should be trimmed.
275: D400 First line should end with '.', not 'y'
279: D290 White spaces around docstring should be trimmed.
279: D400 First line should end with '.', not 'y'
283: D400 First line should end with '.', not 'n'
283: D200 One-line docstring should not occupy 3 lines
299: D400 First line should end with '.', not 'e'
350: D400 First line should end with '.', not 'd'
350: D200 One-line docstring should not occupy 3 lines
364: D400 First line should end with '.', not 's'
364: D200 One-line docstring should not occupy 3 lines
375: D400 First line should end with '.', not 'y'
410: D400 First line should end with '.', not 'y'
446: D400 First line should end with '.', not 't'
446: D200 One-line docstring should not occupy 3 lines
467: D400 First line should end with '.', not 't'
467: D200 One-line docstring should not occupy 3 lines
487: D400 First line should end with '.', not 't'
487: D200 One-line docstring should not occupy 3 lines
513: D400 First line should end with '.', not 't'
513: D200 One-line docstring should not occupy 3 lines
534: D400 First line should end with '.', not 's'
534: D200 One-line docstring should not occupy 3 lines
581: D200 One-line docstring should not occupy 3 lines
603: D400 First line should end with '.', not 'l'
603: D205 Blank line missing between one-line summary and description
650: D400 First line should end with '.', not ','
650: D205 Blank line missing between one-line summary and description
709: D400 First line should end with '.', not 's'
709: D200 One-line docstring should not occupy 3 lines
718: D200 One-line docstring should not occupy 3 lines
745: D400 First line should end with '.', not 'n'
745: D200 One-line docstring should not occupy 3 lines
794: D200 One-line docstring should not occupy 3 lines
805: D400 First line should end with '.', not 'd'
805: D205 Blank line missing between one-line summary and description
819: D103 Docstring missing


1: M111 unrecognized component name: sqlalchemy


3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
27:1: I101 Imported names are in the wrong order. Should be current_app, url_for
27:1: I100 Imports statements are in the wrong order. from flask should be before from invenio.base.wrappers
27:1: I201 Missing newline before sections or imports.
27:1: F401 'current_app' imported but unused
27:1: F401 'url_for' imported but unused
28:1: I201 Missing newline before sections or imports.
29:1: I100 Imports statements are in the wrong order. from invenio.testsuite should be before from six
29:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.ext.sqlalchemy should be before from invenio.testsuite
33:1: I100 Imports statements are in the wrong order. from flask.ext.login should be before from invenio.ext.sqlalchemy
33:1: I201 Missing newline before sections or imports.
44:1: E302 expected 2 blank lines, found 1
122:16: E231 missing whitespace after ','


1: M111 unrecognized component name: legacy


1: D400 First line should end with '.', not 'y'
1: D205 Blank line missing between one-line summary and description
1: D208 Docstring is over-indented
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
29:1: I101 Imported names are in the wrong order. Should be ModuleAutoDiscoveryRegistry, RegistryProxy
29:1: I100 Imports statements are in the wrong order. from flask.ext.registry should be before import sqlalchemy
31:1: I201 Missing newline before sections or imports.
32:1: I101 Imported names are in the wrong order. Should be Comparator, hybrid_property
34:1: I201 Missing newline before sections or imports.
36:1: I100 Imports statements are in the wrong order. from invenio.utils.hash should be before from sqlalchemy_utils
37:1: I201 Missing newline before sections or imports.
38:1: I101 Imported names are in the wrong order. Should be GUID, MarshalBinary, PickleBinary
61:5: B901 blind except: statement
66:5: B901 blind except: statement
72:5: B901 blind except: statement
77:5: B901 blind except: statement
96:5: E266 too many leading '#' for block comment
107: D101 Docstring missing
108: D102 Docstring missing
111: D102 Docstring missing
118: D401 First line should be imperative: 'Call', not 'Calls'
118: D400 First line should end with '.', not '5'
122:5: B901 blind except: statement
128:1: E266 too many leading '#' for block comment
132: D203 Expected 1 blank line *before* class docstring, found 0
137: D102 Docstring missing
149: D102 Docstring missing
157: D102 Docstring missing
163: D401 First line should be imperative: 'Thi', not 'This'
163: D200 One-line docstring should not occupy 3 lines
200:5: E266 too many leading '#' for block comment


1: D290 White spaces around docstring should be trimmed.
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
22:1: I101 Imported names are in the wrong order. Should be MATCHING_QGRAMS_PERCENTAGE, MAX_T_OCCURANCE_RESULT_LIST_CARDINALITY, MIN_T_OCCURANCE_RESULT_LIST_CARDINALITY, NAME_SCORE_COEFFICIENT, QGRAM_LEN
26:1: I100 Imports statements are in the wrong order. from Queue should be before from .config
28:1: I100 Imports statements are in the wrong order. from operator should be before from threading
29:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.utils.text should be before from msgpack
33:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.utils.text
33:1: I201 Missing newline before sections or imports.
34:1: I201 Missing newline before sections or imports.
35:1: I101 Imported names are in the wrong order. Should be get_authors_data_from_indexable_name_ids, get_confirmed_name_to_authors_mapping, get_inverted_lists, populate_table, search_engine_is_operating, set_dense_index_ready, set_inverted_lists_ready
35:1: I100 Imports statements are in the wrong order. from .dbinterface should be before from .name_utils
36:26: E126 continuation line over-indented for hanging indent
39: D205 Blank line missing between one-line summary and description
39: D300 Expected """-quotes, got '''-quotes
60: D205 Blank line missing between one-line summary and description
60: D300 Expected """-quotes, got '''-quotes
79:51: E231 missing whitespace after ','
79:65: E231 missing whitespace after ','
83:5: E303 too many blank lines (2)
93: D205 Blank line missing between one-line summary and description
93: D300 Expected """-quotes, got '''-quotes
123:52: E231 missing whitespace after ','
123:68: E231 missing whitespace after ','
127:5: E303 too many blank lines (2)
137: D400 First line should end with '.', not 'e'
137: D205 Blank line missing between one-line summary and description
137: D300 Expected """-quotes, got '''-quotes
193: D400 First line should end with '.', not 's'
193: D205 Blank line missing between one-line summary and description
193: D300 Expected """-quotes, got '''-quotes
235: D400 First line should end with '.', not 'g'
235: D300 Expected """-quotes, got '''-quotes
264:1: E302 expected 2 blank lines, found 1
264: D400 First line should end with '.', not 'g'
264: D300 Expected """-quotes, got '''-quotes
294: D400 First line should end with '.', not 'g'
294: D300 Expected """-quotes, got '''-quotes
327: D205 Blank line missing between one-line summary and description
327: D300 Expected """-quotes, got '''-quotes
384: D103 Docstring missing
398:1: W391 blank line at end of file


1: D100 Docstring missing
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
24:1: I101 Imported names are in the wrong order. Should be Blueprint, abort, flash, g, redirect, render_template, request, url_for
27:1: I201 Missing newline before sections or imports.
28:1: I101 Imported names are in the wrong order. Should be Collection, CollectionCollection, CollectionPortalbox, Collectionname, Portalbox
28:1: I201 Missing newline before sections or imports.
29:9: E126 continuation line over-indented for hanging indent
30:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from ..models
31:1: I100 Imports statements are in the wrong order. from invenio.base.decorators should be before from invenio.base.i18n
32:1: I100 Imports statements are in the wrong order. from flask.ext.login should be before from invenio.base.decorators
32:1: I201 Missing newline before sections or imports.
33:1: I201 Missing newline before sections or imports.
34:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.principal
39:1: E731 do not assign a lambda expression, use a def
56: D200 One-line docstring should not occupy 3 lines
73: D202 No blank lines allowed *after* function docstring, found 1
73: D400 First line should end with '.', not 'n'
73: D200 One-line docstring should not occupy 3 lines
94:13: E122 continuation line missing indentation or outdented
94:40: E225 missing whitespace around operator
95:13: E122 continuation line missing indentation or outdented
95:40: E225 missing whitespace around operator
118:9: B901 blind except: statement
119:13: E266 too many leading '#' for block comment
134: D202 No blank lines allowed *after* function docstring, found 1
134: D400 First line should end with '.', not 'e'
134: D200 One-line docstring should not occupy 3 lines
141:13: E126 continuation line over-indented for hanging indent
151: D103 Docstring missing
152:57: E225 missing whitespace around operator
153:44: E251 unexpected spaces around keyword / parameter equals
153:46: E251 unexpected spaces around keyword / parameter equals
156:30: E231 missing whitespace after ','
156:48: E271 multiple spaces after keyword
166:60: E502 the backslash is redundant between brackets
167:13: E128 continuation line under-indented for visual indent
167:49: E502 the backslash is redundant between brackets
167:23: E251 unexpected spaces around keyword / parameter equals
167:25: E251 unexpected spaces around keyword / parameter equals
168:13: E128 continuation line under-indented for visual indent
174: D103 Docstring missing
176:7: E271 multiple spaces after keyword
176:34: E261 at least two spaces before inline comment
177:59: E225 missing whitespace around operator
188: D103 Docstring missing
195:1: E303 too many blank lines (4)
199: D401 First line should be imperative: 'update', not 'updates'
199: D202 No blank lines allowed *after* function docstring, found 1
199: D400 First line should end with '.', not 'd'
199: D200 One-line docstring should not occupy 3 lines
204:55: E225 missing whitespace around operator
209:17: E126 continuation line over-indented for hanging indent
209:53: E225 missing whitespace around operator
210:13: E128 continuation line under-indented for visual indent
210:59: E225 missing whitespace around operator
218:68: E502 the backslash is redundant between brackets
219:24: E128 continuation line under-indented for visual indent
224:55: E251 unexpected spaces around keyword / parameter equals
224:57: E251 unexpected spaces around keyword / parameter equals
229: D103 Docstring missing
230:36: E203 whitespace before ','
231:56: E203 whitespace before ','
232:40: E203 whitespace before ','
234:55: E225 missing whitespace around operator
237:13: E127 continuation line over-indented for visual indent
238:49: E225 missing whitespace around operator
239:50: E225 missing whitespace around operator
247:71: E502 the backslash is redundant between brackets
248:13: E128 continuation line under-indented for visual indent
248:18: E502 the backslash is redundant between brackets
249:13: E128 continuation line under-indented for visual indent
249:36: E202 whitespace before ')'
249:45: E202 whitespace before ')'
258: D103 Docstring missing
260:26: E251 unexpected spaces around keyword / parameter equals
260:28: E251 unexpected spaces around keyword / parameter equals


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


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
33:1: I101 Imported names are in the wrong order. Should be find_packages, setup


1: M111 unrecognized component name: assets


1: M111 unrecognized component name: arxiv


1: M111 unrecognized component name: docs


1: M111 unrecognized component name: admin


Hi @jgawor and @RobertoSanchezHerrera!
Could you review the changes to the Undeploy goal, please?


@ccadar, yes, I remember double-free errors but I can't reproduce them now only by running KLEE's test suite. I'll think a bit more what the scenario was.


1: D200 One-line docstring should not occupy 3 lines
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
34:1: I100 Imports statements are in the wrong order. from flask should be before from invenio.modules.search.models
37: D203 Expected 1 blank line *before* class docstring, found 0
37: D204 Expected 1 blank line *after* class docstring, found 0
47: D401 First line should be imperative: 'Return', not 'Returns'
53:9: B901 blind except: statement
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
64: D203 Expected 1 blank line *before* class docstring, found 0
64: D204 Expected 1 blank line *after* class docstring, found 0
76: D203 Expected 1 blank line *before* class docstring, found 0
76: D204 Expected 1 blank line *after* class docstring, found 0
85: D203 Expected 1 blank line *before* class docstring, found 0
85: D204 Expected 1 blank line *after* class docstring, found 0
93: D203 Expected 1 blank line *before* class docstring, found 0
93: D204 Expected 1 blank line *after* class docstring, found 0
97:17: E128 continuation line under-indented for visual indent
98:17: E128 continuation line under-indented for visual indent
100:17: E128 continuation line under-indented for visual indent
103: D203 Expected 1 blank line *before* class docstring, found 0
103: D204 Expected 1 blank line *after* class docstring, found 0
110: D203 Expected 1 blank line *before* class docstring, found 0
110: D204 Expected 1 blank line *after* class docstring, found 0
114:17: E128 continuation line under-indented for visual indent
116:17: E128 continuation line under-indented for visual indent
118:17: E128 continuation line under-indented for visual indent
121:17: E128 continuation line under-indented for visual indent
123:17: E128 continuation line under-indented for visual indent
131: D203 Expected 1 blank line *before* class docstring, found 0
131: D204 Expected 1 blank line *after* class docstring, found 0
135:17: E128 continuation line under-indented for visual indent
137:17: E128 continuation line under-indented for visual indent
139:17: E128 continuation line under-indented for visual indent
142:17: E128 continuation line under-indented for visual indent
147: D203 Expected 1 blank line *before* class docstring, found 0
147: D204 Expected 1 blank line *after* class docstring, found 0
151:17: E128 continuation line under-indented for visual indent
156: D203 Expected 1 blank line *before* class docstring, found 0
156: D204 Expected 1 blank line *after* class docstring, found 0
160:17: E128 continuation line under-indented for visual indent
163:17: E128 continuation line under-indented for visual indent
167: D203 Expected 1 blank line *before* class docstring, found 0
167: D204 Expected 1 blank line *after* class docstring, found 0
171:17: E128 continuation line under-indented for visual indent
173:17: E128 continuation line under-indented for visual indent
176: D203 Expected 1 blank line *before* class docstring, found 0
176: D204 Expected 1 blank line *after* class docstring, found 0
180:17: E128 continuation line under-indented for visual indent
184: D203 Expected 1 blank line *before* class docstring, found 0
184: D204 Expected 1 blank line *after* class docstring, found 0
188:17: E128 continuation line under-indented for visual indent
194: D203 Expected 1 blank line *before* class docstring, found 0
194: D204 Expected 1 blank line *after* class docstring, found 0
198:17: E128 continuation line under-indented for visual indent
200:17: E128 continuation line under-indented for visual indent
202:17: E128 continuation line under-indented for visual indent


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
25:1: I201 Missing newline before sections or imports.
53:9: B901 blind except: statement


@eviltrout there you go 9395bbbbeaa024bb827d555ab0ac9f6d47574fca


1: M111 unrecognized component name: checker


Why ? it's defined in the constructor. @JeanFred


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


1: M111 unrecognized component name: pdfchecker


1: D400 First line should end with '.', not 'n'
1: D205 Blank line missing between one-line summary and description
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
27:1: E402 module level import not at top of file
28:1: I100 Imports statements are in the wrong order. import re should be before from time
28:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. import os should be before import re
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: I100 Imports statements are in the wrong order. from email.MIMEBase should be before from email.MIMEMultipart
33:1: E402 module level import not at top of file
34:1: I100 Imports statements are in the wrong order. from email should be before from email.MIMEBase
34:1: E402 module level import not at top of file
35:1: E402 module level import not at top of file
36:1: E402 module level import not at top of file
37:1: I201 Missing newline before sections or imports.
37:1: E402 module level import not at top of file
38:1: I101 Imported names are in the wrong order. Should be AbstractFormatter, DumbWriter
38:1: I100 Imports statements are in the wrong order. from formatter should be before from flask
38:1: I201 Missing newline before sections or imports.
38:1: E402 module level import not at top of file
39:1: I101 Imported names are in the wrong order. Should be EmailMessage, EmailMultiAlternatives
39:1: I201 Missing newline before sections or imports.
39:1: E402 module level import not at top of file
40:1: I101 Imported names are in the wrong order. Should be StringIO, iteritems
40:1: I201 Missing newline before sections or imports.
40:1: E402 module level import not at top of file
42:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from six
42:1: E402 module level import not at top of file
43:1: E731 do not assign a lambda expression, use a def
45:1: E402 module level import not at top of file
46:1: I100 Imports statements are in the wrong order. from invenio.ext.template should be before from .errors
46:1: I201 Missing newline before sections or imports.
46:1: E402 module level import not at top of file
47:1: I100 Imports statements are in the wrong order. from invenio.base.helpers should be before from invenio.ext.template
47:1: E402 module level import not at top of file
83:1: E303 too many blank lines (3)
83: D400 First line should end with '.', not 'd'
83: D205 Blank line missing between one-line summary and description
96:25: E124 closing bracket does not match visual indentation
136:8: E714 test for object identity should be 'is not'
138:8: E714 test for object identity should be 'is not'
154: D301 Use r""" if any backslashes in a docstring
154: D400 First line should end with '.', not 'y'
154: D205 Blank line missing between one-line summary and description
252:53: E502 the backslash is redundant between brackets
253:25: E128 continuation line under-indented for visual indent
253:50: E502 the backslash is redundant between brackets
253:28: E251 unexpected spaces around keyword / parameter equals
253:30: E251 unexpected spaces around keyword / parameter equals
254:25: E128 continuation line under-indented for visual indent
254:50: E502 the backslash is redundant between brackets
254:28: E251 unexpected spaces around keyword / parameter equals
254:30: E251 unexpected spaces around keyword / parameter equals
255:25: E128 continuation line under-indented for visual indent
255:44: E502 the backslash is redundant between brackets
255:31: E251 unexpected spaces around keyword / parameter equals
255:33: E251 unexpected spaces around keyword / parameter equals
256:25: E128 continuation line under-indented for visual indent
256:46: E502 the backslash is redundant between brackets
256:35: E251 unexpected spaces around keyword / parameter equals
256:37: E251 unexpected spaces around keyword / parameter equals
257:25: E128 continuation line under-indented for visual indent
257:35: E251 unexpected spaces around keyword / parameter equals
257:37: E251 unexpected spaces around keyword / parameter equals
272: D200 One-line docstring should not occupy 3 lines
283: D209 Put multi-line docstring closing quotes on separate line
283: D205 Blank line missing between one-line summary and description
386:21: E266 too many leading '#' for block comment
398:13: B901 blind except: statement
423: D401 First line should be imperative: 'Remove', not 'Removes'
423: D400 First line should end with '.', not 'n'
423: D205 Blank line missing between one-line summary and description
444:1: E302 expected 2 blank lines, found 1
444: D400 First line should end with '.', not 's'
444: D205 Blank line missing between one-line summary and description
454:17: F821 undefined name 'Header'


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.scripts.xmlmarc2textmarc should be before from invenio.utils.url
39:1: E402 module level import not at top of file
40:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_AJAX_RESULT_CODES, CFG_BIBEDIT_AJAX_RESULT_CODES_REV, CFG_BIBEDIT_AUTHOR_DISPLAY_THRESHOLD, CFG_BIBEDIT_AUTOCOMPLETE_TAGS_KBS, CFG_BIBEDIT_AUTOSUGGEST_TAGS, CFG_BIBEDIT_DISPLAY_AUTHOR_TAGS, CFG_BIBEDIT_DISPLAY_REFERENCE_TAGS, CFG_BIBEDIT_DOI_LOOKUP_FIELD, CFG_BIBEDIT_EXCLUDE_CURATOR_TAGS, CFG_BIBEDIT_JS_CHECK_SCROLL_INTERVAL, CFG_BIBEDIT_JS_CLONED_RECORD_COLOR, CFG_BIBEDIT_JS_CLONED_RECORD_COLOR_FADE_DURATION, CFG_BIBEDIT_JS_HASH_CHECK_INTERVAL, CFG_BIBEDIT_JS_NEW_ADD_FIELD_FORM_COLOR, CFG_BIBEDIT_JS_NEW_ADD_FIELD_FORM_COLOR_FADE_DURATION, CFG_BIBEDIT_JS_NEW_CONTENT_COLOR, CFG_BIBEDIT_JS_NEW_CONTENT_COLOR_FADE_DURATION, CFG_BIBEDIT_JS_NEW_CONTENT_HIGHLIGHT_DELAY, CFG_BIBEDIT_JS_STATUS_ERROR_TIME, CFG_BIBEDIT_JS_STATUS_INFO_TIME, CFG_BIBEDIT_JS_TICKET_REFRESH_DELAY, CFG_BIBEDIT_KEYWORD_RDFLABEL, CFG_BIBEDIT_KEYWORD_TAG, CFG_BIBEDIT_KEYWORD_TAXONOMY, CFG_BIBEDIT_MAX_SEARCH_RESULTS, CFG_BIBEDIT_REQUESTS_UNTIL_SAVE, CFG_BIBEDIT_TAG_FORMAT, CFG_DOI_USER_AGENT
40:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.config should be before from invenio.legacy.bibrecord.scripts.xmlmarc2textmarc
40:1: E402 module level import not at top of file
59:1: I101 Imported names are in the wrong order. Should be CFG_BIBCATALOG_SYSTEM, CFG_BIBCATALOG_SYSTEM_RT_URL, CFG_BIBEDIT_SHOW_HOLDING_PEN_REMOVED_FIELDS, CFG_DEVEL_SITE, CFG_SITE_LANG
59:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibedit.config
59:1: E402 module level import not at top of file
60:5: E128 continuation line under-indented for visual indent
61:5: E128 continuation line under-indented for visual indent
63: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
63:1: E402 module level import not at top of file
70:1: I101 Imported names are in the wrong order. Should be 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_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
70:1: E402 module level import not at top of file
84:1: I101 Imported names are in the wrong order. Should be create_field, create_record, field_add_subfield, field_get_subfield_values, field_xml_output, print_rec, record_add_field, record_add_fields, record_add_subfield_into, record_delete_field, record_delete_subfield_from, record_extract_dois, record_get_field_instances, record_get_field_values, record_get_subfields, record_modify_controlfield, record_modify_subfield, record_move_fields, record_move_subfield, record_order_subfields, record_replace_field, record_strip_controlfields, record_strip_empty_fields, record_strip_empty_volatile_subfields
84:1: F401 'field_xml_output' imported but unused
84:1: E402 module level import not at top of file
96:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_AUTOCOMPLETE_INSTITUTIONS_FIELDS, CFG_BIBEDIT_INTERNAL_DOI_PROTECTION_LEVEL, CFG_BIBEDIT_KB_INSTITUTIONS, 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
96:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibrecord
96:1: E402 module level import not at top of file
101:1: I101 Imported names are in the wrong order. Should be perform_request_search, record_exists
101:1: E402 module level import not at top of file
102:1: E402 module level import not at top of file
103:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcatalog.api should be before from invenio.legacy.webuser
103:1: E402 module level import not at top of file
104:1: E402 module level import not at top of file
105:1: E402 module level import not at top of file
106:1: E402 module level import not at top of file
107:1: I101 Imported names are in the wrong order. Should be show_diff, wash_for_xml
107:1: E402 module level import not at top of file
108:1: I100 Imports statements are in the wrong order. from invenio.modules.knowledge.api should be before from invenio.utils.text
108:1: E402 module level import not at top of file
109:6: E126 continuation line over-indented for hanging indent
111:1: I100 Imports statements are in the wrong order. from invenio.legacy.batchuploader.engine should be before from invenio.modules.knowledge.api
111:1: E402 module level import not at top of file
113:1: E402 module level import not at top of file
114:1: E402 module level import not at top of file
116:1: E402 module level import not at top of file
117:36: E126 continuation line over-indented for hanging indent
120:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord.scripts should be before from invenio.legacy.refextract.api
120:1: E402 module level import not at top of file
121:1: I101 Imported names are in the wrong order. Should be CrossrefError, get_marcxml_for_doi
121:1: E402 module level import not at top of file
123:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.crossref
123:1: E402 module level import not at top of file
134:1: E302 expected 2 blank lines, found 1
134: D400 First line should end with '.', not ':'
134: D205 Blank line missing between one-line summary and description
141:17: E126 continuation line over-indented for hanging indent
144:22: E203 whitespace before ':'
145:23: E203 whitespace before ':'
146:23: E203 whitespace before ':'
147:28: E203 whitespace before ':'
148:33: E203 whitespace before ':'
149:13: E126 continuation line over-indented for hanging indent
150:23: E203 whitespace before ':'
151:30: E203 whitespace before ':'
153:33: E203 whitespace before ':'
154:22: E203 whitespace before ':'
155:24: E203 whitespace before ':'
156:13: E126 continuation line over-indented for hanging indent
158:1: E302 expected 2 blank lines, found 1
158: D400 First line should end with '.', not 's'
158: D205 Blank line missing between one-line summary and description
172:9: E115 expected an indented block (comment)
174:21: E126 continuation line over-indented for hanging indent
174:27: E203 whitespace before ':'
175:34: E203 whitespace before ':'
176:37: E203 whitespace before ':'
177:26: E203 whitespace before ':'
178:28: E203 whitespace before ':'
179:17: E121 continuation line under-indented for hanging indent
182:21: E126 continuation line over-indented for hanging indent
184:26: E203 whitespace before ':'
185:27: E203 whitespace before ':'
186:27: E203 whitespace before ':'
187:32: E203 whitespace before ':'
188:37: E203 whitespace before ':'
192:1: E302 expected 2 blank lines, found 1
194:11: E221 multiple spaces before operator
211:26: E251 unexpected spaces around keyword / parameter equals
211:34: E251 unexpected spaces around keyword / parameter equals
211:26: E221 multiple spaces before operator
212:25: E251 unexpected spaces around keyword / parameter equals
212:34: E251 unexpected spaces around keyword / parameter equals
212:25: E221 multiple spaces before operator
213:27: E251 unexpected spaces around keyword / parameter equals
213:34: E251 unexpected spaces around keyword / parameter equals
213:27: E221 multiple spaces before operator
214:29: E251 unexpected spaces around keyword / parameter equals
214:34: E251 unexpected spaces around keyword / parameter equals
214:29: E221 multiple spaces before operator
215:24: E251 unexpected spaces around keyword / parameter equals
215:34: E251 unexpected spaces around keyword / parameter equals
215:24: E221 multiple spaces before operator
216:29: E251 unexpected spaces around keyword / parameter equals
216:34: E251 unexpected spaces around keyword / parameter equals
216:29: E221 multiple spaces before operator
217:29: E251 unexpected spaces around keyword / parameter equals
217:34: E251 unexpected spaces around keyword / parameter equals
217:29: E221 multiple spaces before operator
218:32: E251 unexpected spaces around keyword / parameter equals
218:34: E251 unexpected spaces around keyword / parameter equals
219:24: E251 unexpected spaces around keyword / parameter equals
219:34: E251 unexpected spaces around keyword / parameter equals
219:24: E221 multiple spaces before operator
222:5: E303 too many blank lines (2)
255:32: E203 whitespace before ':'
256:33: E203 whitespace before ':'
257:27: E203 whitespace before ':'
257:59: E221 multiple spaces before operator
258:35: E203 whitespace before ':'
313: D400 First line should end with '.', not 'h'
313: D205 Blank line missing between one-line summary and description
323: D400 First line should end with '.', not 'D'
323: D205 Blank line missing between one-line summary and description
343: D202 No blank lines allowed *after* function docstring, found 1
343: D400 First line should end with '.', not 's'
378:49: E128 continuation line under-indented for visual indent
381:1: E302 expected 2 blank lines, found 1
381: D400 First line should end with '.', not 'r'
381: D205 Blank line missing between one-line summary and description
402:55: E251 unexpected spaces around keyword / parameter equals
402:57: E251 unexpected spaces around keyword / parameter equals
417:9: E128 continuation line under-indented for visual indent
418:9: E128 continuation line under-indented for visual indent
418:9: E129 visually indented line with same indent as next logical line
485:1: E302 expected 2 blank lines, found 1
485: D290 White spaces around docstring should be trimmed.
485: D400 First line should end with '.', not 's'
538: D400 First line should end with '.', not 'f'
538: D205 Blank line missing between one-line summary and description
581: D400 First line should end with '.', not 'r'
581: D205 Blank line missing between one-line summary and description
625:17: B901 blind except: statement
762:75: E502 the backslash is redundant between brackets
857:35: E261 at least two spaces before inline comment
908:25: E127 continuation line over-indented for visual indent
914:17: B901 blind except: statement
924:53: E261 at least two spaces before inline comment
925:52: E114 indentation is not a multiple of four (comment)
925:52: E116 unexpected indentation (comment)
933:61: E126 continuation line over-indented for hanging indent
940:25: E126 continuation line over-indented for hanging indent
995:17: E128 continuation line under-indented for visual indent
1002: D202 No blank lines allowed *after* function docstring, found 1
1002: D400 First line should end with '.', not 'g'
1002: D205 Blank line missing between one-line summary and description
1024:9: B901 blind except: statement
1056:13: B901 blind except: statement
1064:13: B901 blind except: statement
1113:21: E128 continuation line under-indented for visual indent
1146:67: E114 indentation is not a multiple of four (comment)
1148:44: E126 continuation line over-indented for hanging indent
1159:44: E261 at least two spaces before inline comment
1161:42: E261 at least two spaces before inline comment
1162:43: E114 indentation is not a multiple of four (comment)
1162:43: E116 unexpected indentation (comment)
1166:17: E128 continuation line under-indented for visual indent
1172:21: E128 continuation line under-indented for visual indent
1177:19: E128 continuation line under-indented for visual indent
1182:13: E128 continuation line under-indented for visual indent
1182:46: E251 unexpected spaces around keyword / parameter equals
1183:13: E122 continuation line missing indentation or outdented
1186:13: E128 continuation line under-indented for visual indent
1192:13: E128 continuation line under-indented for visual indent
1195:42: E203 whitespace before ','
1203:17: E128 continuation line under-indented for visual indent
1210:18: E261 at least two spaces before inline comment
1213:17: E128 continuation line under-indented for visual indent
1228:29: E128 continuation line under-indented for visual indent
1236:33: E128 continuation line under-indented for visual indent
1262: D400 First line should end with '.', not 'e'
1262: D205 Blank line missing between one-line summary and description
1276:9: E116 unexpected indentation (comment)
1348:1: E302 expected 2 blank lines, found 1
1348: D200 One-line docstring should not occupy 3 lines
1362:21: E128 continuation line under-indented for visual indent
1377:30: E126 continuation line over-indented for hanging indent
1402:21: F841 local variable 'ticket_assigned' is assigned to but never used
1445: D401 First line should be imperative: 'Add', not 'Adds'
1445: D400 First line should end with '.', not ')'
1445: D205 Blank line missing between one-line summary and description
1461:36: E127 continuation line over-indented for visual indent
1462:36: E127 continuation line over-indented for visual indent
1467: D400 First line should end with '.', not 's'
1484:9: E128 continuation line under-indented for visual indent
1485:13: E128 continuation line under-indented for visual indent
1486:9: E128 continuation line under-indented for visual indent
1491: D400 First line should end with '.', not 'l'
1491: D205 Blank line missing between one-line summary and description
1509:5: B901 blind except: statement
1532: D290 White spaces around docstring should be trimmed.
1532: D202 No blank lines allowed *after* function docstring, found 1
1532: D400 First line should end with '.', not 'd'
1574:5: B901 blind except: statement
1594: D290 White spaces around docstring should be trimmed.
1594: D400 First line should end with '.', not 'g'
1594: D200 One-line docstring should not occupy 3 lines
1626: D290 White spaces around docstring should be trimmed.
1626: D400 First line should end with '.', not 'F'
1626: D200 One-line docstring should not occupy 2 lines
1638: D290 White spaces around docstring should be trimmed.
1638: D400 First line should end with '.', not 't'
1638: D200 One-line docstring should not occupy 2 lines
1650:13: E126 continuation line over-indented for hanging indent
1655: D290 White spaces around docstring should be trimmed.
1655: D400 First line should end with '.', not 'o'
1655: D205 Blank line missing between one-line summary and description
1670:13: E128 continuation line under-indented for visual indent
1676: D401 First line should be imperative: 'Return', not 'Returns'
1676: D400 First line should end with '.', not 't'
1693:26: E128 continuation line under-indented for visual indent
1694:26: E124 closing bracket does not match visual indentation
1709:38: E128 continuation line under-indented for visual indent
1721:5: E303 too many blank lines (2)
1723:1: E266 too many leading '#' for block comment
1725:1: E302 expected 2 blank lines, found 1
1725: D400 First line should end with '.', not 's'
1775: D290 White spaces around docstring should be trimmed.
1775: D400 First line should end with '.', not 'e'
1788: D209 Put multi-line docstring closing quotes on separate line
1788: D400 First line should end with '.', not 'e'
1788: D205 Blank line missing between one-line summary and description
1801:5: B901 blind except: statement
1808: D290 White spaces around docstring should be trimmed.
1808: D400 First line should end with '.', not 'e'
1813: D103 Docstring missing


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
26:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_INTERNAL_DOI_PROTECTION_LEVEL, CFG_BIBUPLOAD_INTERNAL_DOI_PATTERN
27:6: E126 continuation line over-indented for hanging indent
29:1: I101 Imported names are in the wrong order. Should be add_field, add_subfield, copy_R2_to_R1, delete_field, delete_subfield, merge_field, merge_field_group, merge_record, replace_field, replace_subfield
30:37: E126 continuation line over-indented for hanging indent
33:1: I101 Imported names are in the wrong order. Should be perform_request_search, print_record, record_exists
34:9: E126 continuation line over-indented for hanging indent
35:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
36:1: I101 Imported names are in the wrong order. Should be _get_file_path, cache_exists, cache_expired, create_cache, delete_cache, get_cache_contents, get_cache_mtime, get_marcxml_of_revision_id, get_record_revision_ids, latest_record_revision, record_locked_by_other_user, record_locked_by_queue, revision_format_valid_p, save_xml_record, split_revid, touch_cache, update_cache_contents
36:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.utils should be before from invenio.legacy.bibrecord
44:1: I101 Imported names are in the wrong order. Should be create_record, record_add_field, record_extract_dois, record_order_subfields, record_xml_output
44:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.utils.html
45:31: E126 continuation line over-indented for hanging indent
47:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.config should be before from invenio.legacy.bibrecord
52:1: E302 expected 2 blank lines, found 1
52: D200 One-line docstring should not occupy 2 lines
55:11: E221 multiple spaces before operator
67:1: E302 expected 2 blank lines, found 1
67: D290 White spaces around docstring should be trimmed.
67: D301 Use r""" if any backslashes in a docstring
72:75: E502 the backslash is redundant between brackets
73:12: E128 continuation line under-indented for visual indent
76:64: E502 the backslash is redundant between brackets
77:12: E128 continuation line under-indented for visual indent
77:80: E502 the backslash is redundant between brackets
78:12: E128 continuation line under-indented for visual indent
81:79: E502 the backslash is redundant between brackets
82:12: E128 continuation line under-indented for visual indent
89:17: E201 whitespace after '{'
89:64: E202 whitespace before '}'
91:1: E302 expected 2 blank lines, found 1
91: D200 One-line docstring should not occupy 2 lines
101:41: E201 whitespace after '('
101:57: E202 whitespace before ')'
105:25: E201 whitespace after '['
105:63: E202 whitespace before ']'
106:35: E201 whitespace after '['
106:93: E202 whitespace before ']'
109:45: E201 whitespace after '('
109:60: E202 whitespace before ')'
110:21: E201 whitespace after '['
110:70: E202 whitespace before ']'
113:17: E712 comparison to True should be 'if cond is True:' or 'if cond:'
122:1: E302 expected 2 blank lines, found 1
122: D400 First line should end with '.', not 'd'
122: D205 Blank line missing between one-line summary and description
132:1: E302 expected 2 blank lines, found 1
132: D205 Blank line missing between one-line summary and description
143:34: E261 at least two spaces before inline comment
143:35: E262 inline comment should start with '# '
150:42: E261 at least two spaces before inline comment
150:43: E262 inline comment should start with '# '
154:97: W601 .has_key() is deprecated, use 'in'
214:34: E261 at least two spaces before inline comment
214:35: E262 inline comment should start with '# '
241:1: E302 expected 2 blank lines, found 1
241: D205 Blank line missing between one-line summary and description
252:5: F841 local variable 'cache_dirty' is assigned to but never used
265:34: E261 at least two spaces before inline comment
265:35: E262 inline comment should start with '# '
286:31: E201 whitespace after '('
286:50: E202 whitespace before ')'
287:31: E201 whitespace after '('
287:50: E202 whitespace before ')'
288:20: E711 comparison to None should be 'if cond is None:'
294:14: E261 at least two spaces before inline comment
300:31: E201 whitespace after '('
300:50: E202 whitespace before ')'
301:20: E711 comparison to None should be 'if cond is None:'
309:31: E201 whitespace after '('
309:50: E202 whitespace before ')'
310:31: E201 whitespace after '('
310:50: E202 whitespace before ')'
311:20: E711 comparison to None should be 'if cond is None:'
326:1: E302 expected 2 blank lines, found 1
326: D205 Blank line missing between one-line summary and description
337:52: E261 at least two spaces before inline comment
337:53: E262 inline comment should start with '# '
338:5: F841 local variable 'cache_dirty' is assigned to but never used
346:34: E261 at least two spaces before inline comment
346:35: E262 inline comment should start with '# '
371:1: E302 expected 2 blank lines, found 1
371: D200 One-line docstring should not occupy 2 lines
386:9: E125 continuation line with same indent as next logical line
409:1: E302 expected 2 blank lines, found 1
409: D209 Put multi-line docstring closing quotes on separate line
409: D205 Blank line missing between one-line summary and description
409: D208 Docstring is over-indented
426:36: E201 whitespace after '('
426:62: E202 whitespace before ')'
430:40: E127 continuation line over-indented for visual indent
431:42: E261 at least two spaces before inline comment
431:43: E262 inline comment should start with '# '
433:14: E261 at least two spaces before inline comment
433:15: E262 inline comment should start with '# '
435:36: E201 whitespace after '('
435:51: E202 whitespace before ')'
456:1: E302 expected 2 blank lines, found 1
456: D401 First line should be imperative: 'Return', not 'Returns'
456: D209 Put multi-line docstring closing quotes on separate line
456: D400 First line should end with '.', not ')'
456: D205 Blank line missing between one-line summary and description
456: D208 Docstring is over-indented
464:18: E201 whitespace after '('
464:27: E202 whitespace before ')'
466:1: E302 expected 2 blank lines, found 1
466: D209 Put multi-line docstring closing quotes on separate line
466: D400 First line should end with '.', not 'o'
466: D205 Blank line missing between one-line summary and description
476:1: E302 expected 2 blank lines, found 1
476: D400 First line should end with '.', not '}'
476: D205 Blank line missing between one-line summary and description
489:59: E502 the backslash is redundant between brackets
492:1: E302 expected 2 blank lines, found 1
492: D400 First line should end with '.', not 'd'
492: D205 Blank line missing between one-line summary and description
520:74: E502 the backslash is redundant between brackets
521:32: E713 test for membership should be 'not in'
528:9: F841 local variable 'new_record2_managed_dois' is assigned to but never used
532:78: E502 the backslash is redundant between brackets
533:40: E713 test for membership should be 'not in'
533:37: E127 continuation line over-indented for visual indent
538:60: E502 the backslash is redundant between brackets
540:9: E125 continuation line with same indent as next logical line
543:16: E126 continuation line over-indented for hanging indent
565:27: E127 continuation line over-indented for visual indent


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
104: D290 White spaces around docstring should be trimmed.
104: D400 First line should end with '.', not 'o'
115: D202 No blank lines allowed *after* function docstring, found 1
115: D400 First line should end with '.', not 'g'
115: D205 Blank line missing between one-line summary and description
121:5: E266 too many leading '#' for block comment
124:5: E266 too many leading '#' for block comment
126:27: E127 continuation line over-indented for visual indent
137:5: E303 too many blank lines (2)
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
217:61: E502 the backslash is redundant between brackets
221:5: E266 too many leading '#' for block comment
228:5: E266 too many leading '#' for block comment
259:70: E231 missing whitespace after ','
273:5: E266 too many leading '#' for block comment
278:5: E266 too many leading '#' for block comment
283:5: E266 too many leading '#' for block comment
291:5: E266 too many leading '#' for block comment
295:5: E266 too many leading '#' for block comment
317:5: E266 too many leading '#' for block comment
321: D103 Docstring missing
327: D400 First line should end with '.', not 's'
327: D205 Blank line missing between one-line summary and description
343: D205 Blank line missing between one-line summary and description
350:5: E266 too many leading '#' for block comment
352:21: E127 continuation line over-indented for visual indent
353:5: E266 too many leading '#' for block comment
357:50: E502 the backslash is redundant between brackets
358:25: E127 continuation line over-indented for visual indent
358:66: E502 the backslash is redundant between brackets
359:25: E127 continuation line over-indented for visual indent
369:1: E302 expected 2 blank lines, found 1
369: D205 Blank line missing between one-line summary and description
376:5: E266 too many leading '#' for block comment
378:21: E127 continuation line over-indented for visual indent
379:5: E266 too many leading '#' for block comment
382:5: E266 too many leading '#' for block comment
398: D400 First line should end with '.', not '6'
398: D205 Blank line missing between one-line summary and description
415: D400 First line should end with '.', not 'r'
415: D205 Blank line missing between one-line summary and description
423:5: E266 too many leading '#' for block comment
425:14: E127 continuation line over-indented for visual indent
426:5: E266 too many leading '#' for block comment
429:16: E126 continuation line over-indented for hanging indent
430:13: E266 too many leading '#' for block comment
444:45: E128 continuation line under-indented for visual indent
445:45: E128 continuation line under-indented for visual indent
453:1: E302 expected 2 blank lines, found 1
453: D400 First line should end with '.', not 'd'
453: D205 Blank line missing between one-line summary and description
480:1: E302 expected 2 blank lines, found 1
480: D209 Put multi-line docstring closing quotes on separate line
480: D400 First line should end with '.', not 'n'
480: D205 Blank line missing between one-line summary and description
506:32: F841 local variable 'err' is assigned to but never used
526: D209 Put multi-line docstring closing quotes on separate line
526: D400 First line should end with '.', not 'n'
526: D205 Blank line missing between one-line summary and description
540: D200 One-line docstring should not occupy 3 lines
554:1: E302 expected 2 blank lines, found 1
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 ','
619:1: E302 expected 2 blank lines, found 1
619: D400 First line should end with '.', not 's'
619: D205 Blank line missing between one-line summary and description
637:1: E302 expected 2 blank lines, found 1
637: D205 Blank line missing between one-line summary and description
646:5: E266 too many leading '#' for block comment
678:69: E502 the backslash is redundant between brackets
691:5: E266 too many leading '#' for block comment
692:5: E266 too many leading '#' for block comment
696:32: E261 at least two spaces before inline comment
720: D209 Put multi-line docstring closing quotes on separate line
720: D205 Blank line missing between one-line summary and description
745: D103 Docstring missing
755: D103 Docstring missing
790:72: E502 the backslash is redundant between brackets
791:20: E127 continuation line over-indented for visual indent
791:44: E231 missing whitespace after ','
795:35: E261 at least two spaces before inline comment
806:1: E302 expected 2 blank lines, found 1
813:21: E128 continuation line under-indented for visual indent
813:93: E231 missing whitespace after ','
831:50: E231 missing whitespace after ','
837:1: E302 expected 2 blank lines, found 1
850:48: E231 missing whitespace after ','
856:1: E302 expected 2 blank lines, found 1
867:1: E302 expected 2 blank lines, found 1
873:1: E302 expected 2 blank lines, found 1
879:1: E302 expected 2 blank lines, found 1
885:1: E302 expected 2 blank lines, found 1
891:1: E302 expected 2 blank lines, found 1
896:1: E302 expected 2 blank lines, found 1
896: D400 First line should end with '.', not 'e'
896: D205 Blank line missing between one-line summary and description
909:5: B901 blind except: statement
912:1: E302 expected 2 blank lines, found 1
912: D400 First line should end with '.', not 's'
912: D205 Blank line missing between one-line summary and description
927: D400 First line should end with '.', not 'r'
927: D205 Blank line missing between one-line summary and description
937:10: E122 continuation line missing indentation or outdented
950: D200 One-line docstring should not occupy 3 lines
965: D400 First line should end with '.', not 'y'
965: D205 Blank line missing between one-line summary and description
984: D400 First line should end with '.', not 'L'
984: D205 Blank line missing between one-line summary and description
999: D400 First line should end with '.', not 's'
999: D200 One-line docstring should not occupy 3 lines
1013: D400 First line should end with '.', not 's'
1013: D200 One-line docstring should not occupy 3 lines
1027: D400 First line should end with '.', not 'd'
1027: D200 One-line docstring should not occupy 3 lines
1041: D200 One-line docstring should not occupy 3 lines
1055: D202 No blank lines allowed *after* function docstring, found 1
1058: D203 Expected 1 blank line *before* class docstring, found 0
1058: D204 Expected 1 blank line *after* class docstring, found 0
1058: D400 First line should end with '.', not 'l'
1174: D290 White spaces around docstring should be trimmed.
1174: D400 First line should end with '.', not 's'
1213:9: E266 too many leading '#' for block comment
1269:21: B901 blind except: statement


1: D290 White spaces around docstring should be trimmed.
1: D400 First line should end with '.', not 'm'
3:1: E266 too many leading '#' for block comment
4:1: E266 too many leading '#' for block comment
6:1: E266 too many leading '#' for block comment
7:1: E266 too many leading '#' for block comment
8:1: E266 too many leading '#' for block comment
9:1: E266 too many leading '#' for block comment
11:1: E266 too many leading '#' for block comment
12:1: E266 too many leading '#' for block comment
13:1: E266 too many leading '#' for block comment
14:1: E266 too many leading '#' for block comment
16:1: E266 too many leading '#' for block comment
17:1: E266 too many leading '#' for block comment
18:1: E266 too many leading '#' for block comment
20: L101 copyright is missing
24:1: E402 module level import not at top of file
25:1: I101 Imported names are in the wrong order. Should be CFG_WEBMESSAGE_MAX_SIZE_OF_MESSAGE, CFG_WEBMESSAGE_RESULTS_FIELD, CFG_WEBMESSAGE_ROLES_WITHOUT_QUOTA, CFG_WEBMESSAGE_SEPARATOR, CFG_WEBMESSAGE_STATUS_CODE
25:1: I100 Imports statements are in the wrong order. from invenio.modules.messages.config should be before import invenio.modules.messages.dblayer
25:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.modules.messages.errors
32:1: E402 module level import not at top of file
33:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
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. from invenio.legacy.webuser should be before from invenio.utils.html
36:1: E402 module level import not at top of file
37:1: E402 module level import not at top of file
41:1: B901 blind except: statement
43:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.access.control
43:1: E402 module level import not at top of file
45:1: E302 expected 2 blank lines, found 1
45: D401 First line should be imperative: 'Display', not 'Displays'
45: D400 First line should end with '.', not 'e'
45: D205 Blank line missing between one-line summary and description
87:49: E126 continuation line over-indented for hanging indent
100: D401 First line should be imperative: 'Display', not 'Displays'
100: D400 First line should end with '.', not 'x'
100: D205 Blank line missing between one-line summary and description
124: D400 First line should end with '.', not 'x'
124: D205 Blank line missing between one-line summary and description
153:1: E302 expected 2 blank lines, found 1
153: D400 First line should end with '.', not 'r'
153: D205 Blank line missing between one-line summary and description
172:1: E302 expected 2 blank lines, found 1
198:5: F841 local variable 'warnings' is assigned to but never used
240:1: E302 expected 2 blank lines, found 1
240: D400 First line should end with '.', not 's'
240: D205 Blank line missing between one-line summary and description
241:25: E126 continuation line over-indented for hanging indent
274:5: E301 expected 1 blank line, found 0
274: D290 White spaces around docstring should be trimmed.
274: D400 First line should end with '.', not "'"
307:29: E126 continuation line over-indented for hanging indent
321:1: E302 expected 2 blank lines, found 1
321: D400 First line should end with '.', not 'e'
321: D205 Blank line missing between one-line summary and description
330:43: E251 unexpected spaces around keyword / parameter equals
330:45: E251 unexpected spaces around keyword / parameter equals
346: D400 First line should end with '.', not ')'
372:13: E122 continuation line missing indentation or outdented
392:38: E261 at least two spaces before inline comment
395:38: E261 at least two spaces before inline comment
437:16: E222 multiple spaces after operator
449:13: E301 expected 1 blank line, found 0
449: D290 White spaces around docstring should be trimmed.
449: D400 First line should end with '.', not "'"
464:1: E302 expected 2 blank lines, found 1
464: D205 Blank line missing between one-line summary and description
476:1: E302 expected 2 blank lines, found 1
476: D401 First line should be imperative: 'get', not 'gets'
476: D205 Blank line missing between one-line summary and description
486:1: E302 expected 2 blank lines, found 1
486: D200 One-line docstring should not occupy 3 lines
491:5: F841 local variable 'res' is assigned to but never used