1: D100 Docstring missing
4: L102 copyright year is outdated, expected 2015 but got 2014
26:1: I100 Imports statements are in the wrong order. import os should be before import time
28:1: I100 Imports statements are in the wrong order. import ConfigParser should be before import sys
31:1: I201 Missing newline before sections or imports.
32:1: I201 Missing newline before sections or imports.
34:1: I100 Imports statements are in the wrong order. from intbitset should be before from six
34:1: F999 redefinition of unused 'intbitset' from line 31
35:1: I201 Missing newline before sections or imports.
40:1: I101 Imported names are in the wrong order. Should be get_collection_reclist, search_pattern, search_unit
40:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine should be before from invenio.utils.redis
41:35: E126 continuation line over-indented for hanging indent
45:1: I101 Imported names are in the wrong order. Should be task_get_option, task_get_task_param, task_sleep_now_if_required, task_update_progress, write_message
45:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.modules.knowledge.api
46:22: E126 continuation line over-indented for hanging indent
48:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibindex.engine_utils should be before from invenio.legacy.bibsched.bibtask
50:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.docextract.record
53:20: E126 continuation line over-indented for hanging indent
56: D103 Docstring missing
64: D103 Docstring missing
72: D103 Docstring missing
102: D400 First line should end with '.', not 'g'
102: D205 Blank line missing between one-line summary and description
149:55: E127 continuation line over-indented for visual indent
159: D103 Docstring missing
204: D400 First line should end with '.', not 'e'
210: D103 Docstring missing
227: D400 First line should end with '.', not 'd'
227: D200 One-line docstring should not occupy 2 lines
241: D400 First line should end with '.', not 's'
241: D200 One-line docstring should not occupy 2 lines
258: D400 First line should end with '.', not 'g'
273: D202 No blank lines allowed *after* function docstring, found 1
273: D400 First line should end with '.', not 't'
282: D400 First line should end with '.', not 'e'
387: D400 First line should end with '.', not 'd'
455: D400 First line should end with '.', not 'm'
464:46: E227 missing whitespace around bitwise or shift operator
466:48: E227 missing whitespace around bitwise or shift operator
471: D401 First line should be imperative: 'Scan', not 'Scans'
471: D400 First line should end with '.', not 'd'
471: D205 Blank line missing between one-line summary and description
471: D208 Docstring is over-indented
537:30: E128 continuation line under-indented for visual indent
539:25: E127 continuation line over-indented for visual indent
556:31: E127 continuation line over-indented for visual indent
560:40: E127 continuation line over-indented for visual indent
579:9: E303 too many blank lines (2)
581:34: E128 continuation line under-indented for visual indent
583:36: E127 continuation line over-indented for visual indent
587:39: E128 continuation line under-indented for visual indent
589:36: E127 continuation line over-indented for visual indent
601:29: E128 continuation line under-indented for visual indent
605:29: E128 continuation line under-indented for visual indent
608:25: E127 continuation line over-indented for visual indent
624:39: E127 continuation line over-indented for visual indent
627:39: E127 continuation line over-indented for visual indent
637:39: E127 continuation line over-indented for visual indent
645:34: E127 continuation line over-indented for visual indent
666:19: E128 continuation line under-indented for visual indent
667:19: E128 continuation line under-indented for visual indent
668:19: E128 continuation line under-indented for visual indent
672: D400 First line should end with '.', not 't'
672: D205 Blank line missing between one-line summary and description
672: D208 Docstring is over-indented
726:41: E127 continuation line over-indented for visual indent
737:36: E127 continuation line over-indented for visual indent
766:47: E127 continuation line over-indented for visual indent
785:34: E127 continuation line over-indented for visual indent
824:34: E127 continuation line over-indented for visual indent
863:34: E127 continuation line over-indented for visual indent
897:34: E127 continuation line over-indented for visual indent
923:34: E127 continuation line over-indented for visual indent
951:44: E127 continuation line over-indented for visual indent
958:49: E127 continuation line over-indented for visual indent
980:50: E127 continuation line over-indented for visual indent
991:21: E128 continuation line under-indented for visual indent
1012:29: E127 continuation line over-indented for visual indent
1033:29: E127 continuation line over-indented for visual indent
1054:29: E127 continuation line over-indented for visual indent
1071:29: E127 continuation line over-indented for visual indent
1110: D400 First line should end with '.', not 'e'
1110: D205 Blank line missing between one-line summary and description
1124: D401 First line should be imperative: 'Thi', not 'This'
1124: D200 One-line docstring should not occupy 3 lines
1136: D400 First line should end with '.', not 'w'
1136: D205 Blank line missing between one-line summary and description
1149: D400 First line should end with '.', not 'e'
1156: D400 First line should end with '.', not 'd'
1156: D205 Blank line missing between one-line summary and description
1186: D400 First line should end with '.', not 'd'
1186: D205 Blank line missing between one-line summary and description
1218: D208 Docstring is over-indented
1235:27: E127 continuation line over-indented for visual indent
1241: D209 Put multi-line docstring closing quotes on separate line
1241: D400 First line should end with '.', not 'e'
1241: D208 Docstring is over-indented
1249: D400 First line should end with '.', not 'l'
1249: D205 Blank line missing between one-line summary and description
1272: D400 First line should end with '.', not ']'
1282: D400 First line should end with '.', not 'e'


1: D400 First line should end with '.', not 'e'
4: L102 copyright year is outdated, expected 2015 but got 2012
24:1: I201 Missing newline before sections or imports.
25:1: I101 Imported names are in the wrong order. Should be Error, deserialize_via_marshal, run_sql, serialize_via_marshal
25:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils.date
26:1: E122 continuation line missing indentation or outdented
28:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.search_engine
28:1: I201 Missing newline before sections or imports.
29:1: I101 Imported names are in the wrong order. Should be task_sleep_now_if_required, task_update_progress, write_message
29:1: I201 Missing newline before sections or imports.
30:1: E122 continuation line missing indentation or outdented
31:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask
33:1: E122 continuation line missing indentation or outdented
42:44: E251 unexpected spaces around keyword / parameter equals
42:46: E251 unexpected spaces around keyword / parameter equals
42: D401 First line should be imperative: 'Return', not 'Returns'
42: D209 Put multi-line docstring closing quotes on separate line
42: D205 Blank line missing between one-line summary and description
53:75: E502 the backslash is redundant between brackets
54:65: E502 the backslash is redundant between brackets
55:28: E225 missing whitespace around operator
66:78: E502 the backslash is redundant between brackets
67:83: E502 the backslash is redundant between brackets
68:32: E225 missing whitespace around operator
81:44: E261 at least two spaces before inline comment
81:44: E262 inline comment should start with '# '
81: D401 First line should be imperative: 'Return', not 'Returns'
81: D400 First line should end with '.', not 'm'
87:30: E261 at least two spaces before inline comment
96: D401 First line should be imperative: 'Return', not 'Returns'
96: D209 Put multi-line docstring closing quotes on separate line
96: D400 First line should end with '.', not 'n'
96: D205 Blank line missing between one-line summary and description
105: D401 First line should be imperative: 'Find', not 'Finds'
105: D400 First line should end with '.', not 'g'
105: D300 Expected """-quotes, got '''-quotes
114:66: E502 the backslash is redundant between brackets
115:46: E225 missing whitespace around operator
133:8: E111 indentation is not a multiple of four
147: D209 Put multi-line docstring closing quotes on separate line
147: D400 First line should end with '.', not 'y'
147: D205 Blank line missing between one-line summary and description
147: D300 Expected """-quotes, got '''-quotes
158:68: E502 the backslash is redundant between brackets
159:24: E225 missing whitespace around operator
170: D401 First line should be imperative: 'Return', not 'Returns'
170: D400 First line should end with '.', not 'd'
170: D300 Expected """-quotes, got '''-quotes
178:91: E502 the backslash is redundant between brackets
179:28: E225 missing whitespace around operator
182:72: E502 the backslash is redundant between brackets
183:60: E502 the backslash is redundant between brackets
184:24: E225 missing whitespace around operator
188: D209 Put multi-line docstring closing quotes on separate line
188: D400 First line should end with '.', not 'y'
188: D205 Blank line missing between one-line summary and description
188: D300 Expected """-quotes, got '''-quotes
193:73: E225 missing whitespace around operator
194:96: E502 the backslash is redundant between brackets
194:56: E231 missing whitespace after ','
194:76: E231 missing whitespace after ','
195:56: E231 missing whitespace after ','
200: D401 First line should be imperative: 'Return', not 'Returns'
200: D205 Blank line missing between one-line summary and description
210:63: E502 the backslash is redundant between brackets
211:28: E225 missing whitespace around operator
213:76: E502 the backslash is redundant between brackets
213:70: E225 missing whitespace around operator
220:58: E502 the backslash is redundant between brackets
221:28: E225 missing whitespace around operator
223:65: E225 missing whitespace around operator
234:80: E502 the backslash is redundant between brackets
235:24: E225 missing whitespace around operator
239: D400 First line should end with '.', not 'n'
239: D300 Expected """-quotes, got '''-quotes
245:34: E261 at least two spaces before inline comment
245:34: E262 inline comment should start with '# '
248:50: E225 missing whitespace around operator
254:60: E502 the backslash is redundant between brackets
255:24: E225 missing whitespace around operator
257:1: E302 expected 2 blank lines, found 1
257: D401 First line should be imperative: 'Identifie', not 'Identifies'
257: D400 First line should end with '.', not 't'
264:1: E302 expected 2 blank lines, found 1
264: D401 First line should be imperative: 'Doe', not 'Does'
264: D209 Put multi-line docstring closing quotes on separate line
264: D400 First line should end with '.', not 'e'
264: D205 Blank line missing between one-line summary and description
272:80: E502 the backslash is redundant between brackets
273:24: E225 missing whitespace around operator
279:17: E127 continuation line over-indented for visual indent
280:76: E502 the backslash is redundant between brackets
288:81: E502 the backslash is redundant between brackets
293:86: E502 the backslash is redundant between brackets
300: D400 First line should end with '.', not 'A'
312:17: E261 at least two spaces before inline comment
313:65: E502 the backslash is redundant between brackets
314:60: E225 missing whitespace around operator
321:43: E502 the backslash is redundant between brackets
322:13: E128 continuation line under-indented for visual indent
322:77: E502 the backslash is redundant between brackets
325:80: E502 the backslash is redundant between brackets
326:50: E225 missing whitespace around operator
328:75: E502 the backslash is redundant between brackets
333: D400 First line should end with '.', not 'S'
335:64: E502 the backslash is redundant between brackets
336:50: E502 the backslash is redundant between brackets
337:20: E225 missing whitespace around operator
338:60: E225 missing whitespace around operator
343:119: E502 the backslash is redundant between brackets
346:17: E261 at least two spaces before inline comment
350:62: E502 the backslash is redundant between brackets
355:43: E502 the backslash is redundant between brackets
356:13: E128 continuation line under-indented for visual indent
358:81: E502 the backslash is redundant between brackets
359:58: E225 missing whitespace around operator
361:57: E502 the backslash is redundant between brackets
362:50: E225 missing whitespace around operator
366: D209 Put multi-line docstring closing quotes on separate line
366: D205 Blank line missing between one-line summary and description
370:66: E502 the backslash is redundant between brackets
371:20: E225 missing whitespace around operator
379:42: E225 missing whitespace around operator
383:38: E225 missing whitespace around operator
388: D209 Put multi-line docstring closing quotes on separate line
388: D400 First line should end with '.', not 's'
388: D205 Blank line missing between one-line summary and description
393:54: E502 the backslash is redundant between brackets
429: D401 First line should be imperative: 'Return', not 'Returns'
429: D209 Put multi-line docstring closing quotes on separate line
429: D202 No blank lines allowed *after* function docstring, found 1
429: D400 First line should end with '.', not 'r'
429: D205 Blank line missing between one-line summary and description
435:24: E261 at least two spaces before inline comment
435:25: E262 inline comment should start with '# '
444:73: E502 the backslash is redundant between brackets
445:51: E225 missing whitespace around operator
454:63: E502 the backslash is redundant between brackets
455:49: E225 missing whitespace around operator
460: D401 First line should be imperative: 'Return', not 'Returns'
460: D400 First line should end with '.', not 's'
462:53: E502 the backslash is redundant between brackets
466: D401 First line should be imperative: 'Return', not 'Returns'
466: D209 Put multi-line docstring closing quotes on separate line
466: D400 First line should end with '.', not ':'
466: D205 Blank line missing between one-line summary and description
475:13: F841 local variable 'dummy' is assigned to but never used
480:27: E261 at least two spaces before inline comment
480:28: E262 inline comment should start with '# '
485: D401 First line should be imperative: 'Return', not 'Returns'
485: D209 Put multi-line docstring closing quotes on separate line
485: D400 First line should end with '.', not ','
485: D205 Blank line missing between one-line summary and description
497:75: E502 the backslash is redundant between brackets
498:23: E128 continuation line under-indented for visual indent
498:24: E225 missing whitespace around operator
512:72: E502 the backslash is redundant between brackets
513:69: E225 missing whitespace around operator
515:83: E502 the backslash is redundant between brackets
516:23: E128 continuation line under-indented for visual indent
516:24: E225 missing whitespace around operator
523: D401 First line should be imperative: 'Thi', not 'This'
523: D209 Put multi-line docstring closing quotes on separate line
523: D400 First line should end with '.', not 'd'
523: D205 Blank line missing between one-line summary and description
530:5: B901 blind except: statement
534:1: E302 expected 2 blank lines, found 1
534: D401 First line should be imperative: 'Thi', not 'This'
534: D209 Put multi-line docstring closing quotes on separate line
534: D400 First line should end with '.', not 'd'
534: D205 Blank line missing between one-line summary and description
549:20: E261 at least two spaces before inline comment
553:1: E302 expected 2 blank lines, found 1
553: D401 First line should be imperative: 'Thi', not 'This'
553: D209 Put multi-line docstring closing quotes on separate line
553: D400 First line should end with '.', not 'e'
553: D205 Blank line missing between one-line summary and description
563:1: E302 expected 2 blank lines, found 1
563:59: E251 unexpected spaces around keyword / parameter equals
563:61: E251 unexpected spaces around keyword / parameter equals
563: D401 First line should be imperative: 'Update', not 'Updates'
563: D209 Put multi-line docstring closing quotes on separate line
563: D202 No blank lines allowed *after* function docstring, found 1
563: D400 First line should end with '.', not 'd'
563: D205 Blank line missing between one-line summary and description
574:69: E502 the backslash is redundant between brackets
575:46: E225 missing whitespace around operator
584:75: E502 the backslash is redundant between brackets
585:24: E225 missing whitespace around operator
586:21: E261 at least two spaces before inline comment
586:22: E262 inline comment should start with '# '
590:83: E502 the backslash is redundant between brackets
591:24: E225 missing whitespace around operator
605:14: E261 at least two spaces before inline comment
619:60: E502 the backslash is redundant between brackets
620:28: E225 missing whitespace around operator
623:69: E502 the backslash is redundant between brackets
624:33: E128 continuation line under-indented for visual indent
626:60: E502 the backslash is redundant between brackets
627:28: E225 missing whitespace around operator
629:69: E502 the backslash is redundant between brackets
630:33: E128 continuation line under-indented for visual indent
632:59: E502 the backslash is redundant between brackets
633:28: E225 missing whitespace around operator
643:68: E502 the backslash is redundant between brackets
644:42: E128 continuation line under-indented for visual indent
652:85: E502 the backslash is redundant between brackets
653:28: E225 missing whitespace around operator
658:117: E251 unexpected spaces around keyword / parameter equals
658:119: E251 unexpected spaces around keyword / parameter equals
658: D401 First line should be imperative: 'Update', not 'Updates'
658: D400 First line should end with '.', not 's'
662:62: E225 missing whitespace around operator
667:64: E502 the backslash is redundant between brackets
668:24: E225 missing whitespace around operator
689:17: E125 continuation line with same indent as next logical line
705:72: E502 the backslash is redundant between brackets
717:66: E502 the backslash is redundant between brackets
718:21: E128 continuation line under-indented for visual indent
722:66: E502 the backslash is redundant between brackets
723:21: E128 continuation line under-indented for visual indent
724:64: E225 missing whitespace around operator
727: D401 First line should be imperative: 'Modifie', not 'Modifies'
727: D209 Put multi-line docstring closing quotes on separate line
727: D400 First line should end with '.', not 'n'
727: D205 Blank line missing between one-line summary and description
736: D401 First line should be imperative: 'Insert', not 'Inserts'
736: D400 First line should end with '.', not 's'
745:50: E261 at least two spaces before inline comment
745:50: E262 inline comment should start with '# '
751:34: E261 at least two spaces before inline comment
751:35: E262 inline comment should start with '# '
758:23: E261 at least two spaces before inline comment
758:24: E262 inline comment should start with '# '
765:38: E225 missing whitespace around operator
769: D400 First line should end with '.', not 's'
777:38: E225 missing whitespace around operator
781: D209 Put multi-line docstring closing quotes on separate line
781: D400 First line should end with '.', not 'w'
781: D205 Blank line missing between one-line summary and description
791: D400 First line should end with '.', not ')'
808: D401 First line should be imperative: 'Update', not 'Updates'
808: D209 Put multi-line docstring closing quotes on separate line
808: D202 No blank lines allowed *after* function docstring, found 1
808: D400 First line should end with '.', not 't'
808: D205 Blank line missing between one-line summary and description
818:66: E502 the backslash is redundant between brackets
819:59: E502 the backslash is redundant between brackets
820:20: E225 missing whitespace around operator
846:27: E261 at least two spaces before inline comment
853:61: E225 missing whitespace around operator
854:71: E225 missing whitespace around operator
857:82: E502 the backslash is redundant between brackets
858:28: E225 missing whitespace around operator
863:32: E261 at least two spaces before inline comment
867:28: E261 at least two spaces before inline comment
867:29: E262 inline comment should start with '# '
870:82: E502 the backslash is redundant between brackets
871:27: E128 continuation line under-indented for visual indent
873:84: E502 the backslash is redundant between brackets
874:19: E128 continuation line under-indented for visual indent
874:20: E225 missing whitespace around operator
879:56: E225 missing whitespace around operator
880:58: E225 missing whitespace around operator
883:87: E502 the backslash is redundant between brackets
884:27: E128 continuation line under-indented for visual indent
884:28: E225 missing whitespace around operator
889:38: E251 unexpected spaces around keyword / parameter equals
889:40: E251 unexpected spaces around keyword / parameter equals
889: D401 First line should be imperative: 'Rebalance', not 'Rebalances'
889: D400 First line should end with '.', not 't'
901:58: E225 missing whitespace around operator
903:23: E261 at least two spaces before inline comment
905:62: E502 the backslash is redundant between brackets
906:24: E225 missing whitespace around operator
912:56: E225 missing whitespace around operator
913:70: E502 the backslash is redundant between brackets
914:27: E127 continuation line over-indented for visual indent
914:28: E225 missing whitespace around operator
916:33: E128 continuation line under-indented for visual indent
917:33: E128 continuation line under-indented for visual indent
918:33: E128 continuation line under-indented for visual indent
920:72: E502 the backslash is redundant between brackets
921:28: E225 missing whitespace around operator
929: D401 First line should be imperative: 'test', not 'tests'
929: D400 First line should end with '.', not 's'


1: D400 First line should end with '.', not 't'
1: D205 Blank line missing between one-line summary and description
4: L102 copyright year is outdated, expected 2015 but got 2014
29:1: I101 Imported names are in the wrong order. Should be get_table_update_time, run_sql
29:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from werkzeug.utils
37: D203 Expected 1 blank line *before* class docstring, found 0
37: D204 Expected 1 blank line *after* class docstring, found 0
37: D400 First line should end with '.', not 's'
37: D205 Blank line missing between one-line summary and description
47: D290 White spaces around docstring should be trimmed.
47: D205 Blank line missing between one-line summary and description
47: D208 Docstring is over-indented
52:27: E261 at least two spaces before inline comment
53:24: E261 at least two spaces before inline comment
54:25: E113 unexpected indentation
56:41: W602 deprecated form of raising exception
59:41: W602 deprecated form of raising exception
68: D400 First line should end with '.', not 'n'
68: D205 Blank line missing between one-line summary and description
76: D400 First line should end with '.', not 'p'
76: D205 Blank line missing between one-line summary and description
84:1: E302 expected 2 blank lines, found 1
84: D203 Expected 1 blank line *before* class docstring, found 0
84: D204 Expected 1 blank line *after* class docstring, found 0
84: D400 First line should end with '.', not 'd'
84: D205 Blank line missing between one-line summary and description
89: D290 White spaces around docstring should be trimmed.
89: D400 First line should end with '.', not 'e'
89: D205 Blank line missing between one-line summary and description
89: D208 Docstring is over-indented
102: D209 Put multi-line docstring closing quotes on separate line
102: D400 First line should end with '.', not 'd'
102: D205 Blank line missing between one-line summary and description
106:17: E128 continuation line under-indented for visual indent
115: D102 Docstring missing
123: D102 Docstring missing
127: D102 Docstring missing
130: D102 Docstring missing
132:1: W391 blank line at end of file


1: D400 First line should end with '.', not 's'
2: L102 copyright year is outdated, expected 2015 but got 2014
23:1: I100 Imports statements are in the wrong order. import os should be before from six.moves
23:1: I201 Missing newline before sections or imports.
26:1: I100 Imports statements are in the wrong order. import tempfile should be before import time
27:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
28:1: I100 Imports statements are in the wrong order. import datetime should be before import sys
34:1: I201 Missing newline before sections or imports.
36:1: I101 Imported names are in the wrong order. Should be CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_CACHEDIR, CFG_CERN_SITE, CFG_OAI_DELETED_POLICY, CFG_OAI_EXPIRE, CFG_OAI_FRIENDS, CFG_OAI_IDENTIFY_DESCRIPTION, CFG_OAI_ID_FIELD, CFG_OAI_ID_PREFIX, CFG_OAI_LOAD, CFG_OAI_METADATA_FORMATS, CFG_OAI_PREVIOUS_SET_FIELD, CFG_OAI_PROVENANCE_ALTERED_SUBFIELD, CFG_OAI_PROVENANCE_BASEURL_SUBFIELD, CFG_OAI_PROVENANCE_DATESTAMP_SUBFIELD, CFG_OAI_PROVENANCE_HARVESTDATE_SUBFIELD, CFG_OAI_PROVENANCE_METADATANAMESPACE_SUBFIELD, CFG_OAI_PROVENANCE_ORIGINDESCRIPTION_SUBFIELD, CFG_OAI_SAMPLE_IDENTIFIER, CFG_OAI_SET_FIELD, CFG_SITE_NAME, CFG_SITE_SUPPORT_EMAIL, CFG_SITE_URL, CFG_WEBSTYLE_HTTP_USE_COMPRESSION
36:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
37:6: E126 continuation line over-indented for hanging indent
62:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.config
63:1: I101 Imported names are in the wrong order. Should be EscapedXMLString, X
63:1: I201 Missing newline before sections or imports.
64:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils.html
65:1: I101 Imported names are in the wrong order. Should be get_all_restricted_recids, get_record, record_exists, search_pattern, search_unit_in_bibxxx
67:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.formatter
68:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.bibrecord
71:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.utils.date
74:25: E203 whitespace before ':'
75:25: E203 whitespace before ':'
76:25: E203 whitespace before ':'
81:25: E203 whitespace before ':'
85:25: E203 whitespace before ':'
103: D205 Blank line missing between one-line summary and description
115: D400 First line should end with '.', not 'r'
115: D200 One-line docstring should not occupy 3 lines
143:1: E302 expected 2 blank lines, found 1
143: D202 No blank lines allowed *after* function docstring, found 1
143: D400 First line should end with '.', not 'r'
143: D200 One-line docstring should not occupy 3 lines
165:1: E302 expected 2 blank lines, found 1
165: D200 One-line docstring should not occupy 3 lines
175:1: E302 expected 2 blank lines, found 1
175: D401 First line should be imperative: 'Get', not 'Gets'
175: D202 No blank lines allowed *after* function docstring, found 1
175: D200 One-line docstring should not occupy 3 lines
183:9: E221 multiple spaces before operator
188:1: E302 expected 2 blank lines, found 1
188: D401 First line should be imperative: 'Return', not 'Returns'
188: D205 Blank line missing between one-line summary and description
198:1: E302 expected 2 blank lines, found 1
198: D400 First line should end with '.', not 'e'
198: D205 Blank line missing between one-line summary and description
208:1: E302 expected 2 blank lines, found 1
208: D400 First line should end with '.', not 'e'
208: D205 Blank line missing between one-line summary and description
218:1: E302 expected 2 blank lines, found 1
218: D209 Put multi-line docstring closing quotes on separate line
218: D202 No blank lines allowed *after* function docstring, found 1
218: D400 First line should end with '.', not 'r'
218: D205 Blank line missing between one-line summary and description
227:1: E302 expected 2 blank lines, found 1
227: D400 First line should end with '.', not 'e'
227: D205 Blank line missing between one-line summary and description
243:1: E302 expected 2 blank lines, found 1
243: D400 First line should end with '.', not 't'
243: D205 Blank line missing between one-line summary and description
275:85: E261 at least two spaces before inline comment
275:86: E262 inline comment should start with '# '
280:1: E302 expected 2 blank lines, found 1
280: D200 One-line docstring should not occupy 3 lines
293:9: E113 unexpected indentation
294:13: E113 unexpected indentation
295:17: E113 unexpected indentation
296:13: E113 unexpected indentation
297:17: E113 unexpected indentation
298:13: E113 unexpected indentation
299:17: E113 unexpected indentation
300:13: E113 unexpected indentation
301:17: E113 unexpected indentation
302:13: E113 unexpected indentation
303:17: E113 unexpected indentation
305:9: E113 unexpected indentation
306:13: E113 unexpected indentation
307:17: E113 unexpected indentation
308:13: E113 unexpected indentation
309:17: E113 unexpected indentation
310:13: E113 unexpected indentation
311:17: E113 unexpected indentation
313:1: E302 expected 2 blank lines, found 1
313: D401 First line should be imperative: 'Print', not 'Prints'
313: D202 No blank lines allowed *after* function docstring, found 1
330:37: E713 test for membership should be 'not in'
393:1: E302 expected 2 blank lines, found 1
393: D401 First line should be imperative: 'Generate', not 'Generates'
393: D202 No blank lines allowed *after* function docstring, found 1
412:1: E302 expected 2 blank lines, found 1
412: D401 First line should be imperative: 'Generate', not 'Generates'
412: D202 No blank lines allowed *after* function docstring, found 1
437:30: E261 at least two spaces before inline comment
470:1: E302 expected 2 blank lines, found 1
470: D401 First line should be imperative: 'List', not 'Lists'
470: D202 No blank lines allowed *after* function docstring, found 1
470: D200 One-line docstring should not occupy 3 lines
491: D401 First line should be imperative: 'Return', not 'Returns'
491: D202 No blank lines allowed *after* function docstring, found 1
507:12: E127 continuation line over-indented for visual indent
516:1: E303 too many blank lines (3)
516: D401 First line should be imperative: 'Generate', not 'Generates'
516: D202 No blank lines allowed *after* function docstring, found 1
516: D208 Docstring is over-indented
540:17: E128 continuation line under-indented for visual indent
541:17: E128 continuation line under-indented for visual indent
542:17: E128 continuation line under-indented for visual indent
543:17: E128 continuation line under-indented for visual indent
544:17: E128 continuation line under-indented for visual indent
560:1: E302 expected 2 blank lines, found 1
560: D200 One-line docstring should not occupy 3 lines
566:1: E302 expected 2 blank lines, found 1
566: D200 One-line docstring should not occupy 3 lines
574:1: E302 expected 2 blank lines, found 1
574: D401 First line should be imperative: 'Generate', not 'Generates'
579:1: E302 expected 2 blank lines, found 1
579: D401 First line should be imperative: 'Generate', not 'Generates'
583:1: E302 expected 2 blank lines, found 1
583: D401 First line should be imperative: 'Return', not 'Returns'
583: D209 Put multi-line docstring closing quotes on separate line
583: D400 First line should end with '.', not 'd'
583: D205 Blank line missing between one-line summary and description
599: D401 First line should be imperative: 'Return', not 'Returns'
599: D400 First line should end with '.', not 'C'
599: D200 One-line docstring should not occupy 3 lines
613: D290 White spaces around docstring should be trimmed.
627:29: E261 at least two spaces before inline comment
627:30: E262 inline comment should start with '# '
634:31: E261 at least two spaces before inline comment
634:32: E262 inline comment should start with '# '
648:1: E302 expected 2 blank lines, found 1
648: D401 First line should be imperative: 'Return', not 'Returns'
648: D200 One-line docstring should not occupy 3 lines
669:1: E302 expected 2 blank lines, found 1
669: D401 First line should be imperative: 'Generate', not 'Generates'
675:1: E302 expected 2 blank lines, found 1
675: D400 First line should end with '.', not 'e'
675: D205 Blank line missing between one-line summary and description
688:1: E302 expected 2 blank lines, found 1
688: D200 One-line docstring should not occupy 3 lines
694:1: E302 expected 2 blank lines, found 1
694: D401 First line should be imperative: 'Restore', not 'Restores'
694: D200 One-line docstring should not occupy 3 lines
703:1: E302 expected 2 blank lines, found 1
703: D200 One-line docstring should not occupy 3 lines
718:31: F841 local variable 'e' is assigned to but never used
722:1: E302 expected 2 blank lines, found 1
722: D200 One-line docstring should not occupy 3 lines
756:1: E302 expected 2 blank lines, found 1
756: D400 First line should end with '.', not 's'
756: D205 Blank line missing between one-line summary and description
768:39: E261 at least two spaces before inline comment
768:40: E262 inline comment should start with '# '
780:12: E713 test for membership should be 'not in'
781:16: E126 continuation line over-indented for hanging indent
784:18: E261 at least two spaces before inline comment
788:12: E127 continuation line over-indented for visual indent
797:12: E127 continuation line over-indented for visual indent
805:12: E127 continuation line over-indented for visual indent
818:12: E127 continuation line over-indented for visual indent
819:12: E127 continuation line over-indented for visual indent
825:12: E127 continuation line over-indented for visual indent
826:36: E261 at least two spaces before inline comment
832:12: E127 continuation line over-indented for visual indent
836:12: E127 continuation line over-indented for visual indent
841:12: E127 continuation line over-indented for visual indent
846:12: E127 continuation line over-indented for visual indent
851:1: E302 expected 2 blank lines, found 1
851: D401 First line should be imperative: 'Run', not 'Runs'
851: D400 First line should end with '.', not 'k'
851: D200 One-line docstring should not occupy 3 lines
857:90: E203 whitespace before ':'
857:91: E231 missing whitespace after ':'


1: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
38:1: I100 Imports statements are in the wrong order. from tempfile should be before from six
38:1: I201 Missing newline before sections or imports.
39:1: I100 Imports statements are in the wrong order. from pprint should be before from tempfile
41:1: I101 Imported names are in the wrong order. Should be CFG_OAI_ID_FIELD, CFG_OAI_ID_PREFIX, CFG_OAI_PREVIOUS_SET_FIELD, CFG_OAI_SET_FIELD, CFG_SITE_NAME, CFG_TMPSHAREDDIR
42:6: E126 continuation line over-indented for hanging indent
48:1: I101 Imported names are in the wrong order. Should be CFG_OAI_REPOSITORY_GLOBAL_SET_SPEC, CFG_OAI_REPOSITORY_MARCXML_SIZE
49:6: E126 continuation line over-indented for hanging indent
50:1: I101 Imported names are in the wrong order. Should be get_record, perform_request_search, search_unit_in_bibxxx
51:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.search_engine
51:1: I201 Missing newline before sections or imports.
52:1: I201 Missing newline before sections or imports.
53:1: I101 Imported names are in the wrong order. Should be task_get_option, task_init, task_low_level_submission, task_set_option, task_sleep_now_if_required, task_update_progress, write_message
53:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.legacy.dbquery
54:6: E126 continuation line over-indented for hanging indent
61:1: I101 Imported names are in the wrong order. Should be record_add_field, record_get_field_value, record_get_field_values, record_xml_output
61:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.bibsched.bibtask
62:6: E126 continuation line over-indented for hanging indent
67:1: E302 expected 2 blank lines, found 1
87:1: E302 expected 2 blank lines, found 1
87: D401 First line should be imperative: 'Return', not 'Returns'
97:18: E231 missing whitespace after ':'
98:19: E231 missing whitespace after ':'
98:28: E231 missing whitespace after ':'
98:37: E231 missing whitespace after ':'
99:19: E231 missing whitespace after ':'
99:28: E231 missing whitespace after ':'
99:37: E231 missing whitespace after ':'
100:19: E231 missing whitespace after ':'
100:28: E231 missing whitespace after ':'
100:37: E231 missing whitespace after ':'
101:20: E231 missing whitespace after ':'
101:31: E231 missing whitespace after ':'
109:1: E302 expected 2 blank lines, found 1
109: D401 First line should be imperative: 'Return', not 'Returns'
109: D205 Blank line missing between one-line summary and description
123:1: E302 expected 2 blank lines, found 1
123: D401 First line should be imperative: 'Return', not 'Returns'
123: D400 First line should end with '.', not "'"
135:61: E502 the backslash is redundant between brackets
154:1: E302 expected 2 blank lines, found 1
154: D401 First line should be imperative: 'Return', not 'Returns'
174:1: E302 expected 2 blank lines, found 1
174: D401 First line should be imperative: 'Print', not 'Prints'
200:29: E261 at least two spaces before inline comment
201:29: E261 at least two spaces before inline comment
206:23: E128 continuation line under-indented for visual indent
248:48: E222 multiple spaces after operator
253:9: E303 too many blank lines (2)
255:51: E203 whitespace before ':'
258:51: E203 whitespace before ':'
262:16: E127 continuation line over-indented for visual indent
285:1: E302 expected 2 blank lines, found 1
285: D400 First line should end with '.', not 'e'
290:1: E302 expected 2 blank lines, found 1
290: D400 First line should end with '.', not 'e'
351:35: E127 continuation line over-indented for visual indent
351:61: E502 the backslash is redundant between brackets
352:35: E127 continuation line over-indented for visual indent
361:61: E502 the backslash is redundant between brackets
393:14: E128 continuation line under-indented for visual indent
397:14: E128 continuation line under-indented for visual indent
405:21: E261 at least two spaces before inline comment
429:41: E127 continuation line over-indented for visual indent
429:67: E502 the backslash is redundant between brackets
430:41: E127 continuation line over-indented for visual indent
431:57: E127 continuation line over-indented for visual indent
455:1: E302 expected 2 blank lines, found 1
455: D202 No blank lines allowed *after* function docstring, found 1
481: D209 Put multi-line docstring closing quotes on separate line
481: D400 First line should end with '.', not 'o'
481: D205 Blank line missing between one-line summary and description
489:13: E128 continuation line under-indented for visual indent
490:13: E128 continuation line under-indented for visual indent
491:17: E127 continuation line over-indented for visual indent
499:13: E128 continuation line under-indented for visual indent
505:13: E128 continuation line under-indented for visual indent
510:13: E128 continuation line under-indented for visual indent
511:17: E127 continuation line over-indented for visual indent
512:13: E128 continuation line under-indented for visual indent
514:1: E302 expected 2 blank lines, found 1
514: D400 First line should end with '.', not 'r'


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: I101 Imported names are in the wrong order. Should be create_excel, format_record, format_records, get_output_format_content_type
96:1: F401 'create_excel' imported but unused
96:1: F401 'get_output_format_content_type' imported but unused
96:1: F401 'format_record' imported but unused
96:1: F401 'format_records' imported but unused
97:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.downloads_grapher should be before from invenio.modules.formatter
97:1: F401 'create_download_history_graph_and_box' imported but unused
98:1: F401 'DataCacher' imported but unused
99:1: I101 Imported names are in the wrong order. Should be perform_external_collection_search, print_external_results_overview
99:1: F401 'perform_external_collection_search' imported but unused
99:1: F401 'print_external_results_overview' imported but unused
101: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
101:1: F401 'CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
101:1: F401 'CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
104:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch.adminlib should be before from invenio.modules.access.local_config
104:1: F401 'get_detailed_page_tabs' imported but unused
104:1: F401 'get_detailed_page_tabs_counts' imported but unused
105:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.websearch.adminlib
105:1: I201 Missing newline before sections or imports.
106:1: I101 Imported names are in the wrong order. Should be DatabaseError, InvenioDbQueryWildcardLimitError, deserialize_via_marshal
106:1: I201 Missing newline before sections or imports.
106:1: F401 'deserialize_via_marshal' imported but unused
106:1: F401 'DatabaseError' imported but unused
106:1: F401 'InvenioDbQueryWildcardLimitError' imported but unused
107:1: F401 'acc_authorize_action' imported but unused
108:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.access.engine
109:1: I101 Imported names are in the wrong order. Should be encode_for_xml, strip_accents, wash_for_utf8
109:1: F401 'encode_for_xml' imported but unused
109:1: F401 'wash_for_utf8' imported but unused
109:1: F401 'strip_accents' imported but unused
110:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before from invenio.utils.text
115: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
115:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_searcher should be before import invenio.legacy.template
115:1: F401 'get_citedby_hitset' imported but unused
115:1: F401 'calculate_cited_by_list' imported but unused
115:1: F401 'get_refersto_hitset' imported but unused
115:1: F401 'get_records_with_num_cites' imported but unused
115:1: F401 'get_cited_by_list' imported but unused
115:1: F401 'get_citers_log' imported but unused
115:1: F401 'calculate_co_cited_with_list' imported but unused
115:1: F401 'get_refers_to_list' imported but unused
120:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrank.citation_grapher should be before from invenio.legacy.bibrank.citation_searcher
120:1: F401 'create_citation_history_graph_and_box' imported but unused
121: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
121:1: F401 'get_self_refers_to_list' imported but unused
121:1: F401 'get_self_cited_by' imported but unused
121:1: F401 'get_self_cited_by_list' imported but unused
122:55: E126 continuation line over-indented for hanging indent
125: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
125:1: F401 'wash_table_column_name' imported but unused
125:1: F401 'get_table_update_time' imported but unused
125:1: F401 'run_sql_with_limit' imported but unused
127:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid
127:1: F401 'collect_user_info' imported but unused
128:1: I101 Imported names are in the wrong order. Should be create_error_box, pagefooteronly, pageheaderonly, write_warning
128:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
128:1: F401 'pagefooteronly' imported but unused
128:1: F401 'create_error_box' imported but unused
128:1: F401 'write_warning' imported but unused
128:1: F401 'pageheaderonly' imported but unused
129:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webpage
131:1: F401 'apache' imported but unused
133:1: I100 Imports statements are in the wrong order. from invenio.legacy.websearch_external_collections should be before from invenio.utils
133:1: F401 'do_calculate_hosted_collections_results' imported but unused
133:1: F401 'calculate_hosted_collections_results' imported but unused
134:1: F401 'CFG_EXTERNAL_COLLECTION_MAXRESULTS' imported but unused
136:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibauthorid.config should be before from invenio.legacy.websearch_external_collections.config
136:1: F401 'BIBAUTHORID_LIMIT_TO_COLLECTIONS' imported but unused
141:22: E203 whitespace before ':'
141:14: E225 missing whitespace around operator
142:24: E203 whitespace before ':'
143:24: E203 whitespace before ':'
144:28: E203 whitespace before ':'
145:30: E203 whitespace before ':'
146:24: E203 whitespace before ':'
147:23: E203 whitespace before ':'
148:29: E203 whitespace before ':'
149:26: E203 whitespace before ':'
150:33: E203 whitespace before ':'
151:30: E203 whitespace before ':'
152:30: E203 whitespace before ':'
153:30: E203 whitespace before ':'
154:30: E203 whitespace before ':'
155:30: E203 whitespace before ':'
156:30: E203 whitespace before ':'
157:41: E703 statement ends with a semicolon
160:1: F401 'collection_restricted_p' imported but unused
161:1: F401 'restricted_collection_cache' imported but unused
162:1: F401 'get_permitted_restricted_collections' imported but unused
163:1: I100 Imports statements are in the wrong order. from invenio.modules.search.cache should be before from invenio.modules.search.utils
163:1: F401 'get_all_restricted_recids' imported but unused
166:1: I100 Imports statements are in the wrong order. from invenio.modules.records.access should be before from invenio.modules.search.cache
166:1: F401 'check_user_can_view_record' imported but unused
169:1: I100 Imports statements are in the wrong order. from invenio.modules.search.cache should be before from invenio.modules.search.cache
170:1: F401 'get_field_i18nname' imported but unused
172:1: I100 Imports statements are in the wrong order. from invenio.modules.indexer.models should be before from invenio.modules.search.cache
178: D401 First line should be imperative: 'Create', not 'Creates'
178: D202 No blank lines allowed *after* function docstring, found 1
178: D400 First line should end with '.', not 'n'
178: D205 Blank line missing between one-line summary and description
186:33: E261 at least two spaces before inline comment
195:1: F401 'get_synonym_terms' imported but unused
197:1: F403 'from invenio.modules.search.washers import *' used; unable to detect undefined names
200: D401 First line should be imperative: 'Return', not 'Returns'
200: D300 Expected """-quotes, got '-quotes
221:1: I100 Imports statements are in the wrong order. from invenio.modules.search.cache should be before from invenio.modules.search.washers
221:1: F401 'get_collection_allchildren' imported but unused
224: D401 First line should be imperative: 'Return', not 'Returns'
224: D202 No blank lines allowed *after* function docstring, found 1
234:34: E261 at least two spaces before inline comment
251:13: B901 blind except: statement
282: D400 First line should end with '.', not 'o'
282: D205 Blank line missing between one-line summary and description
282: D208 Docstring is over-indented
327:1: F403 'from invenio.modules.search.engine import *' used; unable to detect undefined names
330: D209 Put multi-line docstring closing quotes on separate line
330: D400 First line should end with '.', not 'y'
330: D205 Blank line missing between one-line summary and description
330: D208 Docstring is over-indented
343:38: E203 whitespace before ','
374:1: E302 expected 2 blank lines, found 0
374: D209 Put multi-line docstring closing quotes on separate line
374: D400 First line should end with '.', not 'g'
374: D205 Blank line missing between one-line summary and description
374: D208 Docstring is over-indented
403: D209 Put multi-line docstring closing quotes on separate line
403: D205 Blank line missing between one-line summary and description
420: D290 White spaces around docstring should be trimmed.
420: D400 First line should end with '.', not 'h'
420: D205 Blank line missing between one-line summary and description
438: D401 First line should be imperative: 'I', not 'Is'
438: D400 First line should end with '.', not '?'
449:1: E302 expected 2 blank lines, found 1
449: D205 Blank line missing between one-line summary and description
449: D208 Docstring is over-indented
456:1: I101 Imported names are in the wrong order. Should be CACHE_SORTED_DATA, SORTING_METHODS
456:1: F401 'CACHE_SORTED_DATA' imported but unused
459: D205 Blank line missing between one-line summary and description
459: D208 Docstring is over-indented
473:20: E127 continuation line over-indented for visual indent
475:25: E126 continuation line over-indented for hanging indent
526: D103 Docstring missing
536: D401 First line should be imperative: 'calculate', not 'calculates'
536: D209 Put multi-line docstring closing quotes on separate line
536: D202 No blank lines allowed *after* function docstring, found 1
536: D400 First line should end with '.', not 'e'
536: D205 Blank line missing between one-line summary and description
547:20: E261 at least two spaces before inline comment
551:17: E261 at least two spaces before inline comment
594: D290 White spaces around docstring should be trimmed.
594: D400 First line should end with '.', not 'n'
600:25: E261 at least two spaces before inline comment
601:13: E222 multiple spaces after operator
624:10: E261 at least two spaces before inline comment
643: D103 Docstring missing
644:25: E128 continuation line under-indented for visual indent
645:25: E128 continuation line under-indented for visual indent
646:25: E128 continuation line under-indented for visual indent
647:25: E128 continuation line under-indented for visual indent
664: D401 First line should be imperative: 'Set', not 'Sets'
664: D202 No blank lines allowed *after* function docstring, found 1
664: D400 First line should end with '.', not 'l'
664: D200 One-line docstring should not occupy 3 lines
665:23: E128 continuation line under-indented for visual indent
666:23: E128 continuation line under-indented for visual indent
667:23: E128 continuation line under-indented for visual indent
668:23: E128 continuation line under-indented for visual indent
669:23: E128 continuation line under-indented for visual indent
707:9: B901 blind except: statement


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