1: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
23:1: I101 Imported names are in the wrong order. Should be cPickle, calendar, cgi, commands, datetime, os, random, time
23:16: E401 multiple imports on one line
25:1: I101 Imported names are in the wrong order. Should be CFG_BIBCIRCULATION_ILL_STATUS_CANCELLED, CFG_BIBCIRCULATION_ITEM_STATUS_CANCELLED, CFG_BIBCIRCULATION_ITEM_STATUS_CLAIMED, CFG_BIBCIRCULATION_ITEM_STATUS_IN_PROCESS, CFG_BIBCIRCULATION_ITEM_STATUS_NOT_ARRIVED, CFG_BIBCIRCULATION_ITEM_STATUS_ON_LOAN, CFG_BIBCIRCULATION_ITEM_STATUS_ON_ORDER, CFG_BIBCIRCULATION_ITEM_STATUS_ON_SHELF, CFG_BIBCIRCULATION_ITEM_STATUS_OPTIONAL, CFG_BIBCIRCULATION_REQUEST_STATUS_DONE, CFG_BINDIR, CFG_CERN_SITE, CFG_SITE_NAME, CFG_SITE_URL, CFG_TMPDIR
25:1: I201 Missing newline before sections or imports.
42:1: I101 Imported names are in the wrong order. Should be get_collection_reclist, get_most_popular_field_values, perform_request_search, search_pattern
42:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.utils.url
46:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
50:1: I101 Imported names are in the wrong order. Should be book_information_from_MARC, book_title_from_MARC
50:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.utils should be before from invenio.legacy.websubmit.admin_dblayer
52:1: I101 Imported names are in the wrong order. Should be get_borrower_data, get_id_bibrec
52:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.db_layer should be before from invenio.legacy.bibcirculation.utils
55:1: I101 Imported names are in the wrong order. Should be convert_datestruct_to_dategui, convert_datetext_to_datestruct
56:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.utils.date
59:38: E261 at least two spaces before inline comment
64:1: E302 expected 2 blank lines, found 1
64: D401 First line should be imperative: 'Return', not 'Returns'
64: D400 First line should end with '.', not 'r'
64: D205 Blank line missing between one-line summary and description
88:25: E128 continuation line under-indented for visual indent
92:29: E128 continuation line under-indented for visual indent
92:61: E251 unexpected spaces around keyword / parameter equals
93:29: E128 continuation line under-indented for visual indent
94:29: E128 continuation line under-indented for visual indent
105:27: E128 continuation line under-indented for visual indent
108: D401 First line should be imperative: 'Return', not 'Returns'
108: D202 No blank lines allowed *after* function docstring, found 1
130:29: E128 continuation line under-indented for visual indent
131:29: E128 continuation line under-indented for visual indent
145: D290 White spaces around docstring should be trimmed.
145: D209 Put multi-line docstring closing quotes on separate line
145: D400 First line should end with '.', not 's'
145: D205 Blank line missing between one-line summary and description
154:29: E128 continuation line under-indented for visual indent
155:29: E126 continuation line over-indented for hanging indent
161:27: E128 continuation line under-indented for visual indent
164: D401 First line should be imperative: 'Return', not 'Returns'
164: D202 No blank lines allowed *after* function docstring, found 1
164: D400 First line should end with '.', not 't'
164: D205 Blank line missing between one-line summary and description
183:17: E128 continuation line under-indented for visual indent
184:29: E128 continuation line under-indented for visual indent
187: D401 First line should be imperative: 'Return', not 'Returns'
187: D400 First line should end with '.', not 't'
187: D205 Blank line missing between one-line summary and description
209:13: E128 continuation line under-indented for visual indent
212:13: E128 continuation line under-indented for visual indent
212:44: E251 unexpected spaces around keyword / parameter equals
213:13: E128 continuation line under-indented for visual indent
217: D401 First line should be imperative: 'Return', not 'Returns'
217: D400 First line should end with '.', not 'n'
217: D205 Blank line missing between one-line summary and description
237:21: E128 continuation line under-indented for visual indent
238:21: E128 continuation line under-indented for visual indent
242:21: E128 continuation line under-indented for visual indent
243:21: E128 continuation line under-indented for visual indent
247:25: E128 continuation line under-indented for visual indent
249:25: E128 continuation line under-indented for visual indent
258: D401 First line should be imperative: 'Return', not 'Returns'
258: D400 First line should end with '.', not 't'
258: D205 Blank line missing between one-line summary and description
281:17: E128 continuation line under-indented for visual indent
301:27: E128 continuation line under-indented for visual indent
304: D401 First line should be imperative: 'Return', not 'Returns'
304: D400 First line should end with '.', not 't'
304: D205 Blank line missing between one-line summary and description
322:13: E128 continuation line under-indented for visual indent
325: D401 First line should be imperative: 'Return', not 'Returns'
325: D400 First line should end with '.', not 'r'
325: D205 Blank line missing between one-line summary and description
347:17: E128 continuation line under-indented for visual indent
351:17: E128 continuation line under-indented for visual indent
358: D400 First line should end with '.', not ':'
358: D205 Blank line missing between one-line summary and description
429:37: E126 continuation line over-indented for hanging indent
430:10: E261 at least two spaces before inline comment
467: D400 First line should end with '.', not ':'
467: D205 Blank line missing between one-line summary and description
576:62: E502 the backslash is redundant between brackets
577:23: E128 continuation line under-indented for visual indent
588:13: E128 continuation line under-indented for visual indent
589:13: E128 continuation line under-indented for visual indent
590:13: E128 continuation line under-indented for visual indent
591:13: E128 continuation line under-indented for visual indent
597:13: E128 continuation line under-indented for visual indent
598:13: E128 continuation line under-indented for visual indent
599:13: E128 continuation line under-indented for visual indent
600:13: E128 continuation line under-indented for visual indent
601:13: E128 continuation line under-indented for visual indent
606: D400 First line should end with '.', not ':'
606: D205 Blank line missing between one-line summary and description
674: D400 First line should end with '.', not ':'
674: D205 Blank line missing between one-line summary and description
700: D401 First line should be imperative: 'Return', not 'Returns'
700: D400 First line should end with '.', not 's'
718:17: E128 continuation line under-indented for visual indent
720:17: E128 continuation line under-indented for visual indent
724:17: E128 continuation line under-indented for visual indent
725:17: E128 continuation line under-indented for visual indent
729:25: E128 continuation line under-indented for visual indent
731:25: E128 continuation line under-indented for visual indent
740: D400 First line should end with '.', not ':'
740: D205 Blank line missing between one-line summary and description
838: D400 First line should end with '.', not ':'
838: D205 Blank line missing between one-line summary and description
867:21: E127 continuation line over-indented for visual indent
898: D401 First line should be imperative: 'Return', not 'Returns'
898: D400 First line should end with '.', not 't'
898: D205 Blank line missing between one-line summary and description
944:19: E128 continuation line under-indented for visual indent
949:19: E128 continuation line under-indented for visual indent
949:66: E225 missing whitespace around operator
953:25: E128 continuation line under-indented for visual indent
955:25: E128 continuation line under-indented for visual indent
964: D400 First line should end with '.', not ':'
964: D205 Blank line missing between one-line summary and description
1015: D202 No blank lines allowed *after* function docstring, found 1
1015: D400 First line should end with '.', not ':'
1015: D205 Blank line missing between one-line summary and description
1080: D400 First line should end with '.', not ':'
1080: D205 Blank line missing between one-line summary and description
1123:57: E128 continuation line under-indented for visual indent
1138:9: E128 continuation line under-indented for visual indent
1141: D400 First line should end with '.', not ':'
1141: D205 Blank line missing between one-line summary and description
1200: D400 First line should end with '.', not ':'
1200: D205 Blank line missing between one-line summary and description
1236: D400 First line should end with '.', not ':'
1236: D205 Blank line missing between one-line summary and description
1282:1: E302 expected 2 blank lines, found 1
1343: D400 First line should end with '.', not 'n'
1343: D205 Blank line missing between one-line summary and description
1355:10: E261 at least two spaces before inline comment
1355:11: E262 inline comment should start with '# '
1377:83: E502 the backslash is redundant between brackets
1377:82: E211 whitespace before '('
1378:21: E128 continuation line under-indented for visual indent
1380:82: E502 the backslash is redundant between brackets
1380:81: E211 whitespace before '('
1381:21: E128 continuation line under-indented for visual indent
1383:82: E502 the backslash is redundant between brackets
1383:81: E211 whitespace before '('
1384:21: E128 continuation line under-indented for visual indent
1387:82: E502 the backslash is redundant between brackets
1387:81: E211 whitespace before '('
1388:21: E128 continuation line under-indented for visual indent
1395:1: E302 expected 2 blank lines, found 1
1395: D401 First line should be imperative: 'Build', not 'Builds'
1395: D400 First line should end with '.', not 'r'
1395: D205 Blank line missing between one-line summary and description
1447:1: E302 expected 2 blank lines, found 1
1447: D205 Blank line missing between one-line summary and description
1457:13: E127 continuation line over-indented for visual indent
1460:1: E302 expected 2 blank lines, found 1
1460: D401 First line should be imperative: 'Fetche', not 'Fetches'
1460: D400 First line should end with '.', not 't'
1460: D205 Blank line missing between one-line summary and description
1472:15: E711 comparison to None should be 'if cond is None:'
1472:15: E225 missing whitespace around operator
1472:32: E225 missing whitespace around operator
1476:5: B901 blind except: statement
1494:1: E302 expected 2 blank lines, found 1
1494: D401 First line should be imperative: 'Return', not 'Returns'
1494: D205 Blank line missing between one-line summary and description
1511:73: E502 the backslash is redundant between brackets
1512:25: E127 continuation line over-indented for visual indent
1516:77: E502 the backslash is redundant between brackets
1517:25: E127 continuation line over-indented for visual indent
1527:1: E302 expected 2 blank lines, found 1
1527: D401 First line should be imperative: 'Return', not 'Returns'
1527: D400 First line should end with '.', not 'n'
1527: D205 Blank line missing between one-line summary and description
1561:33: E128 continuation line under-indented for visual indent
1562:28: E211 whitespace before '('
1568:33: E128 continuation line under-indented for visual indent
1569:28: E211 whitespace before '('
1577:28: E211 whitespace before '('
1586:33: E128 continuation line under-indented for visual indent
1591:77: E502 the backslash is redundant between brackets
1591:76: E211 whitespace before '('
1592:21: E128 continuation line under-indented for visual indent
1594:1: E302 expected 2 blank lines, found 1
1594: D400 First line should end with '.', not 't'
1594: D205 Blank line missing between one-line summary and description
1607:13: E127 continuation line over-indented for visual indent
1609:1: E302 expected 2 blank lines, found 1
1609:33: E211 whitespace before '('
1609: D401 First line should be imperative: 'Return', not 'Returns'
1609: D205 Blank line missing between one-line summary and description
1618:73: E502 the backslash is redundant between brackets
1618:72: E211 whitespace before '('
1619:21: E128 continuation line under-indented for visual indent
1622:1: E302 expected 2 blank lines, found 1
1622: D401 First line should be imperative: 'Return', not 'Returns'
1622: D400 First line should end with '.', not 'r'
1622: D205 Blank line missing between one-line summary and description
1636:1: E303 too many blank lines (3)
1638:1: E302 expected 2 blank lines, found 3
1638: D401 First line should be imperative: 'Create', not 'Creates'
1638: D400 First line should end with '.', not 's'
1643: D401 First line should be imperative: 'Return', not 'Returns'
1643: D290 White spaces around docstring should be trimmed.
1643: D400 First line should end with '.', not 'g'
1648: D401 First line should be imperative: 'Return', not 'Returns'
1648: D400 First line should end with '.', not ')'
1653: D401 First line should be imperative: 'Return', not 'Returns'
1659: D401 First line should be imperative: 'Return', not 'Returns'
1659: D290 White spaces around docstring should be trimmed.
1659: D400 First line should end with '.', not 'g'
1665:1: E302 expected 2 blank lines, found 1
1665: D401 First line should be imperative: 'Return', not 'Returns'
1665: D400 First line should end with '.', not 'n'
1665: D205 Blank line missing between one-line summary and description
1698:12: E713 test for membership should be 'not in'
1705:34: E127 continuation line over-indented for visual indent
1708:34: E127 continuation line over-indented for visual indent
1711:34: E127 continuation line over-indented for visual indent
1724: D400 First line should end with '.', not 'y'
1724: D205 Blank line missing between one-line summary and description
1757:26: E127 continuation line over-indented for visual indent
1762:114: E261 at least two spaces before inline comment
1766:16: E713 test for membership should be 'not in'
1770:49: E502 the backslash is redundant between brackets
1771:42: E127 continuation line over-indented for visual indent
1773:48: E502 the backslash is redundant between brackets
1774:42: E127 continuation line over-indented for visual indent
1776:53: E502 the backslash is redundant between brackets
1777:42: E127 continuation line over-indented for visual indent
1791:21: E126 continuation line over-indented for hanging indent
1810: D400 First line should end with '.', not 'g'
1810: D205 Blank line missing between one-line summary and description
1824: D400 First line should end with '.', not 'g'
1824: D205 Blank line missing between one-line summary and description
1841:1: E302 expected 2 blank lines, found 1
1841: D401 First line should be imperative: 'Return', not 'Returns'
1841: D202 No blank lines allowed *after* function docstring, found 1
1841: D400 First line should end with '.', not 'r'
1884: D401 First line should be imperative: 'Create', not 'Creates'
1884: D400 First line should end with '.', not 'd'
1884: D205 Blank line missing between one-line summary and description
1948:1: E302 expected 2 blank lines, found 1
1948: D401 First line should be imperative: 'Create', not 'Creates'
1976: D401 First line should be imperative: 'Create', not 'Creates'
1976: D400 First line should end with '.', not 't'
1987:21: E128 continuation line under-indented for visual indent
1995:21: E126 continuation line over-indented for hanging indent
2034:37: E128 continuation line under-indented for visual indent
2043: D401 First line should be imperative: 'Create', not 'Creates'
2043: D400 First line should end with '.', not 'y'
2091:35: E127 continuation line over-indented for visual indent
2115: D401 First line should be imperative: 'Create', not 'Creates'
2115: D400 First line should end with '.', not 'y'
2141:25: E128 continuation line under-indented for visual indent
2166:21: E128 continuation line under-indented for visual indent
2166:60: E225 missing whitespace around operator
2167:21: E126 continuation line over-indented for hanging indent
2205:18: E222 multiple spaces after operator
2223:9: E113 unexpected indentation
2241:9: E113 unexpected indentation
2305:62: E203 whitespace before ':'
2309: D401 First line should be imperative: 'Return', not 'Returns'
2309: D290 White spaces around docstring should be trimmed.
2309: D400 First line should end with '.', not 'a'
2324: D401 First line should be imperative: 'Create', not 'Creates'
2361: D401 First line should be imperative: 'Create', not 'Creates'
2384:46: E502 the backslash is redundant between brackets
2385:21: E128 continuation line under-indented for visual indent
2411:1: E302 expected 2 blank lines, found 1
2411: D401 First line should be imperative: 'Return', not 'Returns'
2411: D400 First line should end with '.', not 'y'
2417: D401 First line should be imperative: 'Return', not 'Returns'
2417: D400 First line should end with '.', not 'y'
2429: D401 First line should be imperative: 'Return', not 'Returns'
2429: D400 First line should end with '.', not 'y'
2437:14: E128 continuation line under-indented for visual indent
2442: D401 First line should be imperative: 'Return', not 'Returns'
2442: D400 First line should end with '.', not 'y'
2447: D401 First line should be imperative: 'Return', not 'Returns'
2447: D400 First line should end with '.', not 'y'
2452: D401 First line should be imperative: 'Return', not 'Returns'
2452: D400 First line should end with '.', not 'y'
2457: D401 First line should be imperative: 'Return', not 'Returns'
2457: D400 First line should end with '.', not 'y'
2464: D401 First line should be imperative: 'Return', not 'Returns'
2464: D400 First line should end with '.', not 'y'
2472: D401 First line should be imperative: 'Return', not 'Returns'
2472: D400 First line should end with '.', not 'y'
2480: D401 First line should be imperative: 'Return', not 'Returns'
2480: D400 First line should end with '.', not 'y'
2488: D401 First line should be imperative: 'Return', not 'Returns'
2488: D400 First line should end with '.', not 's'
2492:10: E128 continuation line under-indented for visual indent
2496:1: E302 expected 2 blank lines, found 1
2496: D401 First line should be imperative: 'Export', not 'Exports'
2509: D401 First line should be imperative: 'Export', not 'Exports'
2519:66: E502 the backslash is redundant between brackets
2520:18: E128 continuation line under-indented for visual indent
2524: D401 First line should be imperative: 'Export', not 'Exports'
2544:68: E502 the backslash is redundant between brackets
2554:1: E302 expected 2 blank lines, found 1
2554: D400 First line should end with '.', not 'a'
2554: D205 Blank line missing between one-line summary and description
2563:64: E502 the backslash is redundant between brackets
2564:25: E127 continuation line over-indented for visual indent
2567: D400 First line should end with '.', not ','
2567: D205 Blank line missing between one-line summary and description
2622:13: E128 continuation line under-indented for visual indent
2623:13: E128 continuation line under-indented for visual indent
2624:13: E128 continuation line under-indented for visual indent
2625:13: E128 continuation line under-indented for visual indent
2626:13: E128 continuation line under-indented for visual indent
2627:13: E124 closing bracket does not match visual indentation
2627:13: E125 continuation line with same indent as next logical line
2643:13: E125 continuation line with same indent as next logical line
2649: D401 First line should be imperative: 'Return', not 'Returns'
2675:27: E128 continuation line under-indented for visual indent
2678: D401 First line should be imperative: 'Return', not 'Returns'
2678: D400 First line should end with '.', not ','
2678: D205 Blank line missing between one-line summary and description
2722:1: E302 expected 2 blank lines, found 1
2722: D401 First line should be imperative: 'Transform', not 'Transforms'
2722: D400 First line should end with '.', not 'e'
2722: D200 One-line docstring should not occupy 3 lines
2729: D401 First line should be imperative: 'Run', not 'Runs'
2729: D400 First line should end with '.', not 's'
2729: D205 Blank line missing between one-line summary and description
2743: D401 First line should be imperative: 'Return', not 'Returns'
2743: D400 First line should end with '.', not 'n'
2751: D401 First line should be imperative: 'Return', not 'Returns'
2751: D400 First line should end with '.', not 'm'
2760:13: E127 continuation line over-indented for visual indent
2763: D401 First line should be imperative: 'Return', not 'Returns'
2763: D400 First line should end with '.', not 'm'
2767:9: E125 continuation line with same indent as next logical line
2772: D401 First line should be imperative: 'Return', not 'Returns'
2772: D400 First line should end with '.', not 't'
2780: D401 First line should be imperative: 'Return', not 'Returns'
2780: D400 First line should end with '.', not 's'
2784:33: E713 test for membership should be 'not in'
2784:54: E261 at least two spaces before inline comment
2789: D401 First line should be imperative: 'Return', not 'Returns'
2789: D400 First line should end with '.', not 'm'
2797: D400 First line should end with '.', not 'e'
2797: D200 One-line docstring should not occupy 3 lines
2809:1: E302 expected 2 blank lines, found 1
2815:1: E302 expected 2 blank lines, found 1
2820:1: E302 expected 2 blank lines, found 1
2827:1: E302 expected 2 blank lines, found 1
2833:1: E302 expected 2 blank lines, found 1
2846:1: E302 expected 2 blank lines, found 1
2851:37: E128 continuation line under-indented for visual indent
2853:10: E128 continuation line under-indented for visual indent
2854:10: E128 continuation line under-indented for visual indent
2855:10: E128 continuation line under-indented for visual indent
2856:10: E128 continuation line under-indented for visual indent
2857:10: E128 continuation line under-indented for visual indent
2858:10: E128 continuation line under-indented for visual indent


1: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
21:1: I101 Imported names are in the wrong order. Should be cgi, datetime, os, urllib
21:16: E401 multiple imports on one line
23:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_URL, CFG_WEBDIR
23:1: I201 Missing newline before sections or imports.
24:6: E126 continuation line over-indented for hanging indent
30:1: E302 expected 2 blank lines, found 1
30: D101 Docstring missing
32: D401 First line should be imperative: 'Generate', not 'Generates'
32: D200 One-line docstring should not occupy 3 lines
41: D401 First line should be imperative: 'Generate', not 'Generates'
41: D400 First line should end with '.', not 'r'
41: D205 Blank line missing between one-line summary and description
58:21: E126 continuation line over-indented for hanging indent
66:21: E126 continuation line over-indented for hanging indent
66:74: E502 the backslash is redundant between brackets
67:21: E128 continuation line under-indented for visual indent
76: D401 First line should be imperative: 'Generate', not 'Generates'
76: D200 One-line docstring should not occupy 3 lines
92:33: E126 continuation line over-indented for hanging indent
92:64: E502 the backslash is redundant between brackets
93:33: E128 continuation line under-indented for visual indent
97:33: E126 continuation line over-indented for hanging indent
97:64: E502 the backslash is redundant between brackets
98:33: E128 continuation line under-indented for visual indent
103:21: E128 continuation line under-indented for visual indent
107:5: E303 too many blank lines (2)
107: D401 First line should be imperative: 'Generate', not 'Generates'
107: D200 One-line docstring should not occupy 3 lines
139: D401 First line should be imperative: 'Generate', not 'Generates'
139: D200 One-line docstring should not occupy 3 lines
151:9: E303 too many blank lines (2)
162: D401 First line should be imperative: 'Generate', not 'Generates'
162: D400 First line should end with '.', not 's'
162: D200 One-line docstring should not occupy 3 lines
169: D400 First line should end with '.', not 'r'
169: D200 One-line docstring should not occupy 3 lines
178: D401 First line should be imperative: 'Generate', not 'Generates'
178: D400 First line should end with '.', not 's'
178: D200 One-line docstring should not occupy 3 lines
202:8: E122 continuation line missing indentation or outdented
203:8: E122 continuation line missing indentation or outdented
209: D200 One-line docstring should not occupy 3 lines
217: D400 First line should end with '.', not 't'
217: D200 One-line docstring should not occupy 3 lines
227: D200 One-line docstring should not occupy 3 lines
239:25: E126 continuation line over-indented for hanging indent
239:57: E502 the backslash is redundant between brackets
240:25: E128 continuation line under-indented for visual indent
243: D400 First line should end with '.', not 't'
243: D205 Blank line missing between one-line summary and description
267:26: E711 comparison to None should be 'if cond is None:'
275:17: E711 comparison to None should be 'if cond is None:'
275:17: E225 missing whitespace around operator
280:19: E271 multiple spaces after keyword
282: D401 First line should be imperative: 'Generate', not 'Generates'
282: D200 One-line docstring should not occupy 3 lines
298:33: E126 continuation line over-indented for hanging indent
298:64: E502 the backslash is redundant between brackets
299:33: E128 continuation line under-indented for visual indent
303:33: E126 continuation line over-indented for hanging indent
303:64: E502 the backslash is redundant between brackets
304:33: E128 continuation line under-indented for visual indent
309: D401 First line should be imperative: 'Generate', not 'Generates'
309: D200 One-line docstring should not occupy 3 lines
320:25: E127 continuation line over-indented for visual indent
323:17: E127 continuation line over-indented for visual indent
326: D102 Docstring missing
336: D200 One-line docstring should not occupy 3 lines
376: D401 First line should be imperative: 'Provide', not 'Provides'
376: D200 One-line docstring should not occupy 3 lines
382: D401 First line should be imperative: 'Generate', not 'Generates'
407:72: E261 at least two spaces before inline comment
408:21: E128 continuation line under-indented for visual indent
408:54: E261 at least two spaces before inline comment
409:27: E261 at least two spaces before inline comment
410:60: E261 at least two spaces before inline comment
411:26: E261 at least two spaces before inline comment
414:72: E261 at least two spaces before inline comment
415:21: E128 continuation line under-indented for visual indent
415:54: E261 at least two spaces before inline comment
416:27: E261 at least two spaces before inline comment
417:36: E261 at least two spaces before inline comment
418:50: E261 at least two spaces before inline comment
421:58: E261 at least two spaces before inline comment
422:21: E128 continuation line under-indented for visual indent
422:36: E261 at least two spaces before inline comment
439: D401 First line should be imperative: 'Generate', not 'Generates'
474:72: E261 at least two spaces before inline comment
475:21: E128 continuation line under-indented for visual indent
475:54: E261 at least two spaces before inline comment
476:27: E261 at least two spaces before inline comment
477:60: E261 at least two spaces before inline comment
478:26: E261 at least two spaces before inline comment
481:72: E261 at least two spaces before inline comment
482:21: E128 continuation line under-indented for visual indent
482:54: E261 at least two spaces before inline comment
483:27: E261 at least two spaces before inline comment
484:36: E261 at least two spaces before inline comment
485:50: E261 at least two spaces before inline comment
490:17: E128 continuation line under-indented for visual indent
508:53: E128 continuation line under-indented for visual indent
509:53: E128 continuation line under-indented for visual indent
510:53: E128 continuation line under-indented for visual indent
511:53: E128 continuation line under-indented for visual indent
514:53: E128 continuation line under-indented for visual indent
515:53: E128 continuation line under-indented for visual indent
516:53: E128 continuation line under-indented for visual indent
517:53: E128 continuation line under-indented for visual indent
522:95: E502 the backslash is redundant between brackets
534:13: E128 continuation line under-indented for visual indent
541:45: E128 continuation line under-indented for visual indent
544:21: E128 continuation line under-indented for visual indent
586:25: E128 continuation line under-indented for visual indent
587:25: E128 continuation line under-indented for visual indent
588:25: E128 continuation line under-indented for visual indent
589:25: E128 continuation line under-indented for visual indent
590:25: E128 continuation line under-indented for visual indent
591:25: E128 continuation line under-indented for visual indent
592:25: E128 continuation line under-indented for visual indent
592:77: E502 the backslash is redundant between brackets
593:33: E127 continuation line over-indented for visual indent
703: D401 First line should be imperative: 'Display', not 'Displays'
703: D400 First line should end with '.', not 'd'
711: D401 First line should be imperative: 'Display', not 'Displays'
711: D400 First line should end with '.', not 'd'
715:37: E128 continuation line under-indented for visual indent
719: D401 First line should be imperative: 'Display', not 'Displays'
719: D400 First line should end with '.', not 'd'
727: D400 First line should end with '.', not 's'
736:53: E128 continuation line under-indented for visual indent
743: D400 First line should end with '.', not ')'
763:9: E303 too many blank lines (2)
804: D401 First line should be imperative: 'Generate', not 'Generates'
804: D400 First line should end with '.', not ')'
804: D205 Blank line missing between one-line summary and description
814: D401 First line should be imperative: 'Aggregate', not 'Aggregates'
814: D400 First line should end with '.', not 'e'
814: D205 Blank line missing between one-line summary and description
882: D401 First line should be imperative: 'Generate', not 'Generates'
882: D202 No blank lines allowed *after* method docstring, found 2
908:9: E303 too many blank lines (2)
936:21: E128 continuation line under-indented for visual indent
937:33: E128 continuation line under-indented for visual indent
980: D401 First line should be imperative: 'Generate', not 'Generates'


1: D400 First line should end with '.', not 'o'
1: D200 One-line docstring should not occupy 3 lines
2: L102 copyright year is outdated, expected 2015 but got 2014
24:1: I100 Imports statements are in the wrong order. import cgi should be before import time
27:1: I100 Imports statements are in the wrong order. import sys should be before import urllib
28:1: I100 Imports statements are in the wrong order. import string should be before import sys
31:1: I201 Missing newline before sections or imports.
32:1: I101 Imported names are in the wrong order. Should be CFG_BASE_URL, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_NAME_INTL, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_VERSION, CFG_WEBLINKBACK_TRACKBACK_ENABLED, CFG_WEBSTYLE_TEMPLATE_SKIN
32:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.ext.template
32:1: F401 'CFG_SITE_SECURE_URL' imported but unused
32:1: F401 'CFG_SITE_RECORD' imported but unused
32:1: F401 'CFG_WEBLINKBACK_TRACKBACK_ENABLED' imported but unused
32:1: F401 'CFG_VERSION' imported but unused
32:1: F401 'CFG_WEBSTYLE_TEMPLATE_SKIN' imported but unused
33:6: E126 continuation line over-indented for hanging indent
46:1: I101 Imported names are in the wrong order. Should be gettext_set_language, is_language_rtl, language_list_long
46:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
46:1: F401 'is_language_rtl' imported but unused
47:1: I101 Imported names are in the wrong order. Should be create_html_link, get_canonical_and_alternates_urls, make_canonical_urlargd
47:1: F401 'get_canonical_and_alternates_urls' imported but unused
48:30: E126 continuation line over-indented for hanging indent
49:1: I100 Imports statements are in the wrong order. from invenio.utils.date should be before from invenio.utils.url
49:1: F401 'convert_datestruct_to_dategui' imported but unused
50:31: E126 continuation line over-indented for hanging indent
51:1: I100 Imports statements are in the wrong order. from invenio.modules.formatter should be before from invenio.utils.date
53:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.html
57: D101 Docstring missing
59: D202 No blank lines allowed *after* method docstring, found 1
59: D400 First line should end with '.', not 'y'
59: D208 Docstring is over-indented
111: D401 First line should be imperative: 'Create', not 'Creates'
111: D400 First line should end with '.', not 'e'
111: D208 Docstring is over-indented
200: D401 First line should be imperative: 'Create', not 'Creates'
200: D202 No blank lines allowed *after* method docstring, found 1
200: D400 First line should end with '.', not 'r'
200: D208 Docstring is over-indented
261: D401 First line should be imperative: 'Create', not 'Creates'
261: D400 First line should end with '.', not 'r'
261: D208 Docstring is over-indented
290: D202 No blank lines allowed *after* method docstring, found 1
290: D400 First line should end with '.', not 'e'
290: D205 Blank line missing between one-line summary and description
290: D208 Docstring is over-indented
327:18: E126 continuation line over-indented for hanging indent
333: D401 First line should be imperative: 'Produce', not 'Produces'
333: D202 No blank lines allowed *after* method docstring, found 1
333: D208 Docstring is over-indented
369:13: B901 blind except: statement
369:20: E261 at least two spaces before inline comment
389:21: B901 blind except: statement
391:34: E261 at least two spaces before inline comment
441:17: E126 continuation line over-indented for hanging indent
441:28: E203 whitespace before ':'
444:37: E502 the backslash is redundant between brackets
445:24: E131 continuation line unaligned for hanging indent
447:24: E203 whitespace before ':'
448:24: E203 whitespace before ':'
449:31: E502 the backslash is redundant between brackets
449:28: E203 whitespace before ':'
450:21: E131 continuation line unaligned for hanging indent
451:90: E225 missing whitespace around operator
452:28: E203 whitespace before ':'
453:28: E203 whitespace before ':'
454:28: E203 whitespace before ':'
455:28: E203 whitespace before ':'
456:28: E203 whitespace before ':'
457:28: E203 whitespace before ':'
458:28: E203 whitespace before ':'
459:28: E203 whitespace before ':'
460:29: E203 whitespace before ':'
461:62: E502 the backslash is redundant between brackets
461:28: E203 whitespace before ':'
461:37: E225 missing whitespace around operator
462:34: E131 continuation line unaligned for hanging indent
462:67: E502 the backslash is redundant between brackets
463:34: E131 continuation line unaligned for hanging indent
464:15: E126 continuation line over-indented for hanging indent
467: D401 First line should be imperative: 'Print', not 'Prints'
472:53: E251 unexpected spaces around keyword / parameter equals
472:55: E251 unexpected spaces around keyword / parameter equals
472:78: E251 unexpected spaces around keyword / parameter equals
472:80: E251 unexpected spaces around keyword / parameter equals
532:41: E231 missing whitespace after ':'
533:41: E231 missing whitespace after ':'
534:42: E231 missing whitespace after ':'
537:41: E231 missing whitespace after ':'
538:39: E231 missing whitespace after ':'
539:41: E231 missing whitespace after ':'
540:42: E231 missing whitespace after ':'
549:9: E303 too many blank lines (2)
571:9: E303 too many blank lines (2)
583:30: E231 missing whitespace after ':'
584:38: E231 missing whitespace after ':'
589: D401 First line should be imperative: 'Print', not 'Prints'
619:69: E502 the backslash is redundant between brackets
623:41: E231 missing whitespace after ','
633:21: E203 whitespace before ':'
634:19: E203 whitespace before ':'
635:17: E126 continuation line over-indented for hanging indent
644:5: E303 too many blank lines (2)
644: D401 First line should be imperative: 'Display', not 'Displays'
644: D400 First line should end with '.', not 'd'
644: D205 Blank line missing between one-line summary and description
644: D208 Docstring is over-indented
662:9: F841 local variable '_' is assigned to but never used
685:9: E122 continuation line missing indentation or outdented
686:9: E122 continuation line missing indentation or outdented
686:13: E231 missing whitespace after ':'
687:9: E122 continuation line missing indentation or outdented
687:16: E231 missing whitespace after ':'
688:9: E122 continuation line missing indentation or outdented
689:9: E122 continuation line missing indentation or outdented
689:18: E231 missing whitespace after ':'
690:9: E122 continuation line missing indentation or outdented
705:21: E203 whitespace before ':'
706:22: E203 whitespace before ':'
707:22: E203 whitespace before ':'
708:21: E203 whitespace before ':'
709:93: E203 whitespace before ':'
713: D401 First line should be imperative: 'Produce', not 'Produces'
713: D202 No blank lines allowed *after* method docstring, found 1
713: D400 First line should end with '.', not 't'
725:9: F841 local variable '_' is assigned to but never used
729: D401 First line should be imperative: 'Return', not 'Returns'
729: D202 No blank lines allowed *after* method docstring, found 1


1: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
23:1: I100 Imports statements are in the wrong order. import errno should be before import os
25:1: I100 Imports statements are in the wrong order. import cgi should be before import time
27:1: I100 Imports statements are in the wrong order. import shutil should be before import sys
30:1: I100 Imports statements are in the wrong order. from collections should be before from urllib
33:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_CERN_SITE, CFG_PREFIX, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBSUBMIT_STORAGEDIR
33:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibrecord
34:6: E126 continuation line over-indented for hanging indent
42:1: I101 Imported names are in the wrong order. Should be CrossrefError, get_marcxml_for_doi
43:1: I100 Imports statements are in the wrong order. from invenio.utils should be before from invenio.utils.crossref
44:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils
46:1: I100 Imports statements are in the wrong order. from invenio.modules.access.control should be before from invenio.modules.access.engine
47:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.modules.access.control
48:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, page_not_authorized
49:29: E126 continuation line over-indented for hanging indent
51:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
51:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.modules.records.access
53:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.url
54:1: I101 Imported names are in the wrong order. Should be decompose_file, propose_next_docname, stream_file
56:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.bibdocfile.api
58:1: I101 Imported names are in the wrong order. Should be InvenioWebSubmitIconCreatorError, create_icon
58:1: I100 Imports statements are in the wrong order. from invenio.legacy.websubmit.icon_creator should be before from invenio.utils.html
59:1: I100 Imports statements are in the wrong order. from invenio.legacy.ckeditor.connector should be before from invenio.legacy.websubmit.icon_creator
62:1: F401 'get_detailed_page_tabs' imported but unused
63:1: I101 Imported names are in the wrong order. Should be CFG_JSON_AVAILABLE, json
64:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.json
65:1: I100 Imports statements are in the wrong order. from flask should be before import invenio.legacy.template
65:1: I201 Missing newline before sections or imports.
70:1: I101 Imported names are in the wrong order. Should be action, endaction, home, interface, makeCataloguesTable
72:1: E302 expected 2 blank lines, found 1
72: D101 Docstring missing
74:77: E502 the backslash is redundant between brackets
75:79: E502 the backslash is redundant between brackets
78: D400 First line should end with '.', not 'r'
78: D205 Blank line missing between one-line summary and description
105:16: E127 continuation line over-indented for visual indent
127:13: B901 blind except: statement
134:9: B901 blind except: statement
141:61: E225 missing whitespace around operator
192:25: F841 local variable 'n' is assigned to but never used
211:34: E201 whitespace after '{'
211:57: E203 whitespace before ':'
212:57: E203 whitespace before ':'
212:69: E261 at least two spaces before inline comment
213:57: E203 whitespace before ':'
214:57: E203 whitespace before ':'
215:57: E203 whitespace before ':'
216:57: E203 whitespace before ':'
216:67: E261 at least two spaces before inline comment
217:57: E203 whitespace before ':'
251:5: E303 too many blank lines (2)
251: D202 No blank lines allowed *after* method docstring, found 1
251: D205 Blank line missing between one-line summary and description
258: D290 White spaces around docstring should be trimmed.
258: D400 First line should end with '.', not 'm'
281:16: E127 continuation line over-indented for visual indent
303:13: B901 blind except: statement
304:17: F841 local variable 'act' is assigned to but never used
373:63: E127 continuation line over-indented for visual indent
416:41: E128 continuation line under-indented for visual indent
417:41: E128 continuation line under-indented for visual indent
418:41: E128 continuation line under-indented for visual indent
422:25: B901 blind except: statement
456:26: E703 statement ends with a semicolon
535: D205 Blank line missing between one-line summary and description
547:16: E127 continuation line over-indented for visual indent
548:16: E127 continuation line over-indented for visual indent
556:9: E303 too many blank lines (2)
569:9: B901 blind except: statement
586:19: E126 continuation line over-indented for hanging indent
590:35: E231 missing whitespace after ','
593:30: E201 whitespace after '{'
593:53: E203 whitespace before ':'
594:53: E203 whitespace before ':'
595:53: E203 whitespace before ':'
596:53: E203 whitespace before ':'
597:53: E203 whitespace before ':'
598:53: E203 whitespace before ':'
598:63: E261 at least two spaces before inline comment
599:53: E203 whitespace before ':'
612:64: F841 local variable 'e' is assigned to but never used
625: D401 First line should be imperative: 'Thi', not 'This'
625: D290 White spaces around docstring should be trimmed.
625: D400 First line should end with '.', not 'g'
625: D205 Blank line missing between one-line summary and description
633:26: E261 at least two spaces before inline comment
634:32: E261 at least two spaces before inline comment
635:33: E113 unexpected indentation
638:47: E261 at least two spaces before inline comment
652: D401 First line should be imperative: 'Return', not 'Returns'
652: D400 First line should end with '.', not 'e'
652: D205 Blank line missing between one-line summary and description
663:9: F841 local variable 'uid' is assigned to but never used
664:9: F841 local variable 'user_info' is assigned to but never used
669:74: E502 the backslash is redundant between brackets
670:62: E502 the backslash is redundant between brackets
670:39: E221 multiple spaces before operator
681: D200 One-line docstring should not occupy 3 lines
709:44: E203 whitespace before ':'
724:9: F841 local variable 'myQuery' is assigned to but never used
755:36: E126 continuation line over-indented for hanging indent
765:22: E211 whitespace before '('
781: D400 First line should end with '.', not ')'
789:37: W602 deprecated form of raising exception
807:32: E203 whitespace before ':'
815: D102 Docstring missing
828:9: F841 local variable 't' is assigned to but never used
829:15: E221 multiple spaces before operator
840:9: F841 local variable 'nbFields' is assigned to but never used
846:24: E126 continuation line over-indented for hanging indent
846:35: E203 whitespace before ':'
847:31: E203 whitespace before ':'
848:30: E203 whitespace before ':'
849:30: E203 whitespace before ':'
850:23: E126 continuation line over-indented for hanging indent
852:59: E231 missing whitespace after ','
855:47: E231 missing whitespace after ','
856:52: E231 missing whitespace after ','
863:18: E126 continuation line over-indented for hanging indent
863:20: E251 unexpected spaces around keyword / parameter equals
863:22: E251 unexpected spaces around keyword / parameter equals
864:24: E251 unexpected spaces around keyword / parameter equals
864:26: E251 unexpected spaces around keyword / parameter equals
865:16: E126 continuation line over-indented for hanging indent
867: D401 First line should be imperative: 'Return', not 'Returns'
867: D200 One-line docstring should not occupy 3 lines
899: D102 Docstring missing
932:45: E127 continuation line over-indented for visual indent
941:62: E203 whitespace before ':'
941:109: E203 whitespace before ':'
941:129: E203 whitespace before ','
942:48: E126 continuation line over-indented for hanging indent
945:41: E128 continuation line under-indented for visual indent
950:62: E203 whitespace before ':'
950:109: E203 whitespace before ':'
950:129: E203 whitespace before ','
951:48: E126 continuation line over-indented for hanging indent
954:41: E128 continuation line under-indented for visual indent
964:62: E203 whitespace before ':'
964:109: E203 whitespace before ':'
964:129: E203 whitespace before ','
965:45: E126 continuation line over-indented for hanging indent
974:27: E225 missing whitespace around operator


Does Clang and Mingw have it though?


update test.txt


43:1: I100 Imports statements are in the wrong order. from invenio.utils.text should be before from lxml
43:1: I201 Missing newline before sections or imports.


1: D100 Docstring missing
25:1: I100 Imports statements are in the wrong order. import datetime should be before import sys
28:1: I101 Imported names are in the wrong order. Should be CFG_BIBSWORD_SERVICEDOCUMENT_UPDATE_TIME, CFG_SUBMISSION_STATUS_PUBLISHED, CFG_SUBMISSION_STATUS_REMOVED, CFG_SUBMISSION_STATUS_SUBMITTED
28:1: I201 Missing newline before sections or imports.
29:37: E126 continuation line over-indented for hanging indent
32:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsword.client_http should be before from invenio.legacy.bibsword.config
33:1: I101 Imported names are in the wrong order. Should be ArXivFormat, format_author_from_marcxml, format_collection_informations, format_file_to_zip_archiv, format_id_from_submission, format_link_from_result, format_links_from_submission, format_marcxml_file, format_primary_categories, format_remote_collection, format_remote_server_infos, format_secondary_categories, format_submission_status, get_media_from_recid, get_medias_to_submit, get_report_number_from_macrxml, update_marcxml_with_info, update_marcxml_with_remote_id, upload_fulltext
33:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsword.client_formatter should be before from invenio.legacy.bibsword.client_http
34:47: E126 continuation line over-indented for hanging indent
52:1: I101 Imported names are in the wrong order. Should be count_nb_submitted_record, get_all_remote_server, get_last_update, get_remote_server_auth, insert_into_swr_clientdata, is_record_sent_to_server, select_remote_server_infos, select_servicedocument, select_submitted_record_infos, update_servicedocument, update_submission_status
52:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsword.client_dblayer should be before from invenio.legacy.bibsword.client_formatter
53:45: E126 continuation line over-indented for hanging indent
64:1: I101 Imported names are in the wrong order. Should be CFG_SITE_ADMIN_EMAIL, CFG_TMPDIR
64:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsword.client_templates
70:1: E302 expected 2 blank lines, found 1
70: D202 No blank lines allowed *after* function docstring, found 1
70: D205 Blank line missing between one-line summary and description
70: D208 Docstring is over-indented
70: D300 Expected """-quotes, got '''-quotes
79: D202 No blank lines allowed *after* function docstring, found 1
79: D400 First line should end with '.', not ','
79: D205 Blank line missing between one-line summary and description
79: D208 Docstring is over-indented
79: D300 Expected """-quotes, got '''-quotes
92: D202 No blank lines allowed *after* function docstring, found 1
92: D205 Blank line missing between one-line summary and description
92: D208 Docstring is over-indented
92: D300 Expected """-quotes, got '''-quotes
105: D202 No blank lines allowed *after* function docstring, found 1
105: D400 First line should end with '.', not 'f'
105: D205 Blank line missing between one-line summary and description
105: D208 Docstring is over-indented
105: D300 Expected """-quotes, got '''-quotes
122: D202 No blank lines allowed *after* function docstring, found 1
122: D400 First line should end with '.', not 'e'
122: D205 Blank line missing between one-line summary and description
122: D208 Docstring is over-indented
122: D300 Expected """-quotes, got '''-quotes
138: D202 No blank lines allowed *after* function docstring, found 1
138: D400 First line should end with '.', not 'e'
138: D205 Blank line missing between one-line summary and description
138: D208 Docstring is over-indented
138: D300 Expected """-quotes, got '''-quotes
153: D202 No blank lines allowed *after* function docstring, found 1
153: D400 First line should end with '.', not ','
153: D205 Blank line missing between one-line summary and description
153: D208 Docstring is over-indented
153: D300 Expected """-quotes, got '''-quotes
176:5: E125 continuation line with same indent as next logical line
201: D205 Blank line missing between one-line summary and description
201: D208 Docstring is over-indented
201: D300 Expected """-quotes, got '''-quotes
212: D202 No blank lines allowed *after* function docstring, found 1
212: D400 First line should end with '.', not 'y'
212: D205 Blank line missing between one-line summary and description
212: D208 Docstring is over-indented
212: D300 Expected """-quotes, got '''-quotes
221:24: E711 comparison to None should be 'if cond is None:'
234:5: E303 too many blank lines (2)
261: D202 No blank lines allowed *after* function docstring, found 1
261: D400 First line should end with '.', not 'n'
261: D205 Blank line missing between one-line summary and description
261: D208 Docstring is over-indented
261: D300 Expected """-quotes, got '''-quotes
273:5: E303 too many blank lines (3)
276: D202 No blank lines allowed *after* function docstring, found 1
276: D400 First line should end with '.', not 'y'
276: D205 Blank line missing between one-line summary and description
276: D208 Docstring is over-indented
276: D300 Expected """-quotes, got '''-quotes
290:5: F841 local variable 'response' is assigned to but never used
308: D202 No blank lines allowed *after* function docstring, found 1
308: D400 First line should end with '.', not 'd'
308: D205 Blank line missing between one-line summary and description
308: D208 Docstring is over-indented
308: D300 Expected """-quotes, got '''-quotes
318:17: E711 comparison to None should be 'if cond is None:'
326:5: E303 too many blank lines (2)
349:5: E303 too many blank lines (2)
366:5: E303 too many blank lines (2)
377:5: E303 too many blank lines (2)
394:5: E303 too many blank lines (2)
400:16: E126 continuation line over-indented for hanging indent
409:5: E303 too many blank lines (2)
432:5: E303 too many blank lines (2)
438:16: E126 continuation line over-indented for hanging indent
446:21: E126 continuation line over-indented for hanging indent
449:5: E303 too many blank lines (2)
457:5: E303 too many blank lines (2)
472:5: E303 too many blank lines (2)
484:5: E303 too many blank lines (2)
495:5: E303 too many blank lines (2)
508:64: E251 unexpected spaces around keyword / parameter equals
508: D202 No blank lines allowed *after* function docstring, found 1
508: D400 First line should end with '.', not 'd'
508: D205 Blank line missing between one-line summary and description
508: D208 Docstring is over-indented
508: D300 Expected """-quotes, got '''-quotes
534: D401 First line should be imperative: 'Thi', not 'This'
534: D202 No blank lines allowed *after* function docstring, found 1
534: D400 First line should end with '.', not 't'
534: D205 Blank line missing between one-line summary and description
534: D208 Docstring is over-indented
534: D300 Expected """-quotes, got '''-quotes
552:17: E711 comparison to None should be 'if cond is None:'
555:15: E711 comparison to None should be 'if cond is None:'
559:24: E231 missing whitespace after ':'
560:26: E231 missing whitespace after ':'
561:32: E231 missing whitespace after ':'
562:34: E231 missing whitespace after ':'
573:5: E303 too many blank lines (2)
585:51: E712 comparison to True should be 'if cond is True:' or 'if cond:'
591:5: E303 too many blank lines (2)
606:5: E303 too many blank lines (2)
611:5: E303 too many blank lines (2)
630:5: E303 too many blank lines (2)
641:5: E303 too many blank lines (2)
665:5: E303 too many blank lines (2)
703: D401 First line should be imperative: 'Thi', not 'This'
703: D202 No blank lines allowed *after* function docstring, found 1
703: D400 First line should end with '.', not 's'
703: D205 Blank line missing between one-line summary and description
703: D208 Docstring is over-indented
703: D300 Expected """-quotes, got '''-quotes
731:52: E502 the backslash is redundant between brackets
745: D401 First line should be imperative: 'Print', not 'Prints'
748:77: E502 the backslash is redundant between brackets
752:77: E502 the backslash is redundant between brackets
757:77: E502 the backslash is redundant between brackets
758:26: E127 continuation line over-indented for visual indent
760:77: E502 the backslash is redundant between brackets
761:26: E127 continuation line over-indented for visual indent
765:77: E502 the backslash is redundant between brackets
766:26: E127 continuation line over-indented for visual indent
768:77: E502 the backslash is redundant between brackets
769:26: E127 continuation line over-indented for visual indent
770:79: E502 the backslash is redundant between brackets
771:26: E127 continuation line over-indented for visual indent
772:73: E502 the backslash is redundant between brackets
773:26: E127 continuation line over-indented for visual indent
774:77: E502 the backslash is redundant between brackets
775:26: E127 continuation line over-indented for visual indent
776:79: E502 the backslash is redundant between brackets
777:26: E127 continuation line over-indented for visual indent
778:66: E502 the backslash is redundant between brackets
779:26: E127 continuation line over-indented for visual indent
780:67: E502 the backslash is redundant between brackets
781:26: E127 continuation line over-indented for visual indent
782:73: E502 the backslash is redundant between brackets
783:26: E127 continuation line over-indented for visual indent
785:77: E502 the backslash is redundant between brackets
786:26: E127 continuation line over-indented for visual indent
788:77: E502 the backslash is redundant between brackets
789:26: E127 continuation line over-indented for visual indent
790:73: E502 the backslash is redundant between brackets
791:26: E127 continuation line over-indented for visual indent
792:75: E502 the backslash is redundant between brackets
793:26: E127 continuation line over-indented for visual indent
794:76: E502 the backslash is redundant between brackets
795:26: E127 continuation line over-indented for visual indent
796:72: E502 the backslash is redundant between brackets
797:26: E127 continuation line over-indented for visual indent
798:69: E502 the backslash is redundant between brackets
799:26: E127 continuation line over-indented for visual indent
800:74: E502 the backslash is redundant between brackets
801:26: E127 continuation line over-indented for visual indent
802:69: E502 the backslash is redundant between brackets
803:26: E127 continuation line over-indented for visual indent
808: D400 First line should end with '.', not 'e'
808: D208 Docstring is over-indented
808: D200 One-line docstring should not occupy 3 lines
812:24: E231 missing whitespace after ':'
813:27: E231 missing whitespace after ':'
814:23: E231 missing whitespace after ':'
815:31: E231 missing whitespace after ':'
816:22: E231 missing whitespace after ':'
818:32: E231 missing whitespace after ':'
819:32: E231 missing whitespace after ':'
820:26: E231 missing whitespace after ':'
821:36: E231 missing whitespace after ':'
822:33: E231 missing whitespace after ':'
826:37: E127 continuation line over-indented for visual indent
828:37: E128 continuation line under-indented for visual indent
829:37: E128 continuation line under-indented for visual indent
830:37: E128 continuation line under-indented for visual indent
831:37: E128 continuation line under-indented for visual indent
832:37: E128 continuation line under-indented for visual indent
833:37: E128 continuation line under-indented for visual indent
834:37: E128 continuation line under-indented for visual indent
835:37: E128 continuation line under-indented for visual indent
836:37: E128 continuation line under-indented for visual indent
837:37: E128 continuation line under-indented for visual indent
838:37: E128 continuation line under-indented for visual indent
839:37: E128 continuation line under-indented for visual indent
840:37: E128 continuation line under-indented for visual indent
841:37: E128 continuation line under-indented for visual indent
842:37: E128 continuation line under-indented for visual indent
843:37: E128 continuation line under-indented for visual indent
844:37: E128 continuation line under-indented for visual indent
845:37: E128 continuation line under-indented for visual indent
846:37: E128 continuation line under-indented for visual indent
847:37: E128 continuation line under-indented for visual indent
848:37: E128 continuation line under-indented for visual indent
849:37: E128 continuation line under-indented for visual indent
850:37: E128 continuation line under-indented for visual indent
851:37: E124 closing bracket does not match visual indentation
859:8: E713 test for membership should be 'not in'
869:38: E221 multiple spaces before operator
916:13: E303 too many blank lines (2)
940:5: E303 too many blank lines (2)
963:5: E303 too many blank lines (2)
970:61: E502 the backslash is redundant between brackets
970:38: E225 missing whitespace around operator
970:42: E225 missing whitespace around operator
974:5: E303 too many blank lines (2)
991:5: E303 too many blank lines (2)
1003:73: E502 the backslash is redundant between brackets
1003:37: E225 missing whitespace around operator
1003:41: E225 missing whitespace around operator
1007:5: E303 too many blank lines (2)
1033:47: E502 the backslash is redundant between brackets
1040:69: E502 the backslash is redundant between brackets
1040:35: E225 missing whitespace around operator
1040:39: E225 missing whitespace around operator
1041:21: E127 continuation line over-indented for visual indent
1044:5: E303 too many blank lines (2)
1050:47: E502 the backslash is redundant between brackets
1057:69: E502 the backslash is redundant between brackets
1057:35: E225 missing whitespace around operator
1057:39: E225 missing whitespace around operator
1058:21: E127 continuation line over-indented for visual indent
1061:5: E303 too many blank lines (2)
1083:5: E303 too many blank lines (2)
1098:5: E303 too many blank lines (2)
1105:23: E211 whitespace before '['
1106:22: E211 whitespace before '('
1116:34: E225 missing whitespace around operator
1117:34: E225 missing whitespace around operator
1128:21: E211 whitespace before '['
1134:79: E225 missing whitespace around operator
1134:18: E211 whitespace before '('
1140:5: E303 too many blank lines (2)
1147:80: E225 missing whitespace around operator
1147:18: E211 whitespace before '('
1148:26: E127 continuation line over-indented for visual indent
1153:21: E211 whitespace before '['
1158:18: E211 whitespace before '('
1170:18: F823 local variable 'deposit_media' (defined in enclosing scope on line 276) referenced before assignment
1176:5: E303 too many blank lines (2)
1179:22: E231 missing whitespace after ':'
1180:28: E231 missing whitespace after ':'
1186:23: E211 whitespace before '['
1190:22: E211 whitespace before '('
1199:5: E303 too many blank lines (2)
1207:26: E502 the backslash is redundant between brackets
1208:16: E128 continuation line under-indented for visual indent
1211:22: E502 the backslash is redundant between brackets
1212:17: E128 continuation line under-indented for visual indent
1226:5: E303 too many blank lines (2)
1233:80: E225 missing whitespace around operator
1233:18: E211 whitespace before '('
1234:26: E127 continuation line over-indented for visual indent
1239:28: E231 missing whitespace after ':'
1240:19: E128 continuation line under-indented for visual indent
1240:23: E231 missing whitespace after ':'
1241:19: E128 continuation line under-indented for visual indent
1241:28: E231 missing whitespace after ':'
1242:19: E128 continuation line under-indented for visual indent
1242:32: E231 missing whitespace after ':'
1243:19: E128 continuation line under-indented for visual indent
1244:19: E128 continuation line under-indented for visual indent
1245:19: E128 continuation line under-indented for visual indent
1245:28: E231 missing whitespace after ':'
1246:19: E128 continuation line under-indented for visual indent
1246:31: E231 missing whitespace after ':'
1247:19: E128 continuation line under-indented for visual indent
1247:34: E231 missing whitespace after ':'
1248:19: E128 continuation line under-indented for visual indent
1248:32: E231 missing whitespace after ':'
1249:19: E128 continuation line under-indented for visual indent
1249:28: E231 missing whitespace after ':'
1250:19: E128 continuation line under-indented for visual indent
1250:24: E231 missing whitespace after ':'
1251:19: E128 continuation line under-indented for visual indent
1251:31: E231 missing whitespace after ':'
1252:19: E128 continuation line under-indented for visual indent
1252:33: E231 missing whitespace after ':'
1253:19: E128 continuation line under-indented for visual indent
1253:26: E231 missing whitespace after ':'
1255:21: E222 multiple spaces after operator
1285:1: E303 too many blank lines (3)
1289:1: E302 expected 2 blank lines, found 3
1289: D202 No blank lines allowed *after* function docstring, found 1
1289: D400 First line should end with '.', not 'e'
1289: D205 Blank line missing between one-line summary and description
1289: D208 Docstring is over-indented
1289: D300 Expected """-quotes, got '''-quotes
1363: D401 First line should be imperative: 'Thi', not 'This'
1363: D202 No blank lines allowed *after* function docstring, found 1
1363: D400 First line should end with '.', not 'e'
1363: D205 Blank line missing between one-line summary and description
1363: D208 Docstring is over-indented
1363: D300 Expected """-quotes, got '''-quotes
1376: D202 No blank lines allowed *after* function docstring, found 1
1376: D400 First line should end with '.', not 'I'
1376: D205 Blank line missing between one-line summary and description
1376: D208 Docstring is over-indented
1376: D300 Expected """-quotes, got '''-quotes
1410: D202 No blank lines allowed *after* function docstring, found 1
1410: D400 First line should end with '.', not 'd'
1410: D205 Blank line missing between one-line summary and description
1410: D208 Docstring is over-indented
1410: D300 Expected """-quotes, got '''-quotes
1420:23: E711 comparison to None should be 'if cond is None:'
1445:6: E111 indentation is not a multiple of four
1457: D202 No blank lines allowed *after* function docstring, found 1
1457: D400 First line should end with '.', not 'n'
1457: D205 Blank line missing between one-line summary and description
1457: D208 Docstring is over-indented
1457: D300 Expected """-quotes, got '''-quotes
1458:46: E127 continuation line over-indented for visual indent
1468:23: E711 comparison to None should be 'if cond is None:'
1515: D202 No blank lines allowed *after* function docstring, found 1
1515: D400 First line should end with '.', not 'y'
1515: D205 Blank line missing between one-line summary and description
1515: D208 Docstring is over-indented
1515: D300 Expected """-quotes, got '''-quotes
1532:23: E711 comparison to None should be 'if cond is None:'
1535:17: E711 comparison to None should be 'if cond is None:'
1544:5: E303 too many blank lines (2)
1550:5: E303 too many blank lines (2)
1559:5: E303 too many blank lines (2)
1568:5: E303 too many blank lines (2)
1591:43: E221 multiple spaces before operator
1608:56: E203 whitespace before ','
1613:36: E202 whitespace before '}'
1621:5: E303 too many blank lines (2)
1630:5: E303 too many blank lines (2)
1633: D202 No blank lines allowed *after* function docstring, found 1
1633: D400 First line should end with '.', not 'r'
1633: D205 Blank line missing between one-line summary and description
1633: D208 Docstring is over-indented
1633: D300 Expected """-quotes, got '''-quotes
1648:17: E711 comparison to None should be 'if cond is None:'
1690:22: E231 missing whitespace after ':'
1691:28: E231 missing whitespace after ':'
1692:25: E231 missing whitespace after ':'


36:1: I101 Imported names are in the wrong order. Should be CFG_BASE_URL, CFG_BIBFORMAT_HIDDEN_TAGS, CFG_BIBINDEX_CHARS_PUNCTUATION, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBSORT_BUCKETS, CFG_BIBSORT_ENABLED, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_LOGDIR, CFG_OAI_ID_FIELD, CFG_SCOAP3_SITE, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_URL, CFG_SOLR_URL, CFG_WEBSEARCH_DEF_RECORDS_IN_GROUPS, CFG_WEBSEARCH_DETAILED_META_FORMAT, CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS, CFG_WEBSEARCH_FIELDS_CONVERT, CFG_WEBSEARCH_FULLTEXT_SNIPPETS, CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH, CFG_WEBSEARCH_IDXPAIRS_FIELDS, CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT, CFG_WEBSEARCH_SYNONYM_KBRS, CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY, CFG_WEBSEARCH_WILDCARD_LIMIT, CFG_XAPIAN_ENABLED
36:1: F401 'CFG_XAPIAN_ENABLED' imported but unused
36:1: F401 'CFG_BIBINDEX_CHARS_PUNCTUATION' imported but unused
36:1: F401 'CFG_OAI_ID_FIELD' imported but unused
36:1: F401 'CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY' imported but unused
36:1: F401 'CFG_WEBSEARCH_SYNONYM_KBRS' imported but unused
36:1: F401 'CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE' imported but unused
36:1: F401 'CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS' imported but unused
36:1: F401 'CFG_WEBSEARCH_FIELDS_CONVERT' imported but unused
36:1: F401 'CFG_SCOAP3_SITE' imported but unused
36:1: F401 'CFG_BASE_URL' imported but unused
36:1: F401 'CFG_SITE_RECORD' imported but unused
36:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS' imported but unused
36:1: F401 'CFG_INSPIRE_SITE' imported but unused
36:1: F401 'CFG_LOGDIR' imported but unused
36:1: F401 'CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG' imported but unused
36:1: F401 'CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT' imported but unused
36:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused
36:1: F401 'CFG_WEBSEARCH_WILDCARD_LIMIT' imported but unused
36:1: F401 'CFG_WEBSEARCH_DETAILED_META_FORMAT' imported but unused
36:1: F401 'CFG_BIBSORT_BUCKETS' imported but unused
36:1: F401 'CFG_WEBSEARCH_FULLTEXT_SNIPPETS' imported but unused
36:1: F401 'CFG_SOLR_URL' imported but unused
36:1: F401 'CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH' imported but unused
36:1: F401 'CFG_WEBSEARCH_IDXPAIRS_FIELDS' imported but unused
37:6: E126 continuation line over-indented for hanging indent
76:1: F401 'get_most_popular_field_values' imported but unused
77:1: I100 Imports statements are in the wrong order. from invenio.modules.search.errors should be before from invenio.modules.search.utils
77:1: F401 'InvenioWebSearchUnknownCollectionError' imported but unused
77:1: F401 'InvenioWebSearchWildcardLimitError' imported but unused
78:6: E126 continuation line over-indented for hanging indent
80:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.search.errors
80:1: F401 'get_fieldvalues_alephseq_like' imported but unused
83:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from .utils
83:1: I201 Missing newline before sections or imports.
83:1: F401 'record_xml_output' imported but unused
83:1: F401 'create_record' imported but unused
84:1: I101 Imported names are in the wrong order. Should be get_bibrank_methods, is_method_valid, rank_by_citations, rank_records
84:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.record_sorter should be before from invenio.legacy.bibrecord
84:1: F401 'rank_by_citations' imported but unused
84:1: F401 'get_bibrank_methods' imported but unused
89:1: I101 Imported names are in the wrong order. Should be calculate_reading_similarity_list, register_page_view_event
89:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.downloads_similarity should be before from invenio.legacy.bibrank.record_sorter
89:1: F401 'register_page_view_event' imported but unused
89:1: F401 'calculate_reading_similarity_list' imported but unused
90:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_stemmer should be before from invenio.legacy.bibrank.downloads_similarity
90:1: F401 'stem' imported but unused
91:1: F401 'BibIndexDefaultTokenizer' imported but unused
92:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_utils should be before from invenio.modules.indexer.tokenizers.BibIndexDefaultTokenizer
92:1: F401 'author_name_requires_phrase_search' imported but unused
92:1: F401 'get_field_tags' imported but unused
94:1: I101 Imported names are in the wrong order. Should be lower_index_term, wash_author_name, wash_index_term
94:1: F401 'wash_index_term' imported but unused
94:1: F401 'wash_author_name' imported but unused
94:1: F401 'lower_index_term' imported but unused
95:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_config should be before from invenio.legacy.bibindex.engine_washer
95:1: F401 'CFG_BIBINDEX_SYNONYM_MATCH_TYPE' imported but unused
96:1: F401 'create_download_history_graph_and_box' imported but unused
97:1: F401 'DataCacher' imported but unused
98:1: I101 Imported names are in the wrong order. Should be perform_external_collection_search, print_external_results_overview
98:1: F401 'perform_external_collection_search' imported but unused
98:1: F401 'print_external_results_overview' imported but unused
100:1: I101 Imported names are in the wrong order. Should be CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS, CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS, VIEWRESTRCOLL
100:1: F401 'CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
100:1: F401 'CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
103:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch.adminlib should be before from invenio.modules.access.local_config
103:1: F401 'get_detailed_page_tabs' imported but unused
103:1: F401 'get_detailed_page_tabs_counts' imported but unused
104:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.websearch.adminlib
104:1: I201 Missing newline before sections or imports.
105:1: I101 Imported names are in the wrong order. Should be DatabaseError, InvenioDbQueryWildcardLimitError, deserialize_via_marshal
105:1: I201 Missing newline before sections or imports.
105:1: F401 'deserialize_via_marshal' imported but unused
105:1: F401 'DatabaseError' imported but unused
105:1: F401 'InvenioDbQueryWildcardLimitError' imported but unused
106:1: F401 'acc_authorize_action' imported but unused
107:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.access.engine
108:1: I101 Imported names are in the wrong order. Should be encode_for_xml, strip_accents, wash_for_utf8
108:1: F401 'encode_for_xml' imported but unused
108:1: F401 'wash_for_utf8' imported but unused
108:1: F401 'strip_accents' imported but unused
109:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before from invenio.utils.text
114:1: I101 Imported names are in the wrong order. Should be calculate_cited_by_list, calculate_co_cited_with_list, get_cited_by_list, get_citedby_hitset, get_citers_log, get_records_with_num_cites, get_refers_to_list, get_refersto_hitset
114:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before import invenio.legacy.template
114:1: F401 'get_citedby_hitset' imported but unused
114:1: F401 'get_records_with_num_cites' imported but unused
114:1: F401 'calculate_cited_by_list' imported but unused
114:1: F401 'get_refersto_hitset' imported but unused
114:1: F401 'get_cited_by_list' imported but unused
114:1: F401 'get_citers_log' imported but unused
114:1: F401 'calculate_co_cited_with_list' imported but unused
114:1: F401 'get_refers_to_list' imported but unused
119:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_grapher should be before from invenio.legacy.bibrank.citation_searcher
119:1: F401 'create_citation_history_graph_and_box' imported but unused
120:1: I101 Imported names are in the wrong order. Should be get_self_cited_by, get_self_cited_by_list, get_self_refers_to_list
120:1: F401 'get_self_refers_to_list' imported but unused
120:1: F401 'get_self_cited_by' imported but unused
120:1: F401 'get_self_cited_by_list' imported but unused
121:55: E126 continuation line over-indented for hanging indent
124:1: I101 Imported names are in the wrong order. Should be get_table_update_time, run_sql, run_sql_with_limit, wash_table_column_name
124:1: F401 'wash_table_column_name' imported but unused
124:1: F401 'get_table_update_time' imported but unused
124:1: F401 'run_sql_with_limit' imported but unused
126:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid
126:1: F401 'collect_user_info' imported but unused
127:1: I101 Imported names are in the wrong order. Should be create_error_box, pagefooteronly, pageheaderonly, write_warning
127:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
127:1: F401 'pagefooteronly' imported but unused
127:1: F401 'create_error_box' imported but unused
127:1: F401 'write_warning' imported but unused
127:1: F401 'pageheaderonly' imported but unused
128:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
130:1: F401 'apache' imported but unused
132:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch_external_collections should be before from invenio.utils
132:1: F401 'do_calculate_hosted_collections_results' imported but unused
132:1: F401 'calculate_hosted_collections_results' imported but unused
133:1: F401 'CFG_EXTERNAL_COLLECTION_MAXRESULTS' imported but unused
138:22: E203 whitespace before ':'
138:14: E225 missing whitespace around operator
139:24: E203 whitespace before ':'
140:24: E203 whitespace before ':'
141:28: E203 whitespace before ':'
142:30: E203 whitespace before ':'
143:24: E203 whitespace before ':'
144:23: E203 whitespace before ':'
145:29: E203 whitespace before ':'
146:26: E203 whitespace before ':'
147:33: E203 whitespace before ':'
148:30: E203 whitespace before ':'
149:30: E203 whitespace before ':'
150:30: E203 whitespace before ':'
151:30: E203 whitespace before ':'
152:30: E203 whitespace before ':'
153:30: E203 whitespace before ':'
154:41: E703 statement ends with a semicolon
157:1: F401 'collection_restricted_p' imported but unused
158:1: F401 'restricted_collection_cache' imported but unused
159:1: F401 'get_permitted_restricted_collections' imported but unused
160:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.utils
160:1: F401 'get_all_restricted_recids' imported but unused
163:1: F401 'check_user_can_view_record' imported but unused
165:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.records.access
166:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.collections.cache
167:1: F401 'get_field_i18nname' imported but unused
169:1: I100 Imports statements are in the wrong order. from invenio.modules.indexer.models should be before from invenio.modules.search.cache
175: D401 First line should be imperative: 'Create', not 'Creates'
175: D202 No blank lines allowed *after* function docstring, found 1
175: D400 First line should end with '.', not 'n'
175: D205 Blank line missing between one-line summary and description
183:33: E261 at least two spaces before inline comment
192:1: F401 'get_synonym_terms' imported but unused
194:1: F403 'from invenio.modules.search.washers import *' used; unable to detect undefined names
197: D401 First line should be imperative: 'Return', not 'Returns'
197: D300 Expected """-quotes, got '-quotes
218:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.washers
218:1: F401 'get_collection_allchildren' imported but unused
221: D401 First line should be imperative: 'Return', not 'Returns'
221: D202 No blank lines allowed *after* function docstring, found 1
231:34: E261 at least two spaces before inline comment
248:13: B901 blind except: statement
279: D400 First line should end with '.', not 'o'
279: D205 Blank line missing between one-line summary and description
279: D208 Docstring is over-indented
324:1: F403 'from invenio.modules.search.searchext.engines.native import *' used; unable to detect undefined names
327: D209 Put multi-line docstring closing quotes on separate line
327: D400 First line should end with '.', not 'y'
327: D205 Blank line missing between one-line summary and description
327: D208 Docstring is over-indented
340:38: E203 whitespace before ','
371:1: E302 expected 2 blank lines, found 0
371: D209 Put multi-line docstring closing quotes on separate line
371: D400 First line should end with '.', not 'g'
371: D205 Blank line missing between one-line summary and description
371: D208 Docstring is over-indented
400: D209 Put multi-line docstring closing quotes on separate line
400: D205 Blank line missing between one-line summary and description
412:1: I100 Imports statements are in the wrong order. from invenio.modules.search.models should be before from invenio.modules.search.searchext.engines.native
417: D290 White spaces around docstring should be trimmed.
417: D400 First line should end with '.', not 'h'
417: D205 Blank line missing between one-line summary and description
435: D401 First line should be imperative: 'I', not 'Is'
435: D400 First line should end with '.', not '?'
446:1: E302 expected 2 blank lines, found 1
446: D205 Blank line missing between one-line summary and description
446: D208 Docstring is over-indented
453:1: I101 Imported names are in the wrong order. Should be CACHE_SORTED_DATA, SORTING_METHODS
453:1: F401 'CACHE_SORTED_DATA' imported but unused
456: D205 Blank line missing between one-line summary and description
456: D208 Docstring is over-indented
470:20: E127 continuation line over-indented for visual indent
472:25: E126 continuation line over-indented for hanging indent
523: D103 Docstring missing
533: D401 First line should be imperative: 'calculate', not 'calculates'
533: D209 Put multi-line docstring closing quotes on separate line
533: D202 No blank lines allowed *after* function docstring, found 1
533: D400 First line should end with '.', not 'e'
533: D205 Blank line missing between one-line summary and description
544:20: E261 at least two spaces before inline comment
548:17: E261 at least two spaces before inline comment
591: D290 White spaces around docstring should be trimmed.
591: D400 First line should end with '.', not 'n'
597:25: E261 at least two spaces before inline comment
598:13: E222 multiple spaces after operator
621:10: E261 at least two spaces before inline comment
640: D103 Docstring missing
641:25: E128 continuation line under-indented for visual indent
642:25: E128 continuation line under-indented for visual indent
643:25: E128 continuation line under-indented for visual indent
644:25: E128 continuation line under-indented for visual indent
661: D401 First line should be imperative: 'Set', not 'Sets'
661: D202 No blank lines allowed *after* function docstring, found 1
661: D400 First line should end with '.', not 'l'
661: D200 One-line docstring should not occupy 3 lines
662:23: E128 continuation line under-indented for visual indent
663:23: E128 continuation line under-indented for visual indent
664:23: E128 continuation line under-indented for visual indent
665:23: E128 continuation line under-indented for visual indent
666:23: E128 continuation line under-indented for visual indent
704:9: B901 blind except: statement


1: D205 Blank line missing between one-line summary and description
4: L102 copyright year is outdated, expected 2015 but got 2011
33:1: E302 expected 2 blank lines, found 1
33: D205 Blank line missing between one-line summary and description
33: D208 Docstring is over-indented
39:5: F401 'print_records' imported but unused
47:13: F821 undefined name 'format_records'
51:13: F821 undefined name 'format_records'
94:8: E201 whitespace after '{'
94:16: E203 whitespace before ':'
99:9: F821 undefined name 'format_records'


24:1: I100 Imports statements are in the wrong order. import datetime should be before import os
24:1: F401 'datetime' imported but unused
25:1: F401 'time' imported but unused
26:1: I100 Imports statements are in the wrong order. import sys should be before import time
28:1: I201 Missing newline before sections or imports.
29:1: I100 Imports statements are in the wrong order. import threading should be before from invenio.utils
29:1: I201 Missing newline before sections or imports.
29:1: F401 'threading' imported but unused
41:1: I101 Imported names are in the wrong order. Should be CFG_BIBRANK_SHOW_DOWNLOAD_STATS, CFG_CACHEDIR, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBDIR, CFG_WEBSEARCH_DEFAULT_SEARCH_INTERFACE, CFG_WEBSEARCH_ENABLED_SEARCH_INTERFACES, CFG_WEBSEARCH_INSTANT_BROWSE_RSS, CFG_WEBSEARCH_MAX_RECORDS_IN_GROUPS, CFG_WEBSEARCH_RSS_I18N_COLLECTIONS, CFG_WEBSEARCH_RSS_MAX_CACHED_REQUESTS, CFG_WEBSEARCH_RSS_TTL, CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS, CFG_WEBSEARCH_WILDCARD_LIMIT
41:1: F401 'CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS' imported but unused
41:1: F401 'CFG_WEBSEARCH_RSS_TTL' imported but unused
41:1: F401 'CFG_WEBSEARCH_RSS_MAX_CACHED_REQUESTS' imported but unused
41:1: F401 'CFG_WEBSEARCH_RSS_I18N_COLLECTIONS' imported but unused
41:1: F401 'CFG_INSPIRE_SITE' imported but unused
41:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_STATS' imported but unused
41:1: F401 'CFG_CACHEDIR' imported but unused
41:1: F401 'CFG_WEBSEARCH_INSTANT_BROWSE_RSS' imported but unused
61:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
61:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.dbquery
62:1: I101 Imported names are in the wrong order. Should be drop_default_urlargd, make_canonical_urlargd, redirect_to_url
63:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
63:1: F401 'get_mathjax_header' imported but unused
64:1: F401 'nmtoken_from_string' imported but unused
65:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, get_user_preferences, isUserSuperAdmin, logoutUser, page_not_authorized
65:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.html
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.webcomment.webinterface should be before from invenio.legacy.webuser
69:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.webinterface should be before from invenio.legacy.weblinkback.webinterface
70:1: I101 Imported names are in the wrong order. Should be create_error_box, page, pageheaderonly
70:1: F401 'pageheaderonly' imported but unused
71:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
72:1: I101 Imported names are in the wrong order. Should be EM_REPOSITORY, check_user_can_view_record, collection_reclist_cache, collection_restricted_p, get_coll_i18nname, get_most_popular_field_values, guess_primary_collection_of_a_record, perform_request_search, restricted_collection_cache
72:1: F401 'collection_reclist_cache' imported but unused
72:1: F401 'get_most_popular_field_values' imported but unused
72:1: F401 'EM_REPOSITORY' imported but unused
82:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.collections.models
82:1: F401 'get_fieldvalues' imported but unused
82:1: F401 'get_fieldvalues_alephseq_like' imported but unused
83:6: E126 continuation line over-indented for hanging indent
89:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.modules.formatter.engine
89:1: I201 Missing newline before sections or imports.
90:1: I201 Missing newline before sections or imports.
91:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before from invenio.legacy.bibupload.engine
91:1: F401 'get_cited_by_list' imported but unused
92:1: F401 'get_download_weight_total' imported but unused
93:1: F401 'summarize_records' imported but unused
94:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.search_engine.summarizer
98:1: I101 Imported names are in the wrong order. Should be WebInterfaceFilesPages, WebInterfaceManageDocFilesPages
98:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.webinterface should be before from invenio.legacy.bibmerge.webinterface
100:1: F401 'mymkdir' imported but unused
102:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.shell
108:83: E502 the backslash is redundant between brackets
115: D202 No blank lines allowed *after* function docstring, found 1
115: D200 One-line docstring should not occupy 3 lines
154: D290 White spaces around docstring should be trimmed.
154: D203 Expected 1 blank line *before* class docstring, found 0
154: D204 Expected 1 blank line *after* class docstring, found 0
158: D102 Docstring missing
160:17: E203 whitespace before ':'
161:21: E203 whitespace before ':'
173:22: E203 whitespace before ':'
174:26: E203 whitespace before ':'
175:21: E203 whitespace before ':'
176:26: E203 whitespace before ':'
177:23: E203 whitespace before ':'
191: D290 White spaces around docstring should be trimmed.
191: D203 Expected 1 blank line *before* class docstring, found 0
191: D400 First line should end with '.', not 't'
200: D102 Docstring missing
222: D102 Docstring missing
237:17: E128 continuation line under-indented for visual indent
265:86: E203 whitespace before ':'
267:21: E127 continuation line over-indented for visual indent
267:67: E203 whitespace before ':'
267:91: E203 whitespace before ':'
270:52: E502 the backslash is redundant between brackets
271:17: E128 continuation line under-indented for visual indent
271:32: E502 the backslash is redundant between brackets
272:17: E128 continuation line under-indented for visual indent
285:42: E261 at least two spaces before inline comment
285:43: E262 inline comment should start with '# '
300: D290 White spaces around docstring should be trimmed.
300: D203 Expected 1 blank line *before* class docstring, found 0
300: D400 First line should end with '.', not 't'
309: D102 Docstring missing
329: D102 Docstring missing
341:17: E128 continuation line under-indented for visual indent
371:21: E128 continuation line under-indented for visual indent
372:21: E128 continuation line under-indented for visual indent
391: D290 White spaces around docstring should be trimmed.
391: D203 Expected 1 blank line *before* class docstring, found 0
396: D290 White spaces around docstring should be trimmed.
409:17: E128 continuation line under-indented for visual indent
410:40: E126 continuation line over-indented for hanging indent
453:102: E203 whitespace before ':'
455:37: E127 continuation line over-indented for visual indent
455:83: E203 whitespace before ':'
455:107: E203 whitespace before ':'
458:64: E502 the backslash is redundant between brackets
459:29: E128 continuation line under-indented for visual indent
459:44: E502 the backslash is redundant between brackets
460:29: E128 continuation line under-indented for visual indent
470:94: E203 whitespace before ':'
472:29: E127 continuation line over-indented for visual indent
472:75: E203 whitespace before ':'
472:99: E203 whitespace before ':'
475:60: E502 the backslash is redundant between brackets
476:25: E128 continuation line under-indented for visual indent
476:40: E502 the backslash is redundant between brackets
477:25: E128 continuation line under-indented for visual indent
503: D202 No blank lines allowed *after* method docstring, found 1
513:94: E203 whitespace before ':'
515:29: E127 continuation line over-indented for visual indent
515:75: E203 whitespace before ':'
515:99: E203 whitespace before ':'
518:60: E502 the backslash is redundant between brackets
519:25: E128 continuation line under-indented for visual indent
519:40: E502 the backslash is redundant between brackets
520:25: E128 continuation line under-indented for visual indent
548:9: E303 too many blank lines (2)
560: D290 White spaces around docstring should be trimmed.
560: D203 Expected 1 blank line *before* class docstring, found 0
565: D290 White spaces around docstring should be trimmed.
565: D202 No blank lines allowed *after* method docstring, found 1
592:1: E302 expected 2 blank lines, found 1
592: D290 White spaces around docstring should be trimmed.
605: D209 Put multi-line docstring closing quotes on separate line
605: D400 First line should end with '.', not 't'
605: D205 Blank line missing between one-line summary and description
618: D401 First line should be imperative: 'Thi', not 'This'
618: D290 White spaces around docstring should be trimmed.
618: D209 Put multi-line docstring closing quotes on separate line
618: D202 No blank lines allowed *after* method docstring, found 1
618: D400 First line should end with '.', not 'r'
618: D205 Blank line missing between one-line summary and description
721: D400 First line should end with '.', not 'I'
723:63: E231 missing whitespace after ','
730: D290 White spaces around docstring should be trimmed.
739: D400 First line should end with '.', not 'e'
744:55: E202 whitespace before '}'
786: D209 Put multi-line docstring closing quotes on separate line
786: D400 First line should end with '.', not 'g'
786: D205 Blank line missing between one-line summary and description
791:84: E203 whitespace before ':'
802:17: E128 continuation line under-indented for visual indent
805:13: F841 local variable 'user_preferences' is assigned to but never used
819:5: F841 local variable 'normalised_name' is assigned to but never used
838: D400 First line should end with '.', not 'e'
838: D205 Blank line missing between one-line summary and description
858:59: E502 the backslash is redundant between brackets
859:32: F812 list comprehension redefines 'doi' from line 838
882:27: F841 local variable 'e' is assigned to but never used
896: D203 Expected 1 blank line *before* class docstring, found 0
908: D290 White spaces around docstring should be trimmed.
908: D203 Expected 1 blank line *before* class docstring, found 0
908: D400 First line should end with '.', not 't'
913: D102 Docstring missing
922: D102 Docstring missing
932:17: E128 continuation line under-indented for visual indent
962:86: E203 whitespace before ':'
964:21: E127 continuation line over-indented for visual indent
964:67: E203 whitespace before ':'
964:91: E203 whitespace before ':'
967:52: E502 the backslash is redundant between brackets
968:17: E128 continuation line under-indented for visual indent
968:32: E502 the backslash is redundant between brackets
969:17: E128 continuation line under-indented for visual indent