1: D210 No whitespaces allowed surrounding docstring text
1: D400 First line should end with a period (not 's')
25:1: E402 module level import not at top of file
26:1: I100 Imports statements are in the wrong order. import math should be before import time
26:1: E402 module level import not at top of file
27:1: E402 module level import not at top of file
28:1: E402 module level import not at top of file
29:1: I100 Imports statements are in the wrong order. import cgi should be before import shutil
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: I201 Missing newline before sections or imports.
32:1: E402 module level import not at top of file
36:1: I101 Imported names are in the wrong order. Should be datetime_format, run_sql
36:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from six
36:1: E402 module level import not at top of file
37:1: I101 Imported names are in the wrong order. Should be CFG_COMMENTSDIR, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_WEBALERT_ALERT_ENGINE_EMAIL, CFG_WEBCOMMENT_ADMIN_NOTIFICATION_LEVEL, CFG_WEBCOMMENT_ALERT_ENGINE_EMAIL, CFG_WEBCOMMENT_ALLOW_COMMENTS, CFG_WEBCOMMENT_ALLOW_REVIEWS, CFG_WEBCOMMENT_ALLOW_SHORT_REVIEWS, CFG_WEBCOMMENT_DEFAULT_MODERATOR, CFG_WEBCOMMENT_EMAIL_REPLIES_TO, CFG_WEBCOMMENT_MAX_COMMENT_THREAD_DEPTH, CFG_WEBCOMMENT_NB_REPORTS_BEFORE_SEND_EMAIL_TO_ADMIN, CFG_WEBCOMMENT_RESTRICTION_DATAFIELD, CFG_WEBCOMMENT_ROUND_DATAFIELD, CFG_WEBCOMMENT_TIMELIMIT_PROCESSING_COMMENTS_IN_SECONDS
37:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.dbquery
37:1: E402 module level import not at top of file
56:1: E402 module level import not at top of file
59:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.mail
59:1: E402 module level import not at top of file
60:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email, get_user_info
60:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.html
60:1: E402 module level import not at top of file
61:1: I101 Imported names are in the wrong order. Should be convert_datestruct_to_datetext, convert_datetext_to_dategui, datetext_default
61:1: E402 module level import not at top of file
62:29: E126 continuation line over-indented for hanging indent
64:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.utils.date
64:1: E402 module level import not at top of file
65:1: E402 module level import not at top of file
66:1: I101 Imported names are in the wrong order. Should be gettext_set_language, wash_language
66:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.logging
66:1: E402 module level import not at top of file
67:1: E402 module level import not at top of file
68:1: I201 Missing newline before sections or imports.
68:1: E402 module level import not at top of file
71:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from .config
71:1: E402 module level import not at top of file
72:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, guess_primary_collection_of_a_record
72:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.modules.access.engine
72:1: E402 module level import not at top of file
76:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
76:1: E402 module level import not at top of file
77:1: E402 module level import not at top of file
81:1: B901 blind except: statement
85: D401 First line should be in imperative mood ('Return', not 'Returns')
85: D205 1 blank line required between summary line and description (found 0)
140:29: E271 multiple spaces after keyword
216:33: E261 at least two spaces before inline comment
217:15: E271 multiple spaces after keyword
218:49: E203 whitespace before ':'
220:49: E203 whitespace before ':'
220:51: E202 whitespace before ']'
221:14: E261 at least two spaces before inline comment
235:79: E261 at least two spaces before inline comment
242:8: E114 indentation is not a multiple of four (comment)
321:84: E502 the backslash is redundant between brackets
321:84: E251 unexpected spaces around keyword / parameter equals
323:88: E502 the backslash is redundant between brackets
323:88: E251 unexpected spaces around keyword / parameter equals
328:1: E302 expected 2 blank lines, found 1
328: D400 First line should end with a period (not 'w')
328: D205 1 blank line required between summary line and description (found 0)
354:1: E302 expected 2 blank lines, found 1
354: D210 No whitespaces allowed surrounding docstring text
354: D400 First line should end with a period (not 's')
354: D205 1 blank line required between summary line and description (found 0)
383:1: E302 expected 2 blank lines, found 1
383: D210 No whitespaces allowed surrounding docstring text
383: D400 First line should end with a period (not 's')
383: D205 1 blank line required between summary line and description (found 0)
406:1: E302 expected 2 blank lines, found 1
406: D210 No whitespaces allowed surrounding docstring text
406: D401 First line should be in imperative mood ('Check', not 'Checks')
406: D400 First line should end with a period (not 'd')
406: D205 1 blank line required between summary line and description (found 0)
428:1: E302 expected 2 blank lines, found 1
428: D400 First line should end with a period (not 'n')
428: D200 One-line docstring should fit on one line with quotes (found 3)
437:1: E302 expected 2 blank lines, found 1
437: D200 One-line docstring should fit on one line with quotes (found 3)
443:10: E222 multiple spaces after operator
445:49: E231 missing whitespace after ','
448:1: E302 expected 2 blank lines, found 1
448: D205 1 blank line required between summary line and description (found 0)
512:17: E127 continuation line over-indented for visual indent
512:18: E201 whitespace after '{'
512:44: E203 whitespace before ':'
513:44: E203 whitespace before ':'
514:44: E203 whitespace before ':'
515:44: E203 whitespace before ':'
516:44: E203 whitespace before ':'
517:44: E203 whitespace before ':'
518:80: E502 the backslash is redundant between brackets
518:44: E203 whitespace before ':'
519:47: E127 continuation line over-indented for visual indent
519:130: E502 the backslash is redundant between brackets
521:44: E203 whitespace before ':'
522:44: E203 whitespace before ':'
523:44: E203 whitespace before ':'
524:44: E203 whitespace before ':'
525:80: E502 the backslash is redundant between brackets
525:44: E203 whitespace before ':'
527:44: E203 whitespace before ':'
528:44: E203 whitespace before ':'
528:65: E225 missing whitespace around operator
528:84: E225 missing whitespace around operator
529:44: E203 whitespace before ':'
529:64: E261 at least two spaces before inline comment
529:65: E262 inline comment should start with '# '
530:17: E124 closing bracket does not match visual indentation
538:1: E302 expected 2 blank lines, found 1
538: D210 No whitespaces allowed surrounding docstring text
538: D401 First line should be in imperative mood ('Check', not 'Checks')
538: D400 First line should end with a period (not 't')
538: D205 1 blank line required between summary line and description (found 0)
560:1: E302 expected 2 blank lines, found 1
560: D400 First line should end with a period (not 'n')
560: D205 1 blank line required between summary line and description (found 0)
569:28: E127 continuation line over-indented for visual indent
570:24: E127 continuation line over-indented for visual indent
580: D400 First line should end with a period (not 'r')
580: D205 1 blank line required between summary line and description (found 0)
603:1: E302 expected 2 blank lines, found 1
603: D400 First line should end with a period (not 't')
603: D205 1 blank line required between summary line and description (found 0)
615:28: E127 continuation line over-indented for visual indent
616:24: E127 continuation line over-indented for visual indent
628:17: E225 missing whitespace around operator
633:1: E302 expected 2 blank lines, found 1
633: D400 First line should end with a period (not 't')
633: D205 1 blank line required between summary line and description (found 0)
654:1: E302 expected 2 blank lines, found 1
654: D400 First line should end with a period (not 'n')
654: D205 1 blank line required between summary line and description (found 0)
666:17: E225 missing whitespace around operator
679:1: E302 expected 2 blank lines, found 1
679: D400 First line should end with a period (not 'n')
679: D205 1 blank line required between summary line and description (found 0)
701:22: E201 whitespace after '{'
701:31: E203 whitespace before ':'
701:17: E222 multiple spaces after operator
702:31: E203 whitespace before ':'
703:31: E203 whitespace before ':'
704:31: E203 whitespace before ':'
705:31: E203 whitespace before ':'
706:31: E203 whitespace before ':'
707:21: E124 closing bracket does not match visual indentation
713:9: B901 blind except: statement
723:5: B901 blind except: statement
730:24: E127 continuation line over-indented for visual indent
731:24: E127 continuation line over-indented for visual indent
745:38: E203 whitespace before ':'
746:23: E122 continuation line missing indentation or outdented
746:38: E203 whitespace before ':'
747:1: E128 continuation line under-indented for visual indent
748:1: E128 continuation line under-indented for visual indent
749:23: E122 continuation line missing indentation or outdented
749:38: E203 whitespace before ':'
750:16: E128 continuation line under-indented for visual indent
751:16: E128 continuation line under-indented for visual indent
820:1: E302 expected 2 blank lines, found 1
820: D401 First line should be in imperative mood ('Return', not 'Returns')
820: D400 First line should end with a period (not 'm')
820: D205 1 blank line required between summary line and description (found 0)
852:1: E302 expected 2 blank lines, found 1
852: D400 First line should end with a period (not 'o')
852: D205 1 blank line required between summary line and description (found 0)
860:1: E302 expected 2 blank lines, found 1
860: D400 First line should end with a period (not 'n')
860: D205 1 blank line required between summary line and description (found 0)
885:5: F841 local variable 'msg_original' is assigned to but never used
971: D400 First line should end with a period (not 'd')
971: D205 1 blank line required between summary line and description (found 0)
982:35: E127 continuation line over-indented for visual indent
1000:1: E302 expected 2 blank lines, found 1
1000: D400 First line should end with a period (not 'r')
1000: D205 1 blank line required between summary line and description (found 0)
1015:9: B901 blind except: statement
1021:1: E302 expected 2 blank lines, found 1
1021: D401 First line should be in imperative mood ('Return', not 'Returns')
1021: D400 First line should end with a period (not ')')
1033:134: E502 the backslash is redundant between brackets
1033:36: E225 missing whitespace around operator
1033:55: E225 missing whitespace around operator
1038:1: E302 expected 2 blank lines, found 1
1038: D400 First line should end with a period (not 's')
1038: D205 1 blank line required between summary line and description (found 0)
1052:5: B901 blind except: statement
1056:1: E302 expected 2 blank lines, found 1
1070:5: B901 blind except: statement
1076:1: E302 expected 2 blank lines, found 1
1076: D401 First line should be in imperative mood ('Return', not 'Returns')
1076: D400 First line should end with a period (not 's')
1076: D205 1 blank line required between summary line and description (found 0)
1098:1: E302 expected 2 blank lines, found 1
1098: D401 First line should be in imperative mood ('Return', not 'Returns')
1141:21: F821 undefined name 'get_collection_reclist'
1146:24: E713 test for membership should be 'not in'
1148:58: E502 the backslash is redundant between brackets
1153:49: E502 the backslash is redundant between brackets
1155:49: E502 the backslash is redundant between brackets
1156:72: E202 whitespace before ')'
1158:1: E302 expected 2 blank lines, found 1
1158: D205 1 blank line required between summary line and description (found 0)
1205:25: E126 continuation line over-indented for hanging indent
1209:25: E126 continuation line over-indented for hanging indent
1276:1: E302 expected 2 blank lines, found 1
1276: D401 First line should be in imperative mood ('Return', not 'Returns')
1276: D400 First line should end with a period (not 'd')
1276: D205 1 blank line required between summary line and description (found 0)
1296:21: F821 undefined name 'get_collection_reclist'
1307:21: F821 undefined name 'get_collection_reclist'
1315:1: E302 expected 2 blank lines, found 1
1315: D400 First line should end with a period (not 'n')
1315: D205 1 blank line required between summary line and description (found 0)
1334:22: E231 missing whitespace after ':'
1334:29: E231 missing whitespace after ':'
1334:36: E231 missing whitespace after ':'
1334:43: E231 missing whitespace after ':'
1338:5: B901 blind except: statement
1377:1: E302 expected 2 blank lines, found 1
1377: D401 First line should be in imperative mood ('Get', not 'Gets')
1377: D205 1 blank line required between summary line and description (found 0)
1403:5: E266 too many leading '#' for block comment
1406:19: E261 at least two spaces before inline comment
1406:20: E262 inline comment should start with '# '
1411:13: E266 too many leading '#' for block comment
1420:13: E266 too many leading '#' for block comment
1425:10: E261 at least two spaces before inline comment
1425:11: E262 inline comment should start with '# '
1451:42: E261 at least two spaces before inline comment
1455:45: E261 at least two spaces before inline comment
1479:1: E302 expected 2 blank lines, found 1
1479: D400 First line should end with a period (not 'g')
1479: D200 One-line docstring should fit on one line with quotes (found 3)
1491:70: E502 the backslash is redundant between brackets
1492:17: F812 list comprehension redefines 'comment_round_name' from line 1486
1494:1: E302 expected 2 blank lines, found 1
1494: D400 First line should end with a period (not 'n')
1494: D205 1 blank line required between summary line and description (found 0)
1508:21: E222 multiple spaces after operator
1522:1: E302 expected 2 blank lines, found 1
1522: D400 First line should end with a period (not 'k')
1522: D205 1 blank line required between summary line and description (found 0)
1568:5: F841 local variable 'actions' is assigned to but never used
1571:5: E266 too many leading '#' for block comment
1625:67: E225 missing whitespace around operator
1752:1: E302 expected 2 blank lines, found 1
1752: D401 First line should be in imperative mood ('Send', not 'Sends')
1752: D400 First line should end with a period (not 'D')
1752: D200 One-line docstring should fit on one line with quotes (found 3)
1774:28: F841 local variable 'last_login' is assigned to but never used
1783:5: B901 blind except: statement
1810:10: E201 whitespace after '{'
1810:36: E203 whitespace before ':'
1810:51: E222 multiple spaces after operator
1812:36: E203 whitespace before ':'
1812:51: E222 multiple spaces after operator
1813:36: E203 whitespace before ':'
1814:36: E203 whitespace before ':'
1815:36: E203 whitespace before ':'
1816:36: E203 whitespace before ':'
1817:36: E203 whitespace before ':'
1818:36: E203 whitespace before ':'
1819:36: E203 whitespace before ':'
1820:36: E203 whitespace before ':'
1821:36: E203 whitespace before ':'
1821:60: E231 missing whitespace after ','
1822:36: E203 whitespace before ':'
1823:37: E203 whitespace before ':'
1824:36: E203 whitespace before ':'
1825:9: E124 closing bracket does not match visual indentation
1839:1: E302 expected 2 blank lines, found 1
1839: D400 First line should end with a period (not '0')
1839: D205 1 blank line required between summary line and description (found 0)
1851:5: B901 blind except: statement
1859:26: E231 missing whitespace after ','
1898:1: E302 expected 2 blank lines, found 1
1898: D202 No blank lines allowed after function docstring (found 1)
1898: D400 First line should end with a period (not 'e')
1898: D205 1 blank line required between summary line and description (found 0)
1940:1: E302 expected 2 blank lines, found 1
1940: D401 First line should be in imperative mood ('Return', not 'Returns')
1940: D400 First line should end with a period (not 'e')
1940: D205 1 blank line required between summary line and description (found 0)
1959:1: E302 expected 2 blank lines, found 1
1959: D400 First line should end with a period (not 'n')
1959: D205 1 blank line required between summary line and description (found 0)
1971:5: E266 too many leading '#' for block comment
1972:5: E266 too many leading '#' for block comment
1976:1: E302 expected 2 blank lines, found 1
1976: D400 First line should end with a period (not ',')
1976: D205 1 blank line required between summary line and description (found 0)
1997:15: E271 multiple spaces after keyword
2000:1: E302 expected 2 blank lines, found 1
2000: D400 First line should end with a period (not 'n')
2000: D205 1 blank line required between summary line and description (found 0)
2007:5: E266 too many leading '#' for block comment
2011:1: E302 expected 2 blank lines, found 1
2011: D400 First line should end with a period (not 'e')
2011: D205 1 blank line required between summary line and description (found 0)
2027:1: E302 expected 2 blank lines, found 1
2027: D400 First line should end with a period (not 's')
2027: D205 1 blank line required between summary line and description (found 0)
2034:5: E266 too many leading '#' for block comment
2035:5: E266 too many leading '#' for block comment
2039:1: E302 expected 2 blank lines, found 1
2039: D400 First line should end with a period (not 'e')
2039: D205 1 blank line required between summary line and description (found 0)
2082:1: E302 expected 2 blank lines, found 1
2082: D400 First line should end with a period (not 'e')
2082: D200 One-line docstring should fit on one line with quotes (found 3)
2094:1: E302 expected 2 blank lines, found 1
2094: D400 First line should end with a period (not 'e')
2108:1: E302 expected 2 blank lines, found 1
2143:120: E502 the backslash is redundant between brackets
2147:141: E502 the backslash is redundant between brackets
2150:131: E502 the backslash is redundant between brackets
2156:12: E127 continuation line over-indented for visual indent
2183:5: E303 too many blank lines (2)


1: D400 First line should end with a period (not 'e')
4: L102 copyright year is outdated, expected 2015 but got 2011
23:1: I100 Imports statements are in the wrong order. from pprint should be before from string
24:1: I100 Imports statements are in the wrong order. import os should be before from pprint
29:1: I101 Imported names are in the wrong order. Should be task_low_level_submission, task_update_progress, write_message
30:30: E126 continuation line over-indented for hanging indent
34:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.legacy.bibsched.bibtask
35:1: I101 Imported names are in the wrong order. Should be assure_quality, encode_video
38:41: E126 continuation line over-indented for hanging indent
42:1: I100 Imports statements are in the wrong order. from invenio.modules.encoder.metadata should be before from invenio.modules.encoder.utils
43:41: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be chose2, generate_timestamp, getval
45:1: F999 redefinition of unused 'chose2' from line 41
46:1: I101 Imported names are in the wrong order. Should be CFG_BIBENCODE_ASPECT_RATIO_MARC_FIELD, CFG_BIBENCODE_DAEMON_DIR_NEWJOBS, CFG_BIBENCODE_PBCORE_MARC_XSLT
46:1: I100 Imports statements are in the wrong order. from invenio.modules.encoder.config should be before from invenio.modules.encoder.utils
47:39: E126 continuation line over-indented for hanging indent
51:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.modules.encoder.config
52:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.email
55:1: I100 Imports statements are in the wrong order. import invenio.config should be before from invenio.utils.json
65:1: E302 expected 2 blank lines, found 1
65: D401 First line should be in imperative mood ('Send', not 'Sends')
65: D400 First line should end with a period (not 'g')
65: D205 1 blank line required between summary line and description (found 0)
76:13: E128 continuation line under-indented for visual indent
77:13: E128 continuation line under-indented for visual indent
78:13: E128 continuation line under-indented for visual indent
79:13: E128 continuation line under-indented for visual indent
80:13: E128 continuation line under-indented for visual indent
82:14: E128 continuation line under-indented for visual indent
90:1: E302 expected 2 blank lines, found 1
90: D401 First line should be in imperative mood ('Send', not 'Sends')
90: D205 1 blank line required between summary line and description (found 0)
108:13: E128 continuation line under-indented for visual indent
109:13: E128 continuation line under-indented for visual indent
118:13: E128 continuation line under-indented for visual indent
119:13: E128 continuation line under-indented for visual indent
121:14: E128 continuation line under-indented for visual indent
122:14: E128 continuation line under-indented for visual indent
123:14: E128 continuation line under-indented for visual indent
126:14: E128 continuation line under-indented for visual indent
127:14: E128 continuation line under-indented for visual indent
128:14: E128 continuation line under-indented for visual indent
136:1: E302 expected 2 blank lines, found 1
136: D401 First line should be in imperative mood ('Send', not 'Sends')
136: D205 1 blank line required between summary line and description (found 0)
152:13: E128 continuation line under-indented for visual indent
153:13: E126 continuation line over-indented for hanging indent
159:13: E128 continuation line under-indented for visual indent
160:13: E128 continuation line under-indented for visual indent
162:14: E128 continuation line under-indented for visual indent
163:14: E128 continuation line under-indented for visual indent
164:14: E128 continuation line under-indented for visual indent
167:14: E128 continuation line under-indented for visual indent
168:14: E128 continuation line under-indented for visual indent
169:14: E128 continuation line under-indented for visual indent
177:1: E302 expected 2 blank lines, found 1
177: D210 No whitespaces allowed surrounding docstring text
177: D401 First line should be in imperative mood ('Generate', not 'Generates')
177: D205 1 blank line required between summary line and description (found 0)
177: D208 Docstring is over-indented
188:1: E302 expected 2 blank lines, found 1
188: D210 No whitespaces allowed surrounding docstring text
188: D401 First line should be in imperative mood ('Store', not 'Stores')
188: D400 First line should end with a period (not 's')
188: D205 1 blank line required between summary line and description (found 0)
188: D208 Docstring is over-indented
197:1: E302 expected 2 blank lines, found 1
197: D401 First line should be in imperative mood ('Remove', not 'Removes')
197: D400 First line should end with a period (not 'r')
197: D205 1 blank line required between summary line and description (found 0)
221:25: E128 continuation line under-indented for visual indent
222:25: E128 continuation line under-indented for visual indent
223:25: E128 continuation line under-indented for visual indent
224:25: E128 continuation line under-indented for visual indent
238:1: E302 expected 2 blank lines, found 1
238: D210 No whitespaces allowed surrounding docstring text
238: D401 First line should be in imperative mood ('Create', not 'Creates')
238: D400 First line should end with a period (not 'n')
238: D205 1 blank line required between summary line and description (found 0)
239:29: E126 continuation line over-indented for hanging indent
255:1: E302 expected 2 blank lines, found 1
255: D210 No whitespaces allowed surrounding docstring text
255: D401 First line should be in imperative mood ('Create', not 'Creates')
255: D400 First line should end with a period (not 'a')
255: D205 1 blank line required between summary line and description (found 0)
273:1: E302 expected 2 blank lines, found 1
273: D210 No whitespaces allowed surrounding docstring text
273: D401 First line should be in imperative mood ('Create', not 'Creates')
273: D400 First line should end with a period (not 's')
273: D205 1 blank line required between summary line and description (found 0)
296:1: E302 expected 2 blank lines, found 1
296: D210 No whitespaces allowed surrounding docstring text
296: D401 First line should be in imperative mood ('Create', not 'Creates')
296: D400 First line should end with a period (not 'y')
296: D205 1 blank line required between summary line and description (found 0)
297:21: E126 continuation line over-indented for hanging indent
319:1: E302 expected 2 blank lines, found 1
319: D210 No whitespaces allowed surrounding docstring text
319: D401 First line should be in imperative mood ('Check', not 'Checks')
319: D400 First line should end with a period (not 'y')
319: D205 1 blank line required between summary line and description (found 0)
325: D210 No whitespaces allowed surrounding docstring text
325: D401 First line should be in imperative mood ('Sanitize', not 'Sanitizes')
325: D400 First line should end with a period (not 's')
325: D200 One-line docstring should fit on one line with quotes (found 2)
354:5: E129 visually indented line with same indent as next logical line
356:21: E128 continuation line under-indented for visual indent
372:1: E302 expected 2 blank lines, found 1
372: D210 No whitespaces allowed surrounding docstring text
372: D401 First line should be in imperative mood ('Processe', not 'Processes')
372: D400 First line should end with a period (not 'y')
382: D210 No whitespaces allowed surrounding docstring text
382: D401 First line should be in imperative mood ('Create', not 'Creates')
382: D400 First line should end with a period (not 'd')
382: D200 One-line docstring should fit on one line with quotes (found 2)
385:36: E225 missing whitespace around operator
399:5: E266 too many leading '#' for block comment
402:5: E266 too many leading '#' for block comment
405:5: E266 too many leading '#' for block comment
415:5: E266 too many leading '#' for block comment
430:21: E129 visually indented line with same indent as next logical line
433:21: E266 too many leading '#' for block comment
435:25: E266 too many leading '#' for block comment
436:47: F821 undefined name 'get_fieldvalues'
444:27: E128 continuation line under-indented for visual indent
447:13: E266 too many leading '#' for block comment
450:5: E266 too many leading '#' for block comment
457:5: E266 too many leading '#' for block comment
465:5: E266 too many leading '#' for block comment
468:5: E266 too many leading '#' for block comment
472:5: E266 too many leading '#' for block comment
480:13: E266 too many leading '#' for block comment
481:13: E266 too many leading '#' for block comment
482:13: E266 too many leading '#' for block comment
483:13: E266 too many leading '#' for block comment
485:27: E128 continuation line under-indented for visual indent
487:37: E126 continuation line over-indented for hanging indent
490:13: E266 too many leading '#' for block comment
491:13: E266 too many leading '#' for block comment
495:21: E126 continuation line over-indented for hanging indent
512:28: E128 continuation line under-indented for visual indent
514:9: E266 too many leading '#' for block comment
524:13: E266 too many leading '#' for block comment
532:13: E266 too many leading '#' for block comment
537:13: E266 too many leading '#' for block comment
540:13: E266 too many leading '#' for block comment
541:13: E266 too many leading '#' for block comment
543:50: E126 continuation line over-indented for hanging indent
550:13: E266 too many leading '#' for block comment
552:18: E126 continuation line over-indented for hanging indent
566:53: E261 at least two spaces before inline comment
572:13: E266 too many leading '#' for block comment
573:15: E271 multiple spaces after keyword
574:17: E266 too many leading '#' for block comment
589:47: E127 continuation line over-indented for visual indent
615:25: W503 line break before binary operator
616:25: E128 continuation line under-indented for visual indent
618:28: E128 continuation line under-indented for visual indent
619:28: E128 continuation line under-indented for visual indent
620:28: E126 continuation line over-indented for hanging indent
630:13: E266 too many leading '#' for block comment
632:17: E266 too many leading '#' for block comment
633:17: E266 too many leading '#' for block comment
636:21: E266 too many leading '#' for block comment
637:21: E266 too many leading '#' for block comment
640:21: E266 too many leading '#' for block comment
643:21: E266 too many leading '#' for block comment
647:21: E266 too many leading '#' for block comment
651:21: E266 too many leading '#' for block comment
652:21: E266 too many leading '#' for block comment
656:35: E128 continuation line under-indented for visual indent
659:37: E126 continuation line over-indented for hanging indent
664:13: E266 too many leading '#' for block comment
676:5: E266 too many leading '#' for block comment
680:5: E266 too many leading '#' for block comment
685:9: E266 too many leading '#' for block comment
698:44: E251 unexpected spaces around keyword / parameter equals
698:46: E251 unexpected spaces around keyword / parameter equals
699:50: E251 unexpected spaces around keyword / parameter equals
699:52: E251 unexpected spaces around keyword / parameter equals
700:49: E251 unexpected spaces around keyword / parameter equals
700:51: E251 unexpected spaces around keyword / parameter equals
734:5: E266 too many leading '#' for block comment
744:55: E721 do not compare types, use 'isinstance()'
744:69: E202 whitespace before ')'
754:32: E128 continuation line under-indented for visual indent
755:32: E128 continuation line under-indented for visual indent
756:32: E128 continuation line under-indented for visual indent
758:1: W391 blank line at end of file


22:1: F401 'cgi' imported but unused
23:1: F401 'os' imported but unused
27:1: F401 'HTMLParseError' imported but unused
29:1: F401 'current_app' imported but unused
30:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from werkzeug.utils
33:1: F401 'wash_language' imported but unused
33:1: F401 'gettext_set_language' imported but unused
35:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused
38:1: F401 'register_exception' imported but unused
40:1: F401 'record_get_field_value' imported but unused
40:1: F401 'record_get_field_values' imported but unused
40:1: F401 'record_get_field_instances' imported but unused
40:1: F401 'record_empty' imported but unused
40:1: F401 'record_xml_output' imported but unused
40:1: F401 'create_record' imported but unused
43:1: F401 'acc_authorize_action' imported but unused
45:1: F401 'parse_tag' imported but unused
46:1: F401 'get_kbr_values' imported but unused
47:1: F401 'CFG_HTML_BUFFER_ALLOWED_TAG_WHITELIST' imported but unused
47:1: F401 'CFG_HTML_BUFFER_ALLOWED_ATTRIBUTE_WHITELIST' imported but unused
51:1: F401 'CFG_BIBFORMAT_FORMAT_JINJA_TEMPLATE_EXTENSION' imported but unused
51:1: F401 'CFG_BIBFORMAT_OUTPUTS_PATH' imported but unused
51:1: F401 'CFG_BIBFORMAT_FORMAT_TEMPLATE_EXTENSION' imported but unused
51:1: F401 'CFG_BIBFORMAT_TEMPLATES_DIR' imported but unused
51:1: F401 'CFG_BIBFORMAT_FORMAT_OUTPUT_EXTENSION' imported but unused
55:1: F401 'xslt' imported but unused
61:27: E261 at least two spaces before inline comment
62:28: E114 indentation is not a multiple of four (comment)
62:28: E116 unexpected indentation (comment)
63:28: E114 indentation is not a multiple of four (comment)
63:28: E116 unexpected indentation (comment)
64:28: E114 indentation is not a multiple of four (comment)
64:28: E116 unexpected indentation (comment)
67:28: E114 indentation is not a multiple of four (comment)
67:28: E116 unexpected indentation (comment)
81:33: E225 missing whitespace around operator
166:1: E731 do not assign a lambda expression, use a def
169: D203 1 blank line required before class docstring (found 0)
173: D401 First line should be in imperative mood ('Return', not 'Returns')
173: D400 First line should end with a period (not 's')
253: D401 First line should be in imperative mood ('Filter', not 'Filters')
263: D401 First line should be in imperative mood ('Searche', not 'Searches')
263: D400 First line should end with a period (not 's')
263: D205 1 blank line required between summary line and description (found 0)
289:9: E303 too many blank lines (2)
303:5: E303 too many blank lines (2)


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


2: L102 copyright year is outdated, expected 2015 but got 2012
22:1: I101 Imported names are in the wrong order. Should be error_page, page
22:1: I201 Missing newline before sections or imports.
24:1: I101 Imported names are in the wrong order. Should be gettext_set_language, wash_language
24:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webuser
26:1: I101 Imported names are in the wrong order. Should be CFG_BINDIR, CFG_ETCDIR, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_SECURE_URL
26:1: F401 'CFG_SITE_NAME' imported but unused
27:28: E126 continuation line over-indented for hanging indent
32: D401 First line should be in imperative mood ('check', not 'checks')
32: D400 First line should end with a period (not ')')
38:5: B901 blind except: statement
40:29: F821 undefined name 'check_user'
47: D205 1 blank line required between summary line and description (found 0)
59:17: E128 continuation line under-indented for visual indent
60:17: E128 continuation line under-indented for visual indent
61:17: E128 continuation line under-indented for visual indent
62:17: E128 continuation line under-indented for visual indent
62:25: E251 unexpected spaces around keyword / parameter equals
62:27: E251 unexpected spaces around keyword / parameter equals
63:17: E128 continuation line under-indented for visual indent
64:17: E128 continuation line under-indented for visual indent
65:17: E128 continuation line under-indented for visual indent
71: D210 No whitespaces allowed surrounding docstring text
71: D401 First line should be in imperative mood ('make', not 'makes')
71: D209 Multi-line docstring closing quotes should be on a separate line
71: D205 1 blank line required between summary line and description (found 0)
71: D208 Docstring is over-indented
80:15: E271 multiple spaces after keyword
82:15: E271 multiple spaces after keyword
90:18: E261 at least two spaces before inline comment
90:19: E262 inline comment should start with '# '
112:37: E201 whitespace after '{'
115:39: E127 continuation line over-indented for visual indent
115:104: E202 whitespace before '}'
118:73: E261 at least two spaces before inline comment
118:74: E262 inline comment should start with '# '
147:1: E302 expected 2 blank lines, found 1
147: D400 First line should end with a period (not 'm')
169:13: F841 local variable 'outstr' is assigned to but never used
171:9: B901 blind except: statement
181:17: E128 continuation line under-indented for visual indent
181:22: E251 unexpected spaces around keyword / parameter equals
182:17: E128 continuation line under-indented for visual indent
182:26: E251 unexpected spaces around keyword / parameter equals
183:17: E128 continuation line under-indented for visual indent
184:17: E128 continuation line under-indented for visual indent
184:25: E251 unexpected spaces around keyword / parameter equals
184:27: E251 unexpected spaces around keyword / parameter equals
185:17: E128 continuation line under-indented for visual indent
186:17: E128 continuation line under-indented for visual indent
187:17: E128 continuation line under-indented for visual indent
189:1: E302 expected 2 blank lines, found 1
189: D210 No whitespaces allowed surrounding docstring text
189: D401 First line should be in imperative mood ('create', not 'creates')
189: D209 Multi-line docstring closing quotes should be on a separate line
189: D400 First line should end with a period (not 'o')
189: D205 1 blank line required between summary line and description (found 0)
189: D208 Docstring is over-indented
218:9: E303 too many blank lines (2)
240:17: E128 continuation line under-indented for visual indent
240:22: E251 unexpected spaces around keyword / parameter equals
241:17: E128 continuation line under-indented for visual indent
241:26: E251 unexpected spaces around keyword / parameter equals
242:17: E128 continuation line under-indented for visual indent
243:17: E128 continuation line under-indented for visual indent
243:25: E251 unexpected spaces around keyword / parameter equals
243:27: E251 unexpected spaces around keyword / parameter equals
244:17: E128 continuation line under-indented for visual indent
245:17: E128 continuation line under-indented for visual indent
246:17: E128 continuation line under-indented for visual indent
247:10: E261 at least two spaces before inline comment
247:11: E262 inline comment should start with '# '
250:1: E302 expected 2 blank lines, found 1
250: D401 First line should be in imperative mood ('save', not 'saves')
250: D400 First line should end with a period (not 'e')
279:17: E128 continuation line under-indented for visual indent
279:22: E251 unexpected spaces around keyword / parameter equals
280:17: E128 continuation line under-indented for visual indent
280:26: E251 unexpected spaces around keyword / parameter equals
281:17: E128 continuation line under-indented for visual indent
282:17: E128 continuation line under-indented for visual indent
282:25: E251 unexpected spaces around keyword / parameter equals
282:27: E251 unexpected spaces around keyword / parameter equals
283:17: E128 continuation line under-indented for visual indent
284:17: E128 continuation line under-indented for visual indent
285:17: E128 continuation line under-indented for visual indent
289:1: E302 expected 2 blank lines, found 1
289: D400 First line should end with a period (not 'e')
308:9: B901 blind except: statement
316:17: E128 continuation line under-indented for visual indent
316:22: E251 unexpected spaces around keyword / parameter equals
317:17: E128 continuation line under-indented for visual indent
317:26: E251 unexpected spaces around keyword / parameter equals
318:17: E128 continuation line under-indented for visual indent
319:17: E128 continuation line under-indented for visual indent
319:25: E251 unexpected spaces around keyword / parameter equals
319:27: E251 unexpected spaces around keyword / parameter equals
320:17: E128 continuation line under-indented for visual indent
321:17: E128 continuation line under-indented for visual indent
322:17: E128 continuation line under-indented for visual indent


1: D210 No whitespaces allowed surrounding docstring text
1: D400 First line should end with a period (not 'n')
4: L102 copyright year is outdated, expected 2015 but got 2013
24:1: E402 module level import not at top of file
25:1: E402 module level import not at top of file
26:1: E402 module level import not at top of file
27:1: E402 module level import not at top of file
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.utils.url
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.text
33:1: E402 module level import not at top of file
34:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_URL, CFG_TMPDIR
34:1: E402 module level import not at top of file
36:1: E402 module level import not at top of file
37:1: I101 Imported names are in the wrong order. Should be CFG_BIBCIRCULATION_HOLIDAYS, CFG_BIBCIRCULATION_ITEM_STATUS_IN_PROCESS, CFG_BIBCIRCULATION_ITEM_STATUS_ON_LOAN, CFG_BIBCIRCULATION_ITEM_STATUS_ON_SHELF, CFG_BIBCIRCULATION_LOAN_STATUS_EXPIRED, CFG_BIBCIRCULATION_LOAN_STATUS_ON_LOAN, CFG_BIBCIRCULATION_LOAN_STATUS_RETURNED, CFG_BIBCIRCULATION_REQUEST_STATUS_PENDING, CFG_BIBCIRCULATION_REQUEST_STATUS_WAITING, CFG_BIBCIRCULATION_WORKING_DAYS, CFG_CERN_SITE
37:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.config should be before import invenio.legacy.bibcirculation.db_layer
37:1: E402 module level import not at top of file
38:33: E126 continuation line over-indented for hanging indent
53:1: E302 expected 2 blank lines, found 1
53: D103 Missing docstring in public function
64:17: B901 blind except: statement
69:17: B901 blind except: statement
74:22: E126 continuation line over-indented for hanging indent
116:37: E128 continuation line under-indented for visual indent
117:21: B901 blind except: statement
131:1: E302 expected 2 blank lines, found 1
131: D103 Missing docstring in public function
142:17: E221 multiple spaces before operator
144:17: E221 multiple spaces before operator
146:18: E221 multiple spaces before operator
148:18: E221 multiple spaces before operator
150:18: E221 multiple spaces before operator
152:18: E221 multiple spaces before operator
165:1: E302 expected 2 blank lines, found 1
165: D202 No blank lines allowed after function docstring (found 1)
184:14: E225 missing whitespace around operator
190:5: B901 blind except: statement
195:1: E302 expected 2 blank lines, found 1
195: D400 First line should end with a period (not 'C')
206:15: E221 multiple spaces before operator
208:14: E221 multiple spaces before operator
208:18: E222 multiple spaces after operator
211:5: E303 too many blank lines (2)
226:64: E502 the backslash is redundant between brackets
231:1: E302 expected 2 blank lines, found 1
231: D202 No blank lines allowed after function docstring (found 1)
231: D400 First line should end with a period (not 'C')
241:18: F821 undefined name 'get_field_tags'
255:1: E302 expected 2 blank lines, found 1
255: D202 No blank lines allowed after function docstring (found 1)
270:1: E302 expected 2 blank lines, found 1
270: D202 No blank lines allowed after function docstring (found 1)
270: D400 First line should end with a period (not 'y')
288:65: E127 continuation line over-indented for visual indent
292:1: E302 expected 2 blank lines, found 1
292: D202 No blank lines allowed after function docstring (found 1)
325:1: E302 expected 2 blank lines, found 1
325: D202 No blank lines allowed after function docstring (found 1)
325: D400 First line should end with a period (not 'd')
344:1: E302 expected 2 blank lines, found 1
344: D202 No blank lines allowed after function docstring (found 1)
344: D400 First line should end with a period (not 'r')
344: D205 1 blank line required between summary line and description (found 0)
359: D202 No blank lines allowed after function docstring (found 1)
359: D400 First line should end with a period (not 't')
359: D205 1 blank line required between summary line and description (found 0)
372:18: E127 continuation line over-indented for visual indent
486:1: E302 expected 2 blank lines, found 1
486: D202 No blank lines allowed after function docstring (found 1)
486: D400 First line should end with a period (not 'l')
486: D205 1 blank line required between summary line and description (found 0)
578:1: E302 expected 2 blank lines, found 1
578: D202 No blank lines allowed after function docstring (found 1)
578: D400 First line should end with a period (not 'a')
578: D205 1 blank line required between summary line and description (found 0)
589:64: E502 the backslash is redundant between brackets
592:65: E502 the backslash is redundant between brackets
593:65: E502 the backslash is redundant between brackets
603: D202 No blank lines allowed after function docstring (found 1)
622:5: E303 too many blank lines (2)
625: D202 No blank lines allowed after function docstring (found 1)
625: D400 First line should end with a period (not 'y')
640:1: E302 expected 2 blank lines, found 1
640: D202 No blank lines allowed after function docstring (found 1)
640: D400 First line should end with a period (not 't')
659:1: E302 expected 2 blank lines, found 1
659: D202 No blank lines allowed after function docstring (found 1)
659: D400 First line should end with a period (not 'd')
716: D202 No blank lines allowed after function docstring (found 1)
739:1: E302 expected 2 blank lines, found 1
739: D202 No blank lines allowed after function docstring (found 1)
739: D400 First line should end with a period (not 'g')
751:22: E711 comparison to None should be 'if cond is None:'
783:1: E302 expected 2 blank lines, found 1
783: D202 No blank lines allowed after function docstring (found 1)
805:23: E128 continuation line under-indented for visual indent
809:1: E302 expected 2 blank lines, found 1
809: D103 Missing docstring in public function
811:69: E128 continuation line under-indented for visual indent
814:1: E302 expected 2 blank lines, found 1
814: D103 Missing docstring in public function
821:1: E302 expected 2 blank lines, found 1
821: D103 Missing docstring in public function
827:37: E128 continuation line under-indented for visual indent
846:37: E128 continuation line under-indented for visual indent
857:37: E128 continuation line under-indented for visual indent
865:1: E302 expected 2 blank lines, found 1
865: D103 Missing docstring in public function
874:1: E302 expected 2 blank lines, found 1
874: D103 Missing docstring in public function
892:1: E302 expected 2 blank lines, found 1
892: D103 Missing docstring in public function
902: D103 Missing docstring in public function
914:25: E127 continuation line over-indented for visual indent
915:25: E127 continuation line over-indented for visual indent
916:25: E127 continuation line over-indented for visual indent
924:25: E127 continuation line over-indented for visual indent
925:25: E127 continuation line over-indented for visual indent
948:1: E302 expected 2 blank lines, found 1
948: D103 Missing docstring in public function


1: D100 Missing docstring in public module
21:1: I100 Imports statements are in the wrong order. import shutil should be before import time
25:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBSUBMIT_STORAGEDIR
25:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
26:6: E126 continuation line over-indented for hanging indent
35:6: E126 continuation line over-indented for hanging indent
39:1: I100 Imports statements are in the wrong order. from invenio.modules.access.local_config should be before from invenio.utils
41:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from invenio.modules.access.mailcookie
42:1: I100 Imports statements are in the wrong order. from invenio.modules.access.control should be before from invenio.modules.access.engine
43:1: I201 Missing newline before sections or imports.
44:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio_records.api
44:1: I201 Missing newline before sections or imports.
45:1: I101 Imported names are in the wrong order. Should be page, pagefooteronly, pageheaderonly, warning_page, write_warning
47:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, isUserSuperAdmin, page_not_authorized
48:29: E126 continuation line over-indented for hanging indent
49:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
49:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.webuser
51:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.url
52:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, create_navtrail_links, guess_primary_collection_of_a_record, record_exists
53:6: E126 continuation line over-indented for hanging indent
56:1: I101 Imported names are in the wrong order. Should be BibDoc, BibRecDocs, InvenioBibDocFileError, file_strip_ext, get_subformat_from_format, normalize_format, stream_restricted_icon
56:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio_records.access
56:1: I201 Missing newline before sections or imports.
59:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.bibdocfile.api
62:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.collections.models
67:1: I101 Imported names are in the wrong order. Should be create_file_upload_interface, get_upload_file_interface_css, get_upload_file_interface_javascript, move_uploaded_files_to_storage
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.managedocfiles should be before import invenio.legacy.template
67:1: E402 module level import not at top of file
68:6: E126 continuation line over-indented for hanging indent
74: D101 Missing docstring in public class
76: D102 Missing docstring in public method
112:90: E203 whitespace before ':'
114:29: E127 continuation line over-indented for visual indent
114:94: E502 the backslash is redundant between brackets
114:75: E203 whitespace before ':'
114:91: E203 whitespace before ':'
118:56: E502 the backslash is redundant between brackets
119:45: E127 continuation line over-indented for visual indent
119:49: E251 unexpected spaces around keyword / parameter equals
119:51: E251 unexpected spaces around keyword / parameter equals
148:17: E266 too many leading '#' for block comment
149:17: E266 too many leading '#' for block comment
167:13: E266 too many leading '#' for block comment
191:37: E266 too many leading '#' for block comment
192:37: E266 too many leading '#' for block comment
195:45: E128 continuation line under-indented for visual indent
202:107: E203 whitespace before ':'
204:37: E122 continuation line missing indentation or outdented
204:102: E502 the backslash is redundant between brackets
204:83: E203 whitespace before ':'
204:99: E203 whitespace before ':'
205:41: E128 continuation line under-indented for visual indent
266:25: E128 continuation line under-indented for visual indent
266:79: E502 the backslash is redundant between brackets
267:41: E127 continuation line over-indented for visual indent
268:54: E502 the backslash is redundant between brackets
269:25: E128 continuation line under-indented for visual indent
271:25: E126 continuation line over-indented for hanging indent
278:25: E127 continuation line over-indented for visual indent
279:25: E127 continuation line over-indented for visual indent
280:25: E127 continuation line over-indented for visual indent
281:25: E127 continuation line over-indented for visual indent
284: D400 First line should end with a period (not 't')
284: D205 1 blank line required between summary line and description (found 0)
284: D208 Docstring is over-indented
296:1: E302 expected 2 blank lines, found 1
296: D210 No whitespaces allowed surrounding docstring text
296: D202 No blank lines allowed after function docstring (found 1)
296: D400 First line should end with a period (not 's')
305:13: E203 whitespace before ':'
312:13: E266 too many leading '#' for block comment
324:17: E266 too many leading '#' for block comment
339: D101 Missing docstring in public class
343: D400 First line should end with a period (not 'd')
343: D200 One-line docstring should fit on one line with quotes (found 3)
364:22: E126 continuation line over-indented for hanging indent
364:50: E203 whitespace before ':'
365:55: E203 whitespace before ':'
375:9: E122 continuation line missing indentation or outdented
428:96: E128 continuation line under-indented for visual indent
439:50: E502 the backslash is redundant between brackets
459:5: E128 continuation line under-indented for visual indent
467:26: E251 unexpected spaces around keyword / parameter equals
467:28: E251 unexpected spaces around keyword / parameter equals
470:111: E502 the backslash is redundant between brackets
470:34: E251 unexpected spaces around keyword / parameter equals
470:36: E251 unexpected spaces around keyword / parameter equals
471:37: E127 continuation line over-indented for visual indent
472:25: E251 unexpected spaces around keyword / parameter equals
472:27: E251 unexpected spaces around keyword / parameter equals
473:24: E251 unexpected spaces around keyword / parameter equals
473:26: E251 unexpected spaces around keyword / parameter equals
478: D202 No blank lines allowed after function docstring (found 1)
478: D400 First line should end with a period (not 'e')
478: D300 Use """triple double quotes""" (found '-quotes)
493:16: E127 continuation line over-indented for visual indent
497:35: E128 continuation line under-indented for visual indent
498:35: E128 continuation line under-indented for visual indent
508:13: B901 blind except: statement
514:13: B901 blind except: statement
519:17: E128 continuation line under-indented for visual indent
520:17: E128 continuation line under-indented for visual indent
521:17: E128 continuation line under-indented for visual indent


29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: E402 module level import not at top of file
34:1: E402 module level import not at top of file
35:1: E402 module level import not at top of file
36:1: I100 Imports statements are in the wrong order. import tempfile should be before import zlib
36:1: E402 module level import not at top of file
37:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
37:1: E402 module level import not at top of file
38:1: F401 'traceback' imported but unused
38:1: E402 module level import not at top of file
39:1: E402 module level import not at top of file
40:1: I201 Missing newline before sections or imports.
40:1: E402 module level import not at top of file
47:1: I101 Imported names are in the wrong order. Should be cache_exists, delete_cache, delete_hp_change, get_cache, get_cache_post_date, get_record_last_modification_date, get_record_revision_author, uids_with_active_caches, update_cache, update_cache_post_date
47:1: E402 module level import not at top of file
48:5: E128 continuation line under-indented for visual indent
49:5: E128 continuation line under-indented for visual indent
50:5: E128 continuation line under-indented for visual indent
51:1: I101 Imported names are in the wrong order. Should be create_record, create_records, field_add_subfield, field_get_subfield_codes, field_get_subfield_values, print_rec, record_add_field, record_add_fields, record_delete_fields, record_get_field_instances, record_get_field_value, record_get_field_values, record_has_field, record_make_all_subfields_volatile, record_modify_controlfield, record_modify_subfield, record_order_subfields, record_strip_empty_fields, record_strip_empty_volatile_subfields, record_xml_output
51:1: E402 module level import not at top of file
59:1: E402 module level import not at top of file
60:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_EXTEND_RECORD_WITH_COLLECTION_TEMPLATE, CFG_BIBEDIT_LOCKLEVEL, CFG_BIBEDIT_QUEUE_CHECK_METHOD, CFG_BIBEDIT_TIMEOUT, CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_PYLIBDIR
60:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask
60:1: F401 'CFG_PYLIBDIR' imported but unused
60:1: E402 module level import not at top of file
66:1: E402 module level import not at top of file
67:1: E402 module level import not at top of file
68:1: I101 Imported names are in the wrong order. Should be get_bibupload_task_opts, get_info_of_record_revision, get_marcxml_of_record_revision, get_record_revisions
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.db_layer should be before from invenio.utils.text
68:1: E402 module level import not at top of file
71:1: I101 Imported names are in the wrong order. Should be get_all_collections_of_a_record, get_record, guess_primary_collection_of_a_record, record_exists
71:1: E402 module level import not at top of file
72:6: E126 continuation line over-indented for hanging indent
74:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
74:1: E402 module level import not at top of file
75:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email, get_user_info, get_user_preferences, list_registered_users
75:1: E402 module level import not at top of file
76:6: E126 continuation line over-indented for hanging indent
77:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.webuser
77:1: E402 module level import not at top of file
78:1: E402 module level import not at top of file
79:1: I100 Imports statements are in the wrong order. from invenio.legacy.refextract.api should be before from invenio.modules.access.engine
79:1: E402 module level import not at top of file
80:36: E126 continuation line over-indented for hanging indent
82:1: I101 Imported names are in the wrong order. Should be ParseError, transform_file
82:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord.textmarc2xmlmarc should be before from invenio.legacy.refextract.api
82:1: E402 module level import not at top of file
83:1: E402 module level import not at top of file
84:1: I100 Imports statements are in the wrong order. from invenio.modules.editor.registry should be before from invenio.modules.knowledge.api
84:1: E402 module level import not at top of file
87:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.modules.editor.registry
87:1: E402 module level import not at top of file
88:1: E402 module level import not at top of file
89:1: E402 module level import not at top of file
94:5: F401 'loads' imported but unused
95:1: E402 module level import not at top of file
115: D101 Missing docstring in public class
118:1: E302 expected 2 blank lines, found 1
118: D203 1 blank line required before class docstring (found 0)
118: D204 1 blank line required after class docstring (found 0)
118: D400 First line should end with a period (not 's')
124:1: E302 expected 2 blank lines, found 1
124: D210 No whitespaces allowed surrounding docstring text
124: D400 First line should end with a period (not 'n')
124: D205 1 blank line required between summary line and description (found 0)
128: D210 No whitespaces allowed surrounding docstring text
128: D400 First line should end with a period (not 'e')
171:1: E302 expected 2 blank lines, found 1
171: D103 Missing docstring in public function
177:1: E302 expected 2 blank lines, found 1
177: D401 First line should be in imperative mood ('Thi', not 'This')
177: D400 First line should end with a period (not 'l')
177: D205 1 blank line required between summary line and description (found 0)
228:1: E302 expected 2 blank lines, found 1
228: D400 First line should end with a period (not 'e')
228: D205 1 blank line required between summary line and description (found 0)
243:1: E302 expected 2 blank lines, found 1
243: D401 First line should be in imperative mood ('Ha', not 'Has')
243: D400 First line should end with a period (not 'y')
243: D205 1 blank line required between summary line and description (found 0)
251:1: E302 expected 2 blank lines, found 1
251: D400 First line should end with a period (not 'l')
251: D205 1 blank line required between summary line and description (found 0)
277:1: E302 expected 2 blank lines, found 1
277: D400 First line should end with a period (not 'e')
277: D205 1 blank line required between summary line and description (found 0)
284:1: E302 expected 2 blank lines, found 1
293:1: E302 expected 2 blank lines, found 1
304:1: E302 expected 2 blank lines, found 1
304: D400 First line should end with a period (not 'n')
304: D205 1 blank line required between summary line and description (found 0)
315:1: E302 expected 2 blank lines, found 1
319:1: E302 expected 2 blank lines, found 1
319: D205 1 blank line required between summary line and description (found 0)
330:1: E302 expected 2 blank lines, found 1
330: D103 Missing docstring in public function
334:1: E302 expected 2 blank lines, found 1
334: D400 First line should end with a period (not 'm')
334: D205 1 blank line required between summary line and description (found 0)
402: D400 First line should end with a period (not 'd')
402: D205 1 blank line required between summary line and description (found 0)
415: D210 No whitespaces allowed surrounding docstring text
415: D400 First line should end with a period (not 'd')
415: D200 One-line docstring should fit on one line with quotes (found 2)
427: D210 No whitespaces allowed surrounding docstring text
427: D400 First line should end with a period (not 'e')
427: D205 1 blank line required between summary line and description (found 0)
450: D400 First line should end with a period (not 'e')
450: D205 1 blank line required between summary line and description (found 0)
480:24: E713 test for membership should be 'not in'
489:1: E302 expected 2 blank lines, found 1
489: D401 First line should be in imperative mood ('Convert', not 'Converts')
489: D400 First line should end with a period (not 'p')
489: D200 One-line docstring should fit on one line with quotes (found 3)
496:1: E302 expected 2 blank lines, found 1
496: D401 First line should be in imperative mood ('Convert', not 'Converts')
496: D400 First line should end with a period (not 'e')
496: D200 One-line docstring should fit on one line with quotes (found 3)
508:1: E302 expected 2 blank lines, found 1
508: D400 First line should end with a period (not 'd')
516:1: E302 expected 2 blank lines, found 1
516: D209 Multi-line docstring closing quotes should be on a separate line
516: D400 First line should end with a period (not 's')
516: D205 1 blank line required between summary line and description (found 0)
516: D208 Docstring is over-indented
529:1: E302 expected 2 blank lines, found 1
529: D205 1 blank line required between summary line and description (found 0)
539:1: E302 expected 2 blank lines, found 1
539: D205 1 blank line required between summary line and description (found 0)
550:1: E302 expected 2 blank lines, found 1
550: D205 1 blank line required between summary line and description (found 0)
557:1: E302 expected 2 blank lines, found 1
557: D205 1 blank line required between summary line and description (found 0)
577:1: E302 expected 2 blank lines, found 1
583:1: E302 expected 2 blank lines, found 1
583: D103 Missing docstring in public function
590:1: E302 expected 2 blank lines, found 1
590: D205 1 blank line required between summary line and description (found 0)
606: D210 No whitespaces allowed surrounding docstring text
606: D205 1 blank line required between summary line and description (found 0)
627:9: E128 continuation line under-indented for visual indent
630:1: E302 expected 2 blank lines, found 1
630: D209 Multi-line docstring closing quotes should be on a separate line
630: D400 First line should end with a period (not ']')
630: D205 1 blank line required between summary line and description (found 0)
630: D208 Docstring is over-indented
669:1: E302 expected 2 blank lines, found 1
669: D401 First line should be in imperative mood ('Return', not 'Returns')
669: D400 First line should end with a period (not ']')
674:1: E302 expected 2 blank lines, found 1
692: D205 1 blank line required between summary line and description (found 0)
700:1: E302 expected 2 blank lines, found 1
713:1: E302 expected 2 blank lines, found 1
753:1: E302 expected 2 blank lines, found 1
771: D400 First line should end with a period (not 's')
771: D205 1 blank line required between summary line and description (found 0)
781:5: F841 local variable 'col_id' is assigned to but never used
793: D210 No whitespaces allowed surrounding docstring text
793: D401 First line should be in imperative mood ('Return', not 'Returns')
793: D400 First line should end with a period (not '0')
793: D205 1 blank line required between summary line and description (found 0)
804:61: E128 continuation line under-indented for visual indent
805:61: E128 continuation line under-indented for visual indent
806:61: E128 continuation line under-indented for visual indent
807:61: E128 continuation line under-indented for visual indent
810: D210 No whitespaces allowed surrounding docstring text
810: D400 First line should end with a period (not 't')
810: D205 1 blank line required between summary line and description (found 0)
825: D210 No whitespaces allowed surrounding docstring text
825: D400 First line should end with a period (not 't')
848:48: E128 continuation line under-indented for visual indent
852:1: E266 too many leading '#' for block comment
854:1: E302 expected 2 blank lines, found 1
854: D400 First line should end with a period (not 'd')
896:1: E266 too many leading '#' for block comment
898:1: E302 expected 2 blank lines, found 1
898: D400 First line should end with a period (not 't')
898: D205 1 blank line required between summary line and description (found 0)
916: D400 First line should end with a period (not 'e')
916: D205 1 blank line required between summary line and description (found 0)
934:5: E122 continuation line missing indentation or outdented
950:36: E127 continuation line over-indented for visual indent
951:36: E127 continuation line over-indented for visual indent
952:36: E127 continuation line over-indented for visual indent
953:36: E127 continuation line over-indented for visual indent
957: D400 First line should end with a period (not 'n')
1013:1: E266 too many leading '#' for block comment
1015: D401 First line should be in imperative mood ('Create', not 'Creates')
1015: D400 First line should end with a period (not 'e')
1015: D205 1 blank line required between summary line and description (found 0)
1030: D400 First line should end with a period (not 'n')
1030: D205 1 blank line required between summary line and description (found 0)
1050: D401 First line should be in imperative mood ('Change', not 'Changes')
1050: D400 First line should end with a period (not ',')
1050: D205 1 blank line required between summary line and description (found 0)
1068:9: E128 continuation line under-indented for visual indent
1078:13: E128 continuation line under-indented for visual indent
1081: D210 No whitespaces allowed surrounding docstring text
1081: D401 First line should be in imperative mood ('Return', not 'Returns')
1081: D400 First line should end with a period (not 'e')
1106:1: E266 too many leading '#' for block comment
1109: D103 Missing docstring in public function
1123:25: E128 continuation line under-indented for visual indent
1162: D401 First line should be in imperative mood ('Load', not 'Loads')
1162: D205 1 blank line required between summary line and description (found 0)
1178:52: E201 whitespace after '{'
1178:62: E203 whitespace before ':'
1178:89: E203 whitespace before ':'
1178:105: E202 whitespace before '}'
1191: D401 First line should be in imperative mood ('Split', not 'Splits')
1191: D400 First line should end with a period (not ':')
1191: D205 1 blank line required between summary line and description (found 0)
1191: D300 Use """triple double quotes""" (found '''-quotes)
1271: D401 First line should be in imperative mood ('Create', not 'Creates')
1271: D400 First line should end with a period (not 'e')
1271: D205 1 blank line required between summary line and description (found 0)
1271: D300 Use """triple double quotes""" (found '''-quotes)
1306: D205 1 blank line required between summary line and description (found 0)
1306: D300 Use """triple double quotes""" (found '''-quotes)


51:1: I100 Imports statements are in the wrong order. import datetime should be before import os
53:1: I101 Imported names are in the wrong order. Should be CFG_SITE_RECORD, CFG_SITE_URL, CFG_WEBDIR
54:6: E126 continuation line over-indented for hanging indent
57:1: I101 Imported names are in the wrong order. Should be task_sleep_now_if_required, task_update_progress, write_message
58:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.bibsched.bibtask
58:1: I201 Missing newline before sections or imports.
58:1: F401 'intbitset' imported but unused
59:1: I201 Missing newline before sections or imports.
59:1: F401 'run_sql' imported but unused
60:1: I101 Imported names are in the wrong order. Should be SitemapIndexWriter, SitemapWriter, get_all_public_records, get_config_parameter
60:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibexport.sitemap should be before from invenio.legacy.dbquery
61:6: E126 continuation line over-indented for hanging indent
76:1: E302 expected 2 blank lines, found 1
80:109: E251 unexpected spaces around keyword / parameter equals
80:111: E251 unexpected spaces around keyword / parameter equals
86:43: E225 missing whitespace around operator
101:1: E302 expected 2 blank lines, found 1
101: D400 First line should end with a period (not 's')
112:1: E302 expected 2 blank lines, found 1
134:33: E128 continuation line under-indented for visual indent
134:40: E251 unexpected spaces around keyword / parameter equals
134:42: E251 unexpected spaces around keyword / parameter equals
135:33: E128 continuation line under-indented for visual indent
135:43: E251 unexpected spaces around keyword / parameter equals
135:45: E251 unexpected spaces around keyword / parameter equals
136:33: E128 continuation line under-indented for visual indent
136:41: E251 unexpected spaces around keyword / parameter equals
136:43: E251 unexpected spaces around keyword / parameter equals
141:1: E302 expected 2 blank lines, found 1
159:1: E302 expected 2 blank lines, found 1
159: D401 First line should be in imperative mood ('Delete', not 'Deletes')
159: D209 Multi-line docstring closing quotes should be on a separate line
159: D400 First line should end with a period (not 'n')
159: D205 1 blank line required between summary line and description (found 0)
172:1: E302 expected 2 blank lines, found 1
172: D210 No whitespaces allowed surrounding docstring text
172: D400 First line should end with a period (not 'n')
172: D205 1 blank line required between summary line and description (found 0)
179:5: F841 local variable 'one_month_ago' is assigned to but never used
179:59: E251 unexpected spaces around keyword / parameter equals
179:61: E251 unexpected spaces around keyword / parameter equals
183: D203 1 blank line required before class docstring (found 0)
189:54: E251 unexpected spaces around keyword / parameter equals
189:56: E251 unexpected spaces around keyword / parameter equals
189: D400 First line should end with a period (not 'n')
196: D401 First line should be in imperative mood ('Return', not 'Returns')
196: D400 First line should end with a period (not 'n')
200: D401 First line should be in imperative mood ('Return', not 'Returns')
200: D400 First line should end with a period (not 'n')