1: D100 Docstring missing
4: L102 copyright year is outdated, expected 2015 but got 2011
31:1: I100 Imports statements are in the wrong order. import datetime should be before from time
33:1: I101 Imported names are in the wrong order. Should be CFG_LOGDIR, CFG_SITE_ADMIN_EMAIL, CFG_SITE_NAME, CFG_SITE_URL, CFG_WEBALERT_MAX_NUM_OF_RECORDS_IN_ALERT_EMAIL, CFG_WEBALERT_SEND_EMAIL_NUMBER_OF_TRIES, CFG_WEBALERT_SEND_EMAIL_SLEEPTIME_BETWEEN_TRIES
34:6: E126 continuation line over-indented for hanging indent
41:1: I101 Imported names are in the wrong order. Should be add_to_basket, get_basket_owner_id
42:1: I100 Imports statements are in the wrong order. from invenio.legacy.webbasket.api should be before from invenio.legacy.webbasket.db_layer
43:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, perform_request_search
43:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.legacy.webbasket.api
44:6: E126 continuation line over-indented for hanging indent
45:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.search_engine
47:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email
48:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.legacy.webuser
52:1: I101 Imported names are in the wrong order. Should be CFG_EXTERNAL_COLLECTION_MAXRESULTS_ALERTS, CFG_EXTERNAL_COLLECTION_TIMEOUT
53:1: E122 continuation line missing indentation or outdented
54:1: E122 continuation line missing indentation or outdented
59:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.search.models
63:1: E302 expected 2 blank lines, found 1
63: D202 No blank lines allowed *after* function docstring, found 1
68:1: E302 expected 2 blank lines, found 1
68: D202 No blank lines allowed *after* function docstring, found 1
73:1: E302 expected 2 blank lines, found 1
73: D401 First line should be imperative: 'Return', not 'Returns'
73: D202 No blank lines allowed *after* function docstring, found 1
78:1: E302 expected 2 blank lines, found 1
78: D401 First line should be imperative: 'Return', not 'Returns'
78: D202 No blank lines allowed *after* function docstring, found 1
78: D400 First line should end with '.', not 'm'
84:1: E302 expected 2 blank lines, found 1
84: D202 No blank lines allowed *after* function docstring, found 1
84: D400 First line should end with '.', not 's'
94:29: E261 at least two spaces before inline comment
122:99: E502 the backslash is redundant between brackets
157:1: E302 expected 2 blank lines, found 1
157: D401 First line should be imperative: 'Return', not 'Returns'
157: D202 No blank lines allowed *after* function docstring, found 1
163:1: E302 expected 2 blank lines, found 1
172:37: E261 at least two spaces before inline comment
173:29: E261 at least two spaces before inline comment
203:99: E502 the backslash is redundant between brackets
262:1: E302 expected 2 blank lines, found 1
262: D202 No blank lines allowed *after* function docstring, found 1
267:1: E302 expected 2 blank lines, found 1
267: D401 First line should be imperative: 'Return', not 'Returns'
267: D202 No blank lines allowed *after* function docstring, found 1
271:6: E221 multiple spaces before operator
272:6: E221 multiple spaces before operator
273:7: E221 multiple spaces before operator
274:8: E221 multiple spaces before operator
275:6: E221 multiple spaces before operator
276:7: E221 multiple spaces before operator
277:7: E221 multiple spaces before operator
278:7: E221 multiple spaces before operator
279:7: E221 multiple spaces before operator
280:7: E221 multiple spaces before operator
281:7: E221 multiple spaces before operator
282:8: E221 multiple spaces before operator
283:7: E221 multiple spaces before operator
284:7: E221 multiple spaces before operator
285:7: E221 multiple spaces before operator
286:8: E221 multiple spaces before operator
287:7: E221 multiple spaces before operator
288:7: E221 multiple spaces before operator
289:7: E221 multiple spaces before operator
290:7: E221 multiple spaces before operator
298:25: E261 at least two spaces before inline comment
298:26: E262 inline comment should start with '# '
300:10: E261 at least two spaces before inline comment
305:18: E261 at least two spaces before inline comment
305:19: E262 inline comment should start with '# '
318:35: E128 continuation line under-indented for visual indent
319:35: E128 continuation line under-indented for visual indent
320:35: E128 continuation line under-indented for visual indent
324:1: E302 expected 2 blank lines, found 1
324: D209 Put multi-line docstring closing quotes on separate line
324: D202 No blank lines allowed *after* function docstring, found 1
367:1: E302 expected 2 blank lines, found 1
367: D209 Put multi-line docstring closing quotes on separate line
367: D202 No blank lines allowed *after* function docstring, found 1
380:1: E302 expected 2 blank lines, found 1
380: D209 Put multi-line docstring closing quotes on separate line
380: D202 No blank lines allowed *after* function docstring, found 1
393:1: E302 expected 2 blank lines, found 1
393: D209 Put multi-line docstring closing quotes on separate line
393: D202 No blank lines allowed *after* function docstring, found 1
405:1: E302 expected 2 blank lines, found 1
405: D209 Put multi-line docstring closing quotes on separate line
405: D202 No blank lines allowed *after* function docstring, found 1
422:1: E302 expected 2 blank lines, found 1
422: D401 First line should be imperative: 'Log', not 'Logs'
422: D202 No blank lines allowed *after* function docstring, found 1
433:1: E302 expected 2 blank lines, found 1
433: D209 Put multi-line docstring closing quotes on separate line
433: D202 No blank lines allowed *after* function docstring, found 1
433: D400 First line should end with '.', not 's'
433: D205 Blank line missing between one-line summary and description
451:82: E502 the backslash is redundant between brackets
456:106: E502 the backslash is redundant between brackets
461:1: E302 expected 2 blank lines, found 1
461: D202 No blank lines allowed *after* function docstring, found 1
461: D400 First line should end with '.', not '?'
466:1: E302 expected 2 blank lines, found 1
466: D202 No blank lines allowed *after* function docstring, found 1
466: D400 First line should end with '.', not '?'
471:1: E302 expected 2 blank lines, found 1
471: D209 Put multi-line docstring closing quotes on separate line
471: D202 No blank lines allowed *after* function docstring, found 1
480:31: E261 at least two spaces before inline comment
486:1: E302 expected 2 blank lines, found 1
486: D209 Put multi-line docstring closing quotes on separate line
486: D202 No blank lines allowed *after* function docstring, found 1
486: D400 First line should end with '.', not 's'
486: D205 Blank line missing between one-line summary and description
494:1: E302 expected 2 blank lines, found 1
494: D209 Put multi-line docstring closing quotes on separate line
494: D202 No blank lines allowed *after* function docstring, found 1
494: D205 Blank line missing between one-line summary and description
509:1: E302 expected 2 blank lines, found 1
509: D209 Put multi-line docstring closing quotes on separate line
509: D202 No blank lines allowed *after* function docstring, found 1
509: D400 First line should end with '.', not 's'
509: D205 Blank line missing between one-line summary and description
532: D209 Put multi-line docstring closing quotes on separate line
532: D205 Blank line missing between one-line summary and description
543:64: E261 at least two spaces before inline comment
543:65: E262 inline comment should start with '# '
555:1: E302 expected 2 blank lines, found 1
555: D202 No blank lines allowed *after* function docstring, found 1
555: D400 First line should end with '.', not 'l'
576:44: E261 at least two spaces before inline comment
576:45: E262 inline comment should start with '# '


1: D400 First line should end with '.', not 'r'
1: D200 One-line docstring should not occupy 3 lines
4: L102 copyright year is outdated, expected 2015 but got 2014
30:1: I100 Imports statements are in the wrong order. from datetime should be before from urllib
32:1: I101 Imported names are in the wrong order. Should be author_has_papers, get_papers_by_person_id, get_person_id_from_canonical_id, get_person_id_from_paper, get_person_redirect_link, is_valid_bibref, is_valid_canonical_id, search_person_ids_by_name
32:1: F401 'get_papers_by_person_id' imported but unused
36:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibauthorid.webapi should be before from invenio.legacy.bibauthorid.webauthorprofileinterface
38:1: I101 Imported names are in the wrong order. Should be expire_all_cache_for_person, get_coauthors, get_collabtuples, get_datasets, get_external_publications, get_fieldtuples, get_hepnames_data, get_institute_pubs, get_internal_publications, get_kwtuples, get_person_names_dicts, get_person_oldest_date, get_pubs, get_pubs_per_year, get_self_pubs, get_summarize_records, get_total_downloads, get_veryfy_my_pubs_list_link
45:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from .corefunctions
46:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
46:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.webpage
48:1: I100 Imports statements are in the wrong order. from invenio.utils.json should be before from invenio.utils.url
49:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibauthorid.templates should be before from invenio.utils.json
51:1: I100 Imports statements are in the wrong order. import invenio.legacy.bibauthorid.webapi should be before from invenio.legacy.bibauthorid.webinterface
54:1: I101 Imported names are in the wrong order. Should be cProfile, cStringIO, pstats
54:1: I666 Import statement mixes groups
54:16: E401 multiple imports on one line
83: D103 Docstring missing
104:1: E302 expected 2 blank lines, found 1
104: D203 Expected 1 blank line *before* class docstring, found 0
104: D204 Expected 1 blank line *after* class docstring, found 0
104: D400 First line should end with '.', not '/'
104: D300 Expected """-quotes, got '''-quotes
104: D200 One-line docstring should not occupy 3 lines
124:5: E303 too many blank lines (2)
124: D300 Expected """-quotes, got '''-quotes
140:13: E129 visually indented line with same indent as next logical line
172:5: E303 too many blank lines (2)
172: D401 First line should be imperative: 'Thi', not 'This'
172: D400 First line should end with '.', not ':'
172: D205 Blank line missing between one-line summary and description
172: D300 Expected """-quotes, got '''-quotes
179:12: E713 test for membership should be 'not in'
188: D401 First line should be imperative: 'Serve', not 'Serves'
188: D205 Blank line missing between one-line summary and description
188: D300 Expected """-quotes, got '''-quotes
229:104: E251 unexpected spaces around keyword / parameter equals
229:106: E251 unexpected spaces around keyword / parameter equals
244:5: E303 too many blank lines (2)
244: D202 No blank lines allowed *after* method docstring, found 1
244: D205 Blank line missing between one-line summary and description
244: D300 Expected """-quotes, got '''-quotes
313:24: W601 .has_key() is deprecated, use 'in'
322:46: E251 unexpected spaces around keyword / parameter equals
322:48: E251 unexpected spaces around keyword / parameter equals
342: D102 Docstring missing
343:16: W601 .has_key() is deprecated, use 'in'
347:25: W601 .has_key() is deprecated, use 'in'
368: D102 Docstring missing
369:16: W601 .has_key() is deprecated, use 'in'
373:25: W601 .has_key() is deprecated, use 'in'
398: D102 Docstring missing
399:16: W601 .has_key() is deprecated, use 'in'
403:25: W601 .has_key() is deprecated, use 'in'
423: D102 Docstring missing
424:16: W601 .has_key() is deprecated, use 'in'
428:25: W601 .has_key() is deprecated, use 'in'
448: D102 Docstring missing
449:16: W601 .has_key() is deprecated, use 'in'
453:25: W601 .has_key() is deprecated, use 'in'
465: D102 Docstring missing
466:16: W601 .has_key() is deprecated, use 'in'
470:25: W601 .has_key() is deprecated, use 'in'
487: D102 Docstring missing
488:16: W601 .has_key() is deprecated, use 'in'
492:25: W601 .has_key() is deprecated, use 'in'
509: D102 Docstring missing
510:16: W601 .has_key() is deprecated, use 'in'
514:25: W601 .has_key() is deprecated, use 'in'
540: D102 Docstring missing
541:16: W601 .has_key() is deprecated, use 'in'
545:25: W601 .has_key() is deprecated, use 'in'
561: D102 Docstring missing
562:16: W601 .has_key() is deprecated, use 'in'
566:25: W601 .has_key() is deprecated, use 'in'
578: D102 Docstring missing
579:16: W601 .has_key() is deprecated, use 'in'
583:25: W601 .has_key() is deprecated, use 'in'
593: D102 Docstring missing
594:16: W601 .has_key() is deprecated, use 'in'
598:25: W601 .has_key() is deprecated, use 'in'
613: D102 Docstring missing
614:16: W601 .has_key() is deprecated, use 'in'
618:25: W601 .has_key() is deprecated, use 'in'
631:30: E126 continuation line over-indented for hanging indent
632:30: E128 continuation line under-indented for visual indent
633:46: E128 continuation line under-indented for visual indent
639:5: E303 too many blank lines (2)
639: D102 Docstring missing
644:24: W601 .has_key() is deprecated, use 'in'
669:1: W391 blank line at end of file


2: L102 copyright year is outdated, expected 2015 but got 2013
32:1: I100 Imports statements are in the wrong order. import cgi should be before from intbitset
34:1: I101 Imported names are in the wrong order. Should be HTTPConnection, urlsplit
37:1: I100 Imports statements are in the wrong order. import re should be before from zlib
40:6: E126 continuation line over-indented for hanging indent
41:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config
42:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.base.i18n
43:1: I101 Imported names are in the wrong order. Should be convert_datestruct_to_dategui, convert_datetext_to_dategui, convert_datetext_to_datestruct
44:31: E126 continuation line over-indented for hanging indent
46:1: I100 Imports statements are in the wrong order. from invenio.modules.formatter should be before from invenio.utils.date
48:1: I101 Imported names are in the wrong order. Should be collect_user_info, isGuestUser
48:1: I100 Imports statements are in the wrong order. from invenio.legacy.webuser should be before from invenio.utils.url
49:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, get_merged_recid, record_exists
49:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.legacy.webuser
50:6: E126 continuation line over-indented for hanging indent
61:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch_external_collections should be before from invenio.legacy.websearch_external_collections.utils
64:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.websearch_external_collections.getter
73:1: E302 expected 2 blank lines, found 1
73: D209 Put multi-line docstring closing quotes on separate line
73: D202 No blank lines allowed *after* function docstring, found 1
73: D205 Blank line missing between one-line summary and description
106:13: E113 unexpected indentation
124:75: E128 continuation line under-indented for visual indent
125:75: E128 continuation line under-indented for visual indent
126:75: E128 continuation line under-indented for visual indent
127:75: E128 continuation line under-indented for visual indent
128:75: E128 continuation line under-indented for visual indent
129:75: E128 continuation line under-indented for visual indent
130:75: E128 continuation line under-indented for visual indent
149:55: E231 missing whitespace after ','
154:59: E128 continuation line under-indented for visual indent
155:59: E128 continuation line under-indented for visual indent
156:59: E128 continuation line under-indented for visual indent
157:59: E128 continuation line under-indented for visual indent
158:59: E128 continuation line under-indented for visual indent
159:59: E128 continuation line under-indented for visual indent
160:59: E128 continuation line under-indented for visual indent
161:59: E128 continuation line under-indented for visual indent
182:1: E302 expected 2 blank lines, found 1
182: D209 Put multi-line docstring closing quotes on separate line
182: D202 No blank lines allowed *after* function docstring, found 1
182: D205 Blank line missing between one-line summary and description
260:1: E302 expected 2 blank lines, found 1
260: D209 Put multi-line docstring closing quotes on separate line
260: D202 No blank lines allowed *after* function docstring, found 1
260: D205 Blank line missing between one-line summary and description
335:1: E302 expected 2 blank lines, found 1
335: D209 Put multi-line docstring closing quotes on separate line
335: D201 No blank lines allowed *before* function docstring, found 1
335: D202 No blank lines allowed *after* function docstring, found 1
335: D205 Blank line missing between one-line summary and description
391:1: E302 expected 2 blank lines, found 1
391: D400 First line should end with '.', not 'm'
391: D205 Blank line missing between one-line summary and description
447:1: E302 expected 2 blank lines, found 1
447: D290 White spaces around docstring should be trimmed.
447: D205 Blank line missing between one-line summary and description
480:44: E261 at least two spaces before inline comment
519:1: E302 expected 2 blank lines, found 1
519: D209 Put multi-line docstring closing quotes on separate line
519: D202 No blank lines allowed *after* function docstring, found 1
519: D205 Blank line missing between one-line summary and description
552:5: E303 too many blank lines (2)
637:96: E502 the backslash is redundant between brackets
820:1: E302 expected 2 blank lines, found 1
820: D209 Put multi-line docstring closing quotes on separate line
820: D202 No blank lines allowed *after* function docstring, found 1
820: D205 Blank line missing between one-line summary and description
867:49: E261 at least two spaces before inline comment
879:30: E225 missing whitespace around operator
938:20: E222 multiple spaces after operator
941:1: E302 expected 2 blank lines, found 1
941: D209 Put multi-line docstring closing quotes on separate line
941: D202 No blank lines allowed *after* function docstring, found 1
941: D205 Blank line missing between one-line summary and description
1029:48: E128 continuation line under-indented for visual indent
1030:48: E128 continuation line under-indented for visual indent
1031:48: E128 continuation line under-indented for visual indent
1035:48: E126 continuation line over-indented for hanging indent
1045:1: E302 expected 2 blank lines, found 1
1045: D209 Put multi-line docstring closing quotes on separate line
1045: D202 No blank lines allowed *after* function docstring, found 1
1045: D205 Blank line missing between one-line summary and description
1061:5: F841 local variable '_' is assigned to but never used
1170:22: E221 multiple spaces before operator
1172:22: E221 multiple spaces before operator
1173:27: E221 multiple spaces before operator
1181:22: E221 multiple spaces before operator
1183:22: E221 multiple spaces before operator
1184:22: E221 multiple spaces before operator
1185:22: E221 multiple spaces before operator
1186:27: E221 multiple spaces before operator
1203:26: E221 multiple spaces before operator
1205:26: E221 multiple spaces before operator
1206:31: E221 multiple spaces before operator
1212:62: E201 whitespace after '('
1212:143: E202 whitespace before ')'
1244:22: E221 multiple spaces before operator
1246:22: E221 multiple spaces before operator
1247:27: E221 multiple spaces before operator
1249:27: E221 multiple spaces before operator
1254:43: E221 multiple spaces before operator
1260:22: E221 multiple spaces before operator
1262:22: E221 multiple spaces before operator
1263:27: E221 multiple spaces before operator
1265:22: E221 multiple spaces before operator
1266:22: E221 multiple spaces before operator
1267:27: E221 multiple spaces before operator
1279:47: E221 multiple spaces before operator
1287:26: E221 multiple spaces before operator
1289:26: E221 multiple spaces before operator
1290:31: E221 multiple spaces before operator
1292:31: E221 multiple spaces before operator
1298:59: E201 whitespace after '('
1298:134: E202 whitespace before ')'
1301:47: E221 multiple spaces before operator
1333:22: E221 multiple spaces before operator
1336:27: E221 multiple spaces before operator
1341:43: E221 multiple spaces before operator
1347:22: E221 multiple spaces before operator
1350:22: E221 multiple spaces before operator
1351:22: E221 multiple spaces before operator
1352:27: E221 multiple spaces before operator
1364:47: E221 multiple spaces before operator
1372:26: E221 multiple spaces before operator
1375:31: E221 multiple spaces before operator
1381:60: E201 whitespace after '('
1381:137: E202 whitespace before ')'
1384:47: E221 multiple spaces before operator
1416:22: E221 multiple spaces before operator
1419:27: E221 multiple spaces before operator
1424:43: E221 multiple spaces before operator
1430:22: E221 multiple spaces before operator
1433:22: E221 multiple spaces before operator
1434:22: E221 multiple spaces before operator
1435:27: E221 multiple spaces before operator
1447:47: E221 multiple spaces before operator
1455:26: E221 multiple spaces before operator
1458:31: E221 multiple spaces before operator
1464:64: E201 whitespace after '('
1464:149: E202 whitespace before ')'
1467:47: E221 multiple spaces before operator
1520:1: E302 expected 2 blank lines, found 1
1520: D400 First line should end with '.', not 'm'
1520: D205 Blank line missing between one-line summary and description
1581:1: E302 expected 2 blank lines, found 1
1581: D290 White spaces around docstring should be trimmed.
1581: D205 Blank line missing between one-line summary and description
1619:62: E502 the backslash is redundant between brackets
1620:16: E129 visually indented line with same indent as next logical line
1659:1: E302 expected 2 blank lines, found 1
1659: D202 No blank lines allowed *after* function docstring, found 1
1708:1: E302 expected 2 blank lines, found 1
1708: D209 Put multi-line docstring closing quotes on separate line
1708: D202 No blank lines allowed *after* function docstring, found 1
1708: D400 First line should end with '.', not 's'
1708: D205 Blank line missing between one-line summary and description
1916:17: E201 whitespace after '('
1916:53: E202 whitespace before ')'
1916:60: E201 whitespace after '('
1916:78: E201 whitespace after '('
1916:120: E202 whitespace before ')'
1916:122: E202 whitespace before ')'
1935:28: E126 continuation line over-indented for hanging indent
1935:59: E502 the backslash is redundant between brackets
2021:1: E302 expected 2 blank lines, found 1
2021: D209 Put multi-line docstring closing quotes on separate line
2021: D202 No blank lines allowed *after* function docstring, found 1
2021: D205 Blank line missing between one-line summary and description
2041:43: F841 local variable 'exc' is assigned to but never used
2058:1: E302 expected 2 blank lines, found 1
2058: D205 Blank line missing between one-line summary and description
2069:1: E302 expected 2 blank lines, found 1
2069: D205 Blank line missing between one-line summary and description
2081:1: E302 expected 2 blank lines, found 1
2081: D400 First line should end with '.', not 's'
2081: D205 Blank line missing between one-line summary and description
2082:35: E251 unexpected spaces around keyword / parameter equals
2082:37: E251 unexpected spaces around keyword / parameter equals
2110:43: F841 local variable 'exc' is assigned to but never used
2166:1: E302 expected 2 blank lines, found 1
2166: D205 Blank line missing between one-line summary and description
2197:1: E302 expected 2 blank lines, found 1
2197: D400 First line should end with '.', not 'h'
2197: D205 Blank line missing between one-line summary and description
2216:1: E302 expected 2 blank lines, found 1
2216: D400 First line should end with '.', not ','
2216: D205 Blank line missing between one-line summary and description
2225:39: E251 unexpected spaces around keyword / parameter equals
2225:41: E251 unexpected spaces around keyword / parameter equals
2227:42: E251 unexpected spaces around keyword / parameter equals
2227:44: E251 unexpected spaces around keyword / parameter equals
2254:41: E261 at least two spaces before inline comment
2292:1: E302 expected 2 blank lines, found 1
2292: D401 First line should be imperative: 'Subscribe', not 'Subscribes'
2292: D209 Put multi-line docstring closing quotes on separate line
2292: D205 Blank line missing between one-line summary and description
2322:1: E302 expected 2 blank lines, found 1
2322: D401 First line should be imperative: 'Unsubscribe', not 'Unsubscribes'
2322: D209 Put multi-line docstring closing quotes on separate line
2322: D205 Blank line missing between one-line summary and description
2352:1: E302 expected 2 blank lines, found 1
2352: D290 White spaces around docstring should be trimmed.
2352: D400 First line should end with '.', not 't'
2361:1: E302 expected 2 blank lines, found 1
2361: D290 White spaces around docstring should be trimmed.
2361: D400 First line should end with '.', not 's'
2370:1: E302 expected 2 blank lines, found 1
2374:15: E126 continuation line over-indented for hanging indent
2379:1: E302 expected 2 blank lines, found 1
2379: D290 White spaces around docstring should be trimmed.
2379: D202 No blank lines allowed *after* function docstring, found 1
2389:1: E302 expected 2 blank lines, found 1
2389: D400 First line should end with '.', not 'm'
2393:1: E302 expected 2 blank lines, found 1
2393: D205 Blank line missing between one-line summary and description
2405:41: E126 continuation line over-indented for hanging indent
2410:1: E302 expected 2 blank lines, found 1
2410: D209 Put multi-line docstring closing quotes on separate line
2410: D205 Blank line missing between one-line summary and description
2434:68: E502 the backslash is redundant between brackets
2435:37: E127 continuation line over-indented for visual indent
2444:77: E502 the backslash is redundant between brackets
2445:46: E127 continuation line over-indented for visual indent
2462:68: E502 the backslash is redundant between brackets
2463:37: E127 continuation line over-indented for visual indent
2472:77: E502 the backslash is redundant between brackets
2473:46: E127 continuation line over-indented for visual indent
2488:75: E502 the backslash is redundant between brackets
2489:42: E127 continuation line over-indented for visual indent
2495:1: E302 expected 2 blank lines, found 1
2495: D209 Put multi-line docstring closing quotes on separate line
2495: D202 No blank lines allowed *after* function docstring, found 1
2495: D205 Blank line missing between one-line summary and description
2589:1: E302 expected 2 blank lines, found 1
2589: D400 First line should end with '.', not 'e'
2615:1: E302 expected 2 blank lines, found 1
2626:10: E261 at least two spaces before inline comment
2630:1: E302 expected 2 blank lines, found 1
2630: D400 First line should end with '.', not 'r'
2636:1: E302 expected 2 blank lines, found 1
2644:1: E302 expected 2 blank lines, found 1
2644: D209 Put multi-line docstring closing quotes on separate line
2644: D202 No blank lines allowed *after* function docstring, found 1
2644: D400 First line should end with '.', not 's'
2644: D205 Blank line missing between one-line summary and description
2693:1: E302 expected 2 blank lines, found 1
2693: D209 Put multi-line docstring closing quotes on separate line
2693: D202 No blank lines allowed *after* function docstring, found 1
2693: D400 First line should end with '.', not 'm'
2693: D205 Blank line missing between one-line summary and description
2717:9: E113 unexpected indentation
2750:1: E302 expected 2 blank lines, found 1
2750: D401 First line should be imperative: 'Return', not 'Returns'
2750: D202 No blank lines allowed *after* function docstring, found 1
2757:20: E222 multiple spaces after operator
2769:5: B901 blind except: statement
2782:1: E302 expected 2 blank lines, found 1
2782: D301 Use r""" if any backslashes in a docstring
2782: D209 Put multi-line docstring closing quotes on separate line
2782: D202 No blank lines allowed *after* function docstring, found 1
2782: D400 First line should end with '.', not '('
2782: D205 Blank line missing between one-line summary and description
2787:1: E302 expected 2 blank lines, found 1
2811:1: E302 expected 2 blank lines, found 1
2826:1: E302 expected 2 blank lines, found 1
2842:1: E302 expected 2 blank lines, found 1
2855:1: E302 expected 2 blank lines, found 1
2868:1: E302 expected 2 blank lines, found 1
2868: D209 Put multi-line docstring closing quotes on separate line
2868: D400 First line should end with '.', not 'd'
2868: D205 Blank line missing between one-line summary and description
2897:1: E302 expected 2 blank lines, found 1
2897: D400 First line should end with '.', not 't'
2919:1: E302 expected 2 blank lines, found 1
2919: D209 Put multi-line docstring closing quotes on separate line
2919: D202 No blank lines allowed *after* function docstring, found 1
2919: D205 Blank line missing between one-line summary and description


1: D290 White spaces around docstring should be trimmed.
1: D400 First line should end with '.', not 'e'
5: L102 copyright year is outdated, expected 2015 but got 2013
31:1: I101 Imported names are in the wrong order. Should be check_comment_belongs_to_record, check_recID_is_in_range, check_user_can_attach_file_to_comments, check_user_can_send_comments, check_user_can_view_comment, check_user_can_view_comments, get_user_subscription_to_discussion, is_comment_deleted, perform_display_your_comments, perform_request_add_comment_or_remark, perform_request_display_comments_or_remarks, perform_request_report, perform_request_vote, query_get_comment, subscribe_user_to_discussion, toggle_comment_visibility, unsubscribe_user_from_discussion
31:1: I100 Imports statements are in the wrong order. from invenio.modules.comments.api should be before from six
32:32: E126 continuation line over-indented for hanging indent
49:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_PREFIX, CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_NAME_INTL, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBCOMMENT_ALLOW_COMMENTS, CFG_WEBCOMMENT_ALLOW_REVIEWS, CFG_WEBCOMMENT_MAX_ATTACHED_FILES, CFG_WEBCOMMENT_MAX_ATTACHMENT_SIZE, CFG_WEBCOMMENT_USE_MATHJAX_IN_COMMENTS
49:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.modules.comments.api
50:6: E126 continuation line over-indented for hanging indent
64:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, page_not_authorized
65:1: I101 Imported names are in the wrong order. Should be page, pagefooteronly, pageheaderonly
65:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
66:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.legacy.webpage
67:6: E126 continuation line over-indented for hanging indent
68:1: I101 Imported names are in the wrong order. Should be make_canonical_urlargd, redirect_to_url
69:30: E126 continuation line over-indented for hanging indent
70:1: I100 Imports statements are in the wrong order. from invenio.utils.html should be before from invenio.utils.url
71:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.utils.html
72:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.ext.logging
73:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
76:1: I101 Imported names are in the wrong order. Should be InvenioWebAccessMailCookieDeletedError, InvenioWebAccessMailCookieError, mail_cookie_check_common, mail_cookie_create_authorize_action, mail_cookie_create_common
77:6: E126 continuation line over-indented for hanging indent
82:1: F401 'InvenioWebCommentError' imported but unused
83:6: E126 continuation line over-indented for hanging indent
85:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.comments.config
88:1: I100 Imports statements are in the wrong order. import os should be before import invenio.legacy.template
89:1: I201 Missing newline before sections or imports.
90:1: I101 Imported names are in the wrong order. Should be decompose_file, propose_next_docname, stream_file
90:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.utils
91:6: E126 continuation line over-indented for hanging indent
96:1: E302 expected 2 blank lines, found 1
96: D203 Expected 1 blank line *before* class docstring, found 0
102: D102 Docstring missing
104:34: E261 at least two spaces before inline comment
107: D401 First line should be imperative: 'Redirect', not 'Redirects'
107: D400 First line should end with '.', not 'n'
107: D200 One-line docstring should not occupy 3 lines
113: D205 Blank line missing between one-line summary and description
146:64: E261 at least two spaces before inline comment
155:86: E203 whitespace before ':'
157:90: E502 the backslash is redundant between brackets
157:63: E203 whitespace before ':'
157:87: E203 whitespace before ':'
158:17: E128 continuation line under-indented for visual indent
161:52: E502 the backslash is redundant between brackets
162:17: E128 continuation line under-indented for visual indent
162:21: E251 unexpected spaces around keyword / parameter equals
162:23: E251 unexpected spaces around keyword / parameter equals
195:51: E502 the backslash is redundant between brackets
196:85: E502 the backslash is redundant between brackets
198:53: E502 the backslash is redundant between brackets
200:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
225:17: E128 continuation line under-indented for visual indent
246:69: E225 missing whitespace around operator
249:78: E225 missing whitespace around operator
259:13: E303 too many blank lines (2)
260:25: E128 continuation line under-indented for visual indent
261:25: E128 continuation line under-indented for visual indent
262:25: E128 continuation line under-indented for visual indent
263:25: E128 continuation line under-indented for visual indent
263:38: E251 unexpected spaces around keyword / parameter equals
263:40: E251 unexpected spaces around keyword / parameter equals
264:25: E128 continuation line under-indented for visual indent
265:25: E128 continuation line under-indented for visual indent
266:25: E128 continuation line under-indented for visual indent
267:25: E128 continuation line under-indented for visual indent
268:21: E127 continuation line over-indented for visual indent
269:21: E127 continuation line over-indented for visual indent
270:21: E127 continuation line over-indented for visual indent
271:21: E127 continuation line over-indented for visual indent
284: D400 First line should end with '.', not '0'
284: D205 Blank line missing between one-line summary and description
328:86: E203 whitespace before ':'
332:53: E127 continuation line over-indented for visual indent
337:53: E127 continuation line over-indented for visual indent
339:90: E502 the backslash is redundant between brackets
339:63: E203 whitespace before ':'
339:87: E203 whitespace before ':'
340:17: E128 continuation line under-indented for visual indent
343:52: E502 the backslash is redundant between brackets
344:17: E128 continuation line under-indented for visual indent
344:21: E251 unexpected spaces around keyword / parameter equals
344:23: E251 unexpected spaces around keyword / parameter equals
350:56: E502 the backslash is redundant between brackets
351:48: E251 unexpected spaces around keyword / parameter equals
351:50: E251 unexpected spaces around keyword / parameter equals
354:13: E303 too many blank lines (2)
359:56: E502 the backslash is redundant between brackets
360:48: E251 unexpected spaces around keyword / parameter equals
360:50: E251 unexpected spaces around keyword / parameter equals
377:26: E261 at least two spaces before inline comment
383:55: E261 at least two spaces before inline comment
393:109: E502 the backslash is redundant between brackets
399:25: B901 blind except: statement
408:25: F841 local variable 'n' is assigned to but never used
424:32: E127 continuation line over-indented for visual indent
432:41: E128 continuation line under-indented for visual indent
445:21: B901 blind except: statement
459:69: E225 missing whitespace around operator
463:92: E127 continuation line over-indented for visual indent
464:92: E127 continuation line over-indented for visual indent
465:92: E127 continuation line over-indented for visual indent
465:107: E225 missing whitespace around operator
466:92: E127 continuation line over-indented for visual indent
467:92: E127 continuation line over-indented for visual indent
467:107: E225 missing whitespace around operator
477:69: E127 continuation line over-indented for visual indent
481:99: E502 the backslash is redundant between brackets
481:74: E225 missing whitespace around operator
481:93: E225 missing whitespace around operator
482:86: E502 the backslash is redundant between brackets
482:78: E225 missing whitespace around operator
484:59: F841 local variable 'e' is assigned to but never used
538: D202 No blank lines allowed *after* method docstring, found 1
538: D205 Blank line missing between one-line summary and description
580:86: E203 whitespace before ':'
582:90: E502 the backslash is redundant between brackets
582:63: E203 whitespace before ':'
582:87: E203 whitespace before ':'
583:17: E128 continuation line under-indented for visual indent
586:52: E502 the backslash is redundant between brackets
587:17: E128 continuation line under-indented for visual indent
587:21: E251 unexpected spaces around keyword / parameter equals
587:23: E251 unexpected spaces around keyword / parameter equals
591:52: E502 the backslash is redundant between brackets
592:44: E251 unexpected spaces around keyword / parameter equals
592:46: E251 unexpected spaces around keyword / parameter equals
597:52: E502 the backslash is redundant between brackets
598:44: E251 unexpected spaces around keyword / parameter equals
598:46: E251 unexpected spaces around keyword / parameter equals
602:52: E502 the backslash is redundant between brackets
603:44: E251 unexpected spaces around keyword / parameter equals
603:46: E251 unexpected spaces around keyword / parameter equals
617: D202 No blank lines allowed *after* method docstring, found 1
617: D400 First line should end with '.', not 't'
617: D205 Blank line missing between one-line summary and description
657:86: E203 whitespace before ':'
659:90: E502 the backslash is redundant between brackets
659:63: E203 whitespace before ':'
659:87: E203 whitespace before ':'
660:17: E128 continuation line under-indented for visual indent
663:52: E502 the backslash is redundant between brackets
664:17: E128 continuation line under-indented for visual indent
664:21: E251 unexpected spaces around keyword / parameter equals
664:23: E251 unexpected spaces around keyword / parameter equals
668:52: E502 the backslash is redundant between brackets
669:44: E251 unexpected spaces around keyword / parameter equals
669:46: E251 unexpected spaces around keyword / parameter equals
674:52: E502 the backslash is redundant between brackets
675:44: E251 unexpected spaces around keyword / parameter equals
675:46: E251 unexpected spaces around keyword / parameter equals
679:52: E502 the backslash is redundant between brackets
680:44: E251 unexpected spaces around keyword / parameter equals
680:46: E251 unexpected spaces around keyword / parameter equals
691:90: E225 missing whitespace around operator
694: D400 First line should end with '.', not 'w'
694: D205 Blank line missing between one-line summary and description
706:86: E203 whitespace before ':'
708:90: E502 the backslash is redundant between brackets
708:63: E203 whitespace before ':'
708:87: E203 whitespace before ':'
709:17: E128 continuation line under-indented for visual indent
712:52: E502 the backslash is redundant between brackets
713:17: E128 continuation line under-indented for visual indent
713:21: E251 unexpected spaces around keyword / parameter equals
713:23: E251 unexpected spaces around keyword / parameter equals
720: D200 One-line docstring should not occupy 3 lines
730:86: E203 whitespace before ':'
732:90: E502 the backslash is redundant between brackets
732:63: E203 whitespace before ':'
732:87: E203 whitespace before ':'
733:17: E128 continuation line under-indented for visual indent
741: D400 First line should end with '.', not 'r'
741: D200 One-line docstring should not occupy 3 lines
757:63: E502 the backslash is redundant between brackets
758:90: E502 the backslash is redundant between brackets
761:1: E302 expected 2 blank lines, found 1
761: D203 Expected 1 blank line *before* class docstring, found 0
761: D208 Docstring is over-indented
769: D102 Docstring missing
771:34: E261 at least two spaces before inline comment
773: D401 First line should be imperative: 'Thi', not 'This'
773: D290 White spaces around docstring should be trimmed.
773: D400 First line should end with '.', not 'g'
773: D205 Blank line missing between one-line summary and description
780:28: E261 at least two spaces before inline comment
782:43: E261 at least two spaces before inline comment
795: D401 First line should be imperative: 'Return', not 'Returns'
809:9: F841 local variable 'uid' is assigned to but never used
815:86: E203 whitespace before ':'
817:90: E502 the backslash is redundant between brackets
817:63: E203 whitespace before ':'
817:87: E203 whitespace before ':'
818:17: E128 continuation line under-indented for visual indent
821:52: E502 the backslash is redundant between brackets
822:44: E251 unexpected spaces around keyword / parameter equals
822:46: E251 unexpected spaces around keyword / parameter equals
835:86: E203 whitespace before ':'
837:90: E502 the backslash is redundant between brackets
837:63: E203 whitespace before ':'
837:87: E203 whitespace before ':'
838:17: E128 continuation line under-indented for visual indent
841:52: E502 the backslash is redundant between brackets
842:44: E251 unexpected spaces around keyword / parameter equals
842:46: E251 unexpected spaces around keyword / parameter equals
847:52: E502 the backslash is redundant between brackets
848:44: E251 unexpected spaces around keyword / parameter equals
848:46: E251 unexpected spaces around keyword / parameter equals
854:73: E502 the backslash is redundant between brackets
855:82: E502 the backslash is redundant between brackets
855:57: E221 multiple spaces before operator
860:69: E502 the backslash is redundant between brackets
862:20: E127 continuation line over-indented for visual indent
872:1: E302 expected 2 blank lines, found 1
872: D203 Expected 1 blank line *before* class docstring, found 0
877: D202 No blank lines allowed *after* method docstring, found 1
893:65: E502 the backslash is redundant between brackets
894:46: E127 continuation line over-indented for visual indent
901:30: E203 whitespace before ':'
904:25: E203 whitespace before ':'
910:52: E502 the backslash is redundant between brackets
911:44: E251 unexpected spaces around keyword / parameter equals
911:46: E251 unexpected spaces around keyword / parameter equals
920:30: E251 unexpected spaces around keyword / parameter equals
921:34: E126 continuation line over-indented for hanging indent
921:49: E203 whitespace before ':'
923:43: E203 whitespace before ':'
924:31: E126 continuation line over-indented for hanging indent


1: D400 First line should end with '.', not 'e'
5: L102 copyright year is outdated, expected 2015 but got 2011
25:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from six
26:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
27:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, page_not_authorized
28:1: I101 Imported names are in the wrong order. Should be check_user_can_view_linkbacks, perform_request_display_approved_latest_added_linkbacks_to_accessible_records, perform_request_display_record_linbacks, perform_sendtrackback, perform_sendtrackback_disabled
28:1: I100 Imports statements are in the wrong order. from invenio.legacy.weblinkback.api should be before from invenio.legacy.webuser
29:33: E126 continuation line over-indented for hanging indent
34:41: E126 continuation line over-indented for hanging indent
35:1: I100 Imports statements are in the wrong order. from invenio.legacy.weblinkback.config should be before from invenio.legacy.weblinkback.db_layer
36:40: E126 continuation line over-indented for hanging indent
37:1: I101 Imported names are in the wrong order. Should be make_canonical_urlargd, redirect_to_url
38:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBLINKBACK_TRACKBACK_ENABLED
38:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.utils.url
39:28: E126 continuation line over-indented for hanging indent
43:1: I101 Imported names are in the wrong order. Should be create_navtrail_links, guess_primary_collection_of_a_record
44:35: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be pagefooteronly, pageheaderonly
50:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.search.models
56: D203 Expected 1 blank line *before* class docstring, found 0
61:29: E251 unexpected spaces around keyword / parameter equals
61:31: E251 unexpected spaces around keyword / parameter equals
61: D102 Docstring missing
64: D400 First line should end with '.', not 'n'
64: D200 One-line docstring should not occupy 3 lines
70: D400 First line should end with '.', not 's'
70: D200 One-line docstring should not occupy 3 lines
76:9: F841 local variable '_' is assigned to but never used
86:22: E126 continuation line over-indented for hanging indent
97:90: E251 unexpected spaces around keyword / parameter equals
97:92: E251 unexpected spaces around keyword / parameter equals
109:65: E225 missing whitespace around operator
125:51: E502 the backslash is redundant between brackets
126:22: E127 continuation line over-indented for visual indent
126:102: E502 the backslash is redundant between brackets
128:57: E502 the backslash is redundant between brackets
129:22: E127 continuation line over-indented for visual indent
130:59: E712 comparison to True should be 'if cond is True:' or 'if cond:'
130:22: E127 continuation line over-indented for visual indent
132:63: E128 continuation line under-indented for visual indent
133:63: E128 continuation line under-indented for visual indent
135:69: E128 continuation line under-indented for visual indent
136:69: E128 continuation line under-indented for visual indent
142:44: E251 unexpected spaces around keyword / parameter equals
142:46: E251 unexpected spaces around keyword / parameter equals
147:31: E127 continuation line over-indented for visual indent
148:16: E127 continuation line over-indented for visual indent
149:16: E127 continuation line over-indented for visual indent
150:16: E127 continuation line over-indented for visual indent
155: D400 First line should end with '.', not 'k'
155: D200 One-line docstring should not occupy 3 lines
168: D400 First line should end with '.', not 'k'
168: D200 One-line docstring should not occupy 3 lines
181: D400 First line should end with '.', not 's'
181: D205 Blank line missing between one-line summary and description
190:90: E251 unexpected spaces around keyword / parameter equals
190:92: E251 unexpected spaces around keyword / parameter equals
194:22: E126 continuation line over-indented for hanging indent
204: D400 First line should end with '.', not 'k'
204: D200 One-line docstring should not occupy 3 lines
222: D203 Expected 1 blank line *before* class docstring, found 0
227: D400 First line should end with '.', not 'n'
227: D200 One-line docstring should not occupy 3 lines
233: D400 First line should end with '.', not 'e'
233: D200 One-line docstring should not occupy 3 lines
242:9: F841 local variable '_' is assigned to but never used
255:44: E251 unexpected spaces around keyword / parameter equals
255:46: E251 unexpected spaces around keyword / parameter equals
260:31: E127 continuation line over-indented for visual indent
261:16: E127 continuation line over-indented for visual indent
262:16: E127 continuation line over-indented for visual indent
263:16: E127 continuation line over-indented for visual indent