1: D100 Missing docstring in public module
29:1: E402 module level import not at top of file
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: E402 module level import not at top of file
34:1: I201 Missing newline before sections or imports.
34:1: E402 module level import not at top of file
35:1: I100 Imports statements are in the wrong order. from zlib should be before from six
35:1: I201 Missing newline before sections or imports.
35:1: E402 module level import not at top of file
36:1: I100 Imports statements are in the wrong order. import socket should be before from zlib
36:1: E402 module level import not at top of file
37:1: I100 Imports statements are in the wrong order. import marshal should be before import socket
37:1: E402 module level import not at top of file
38:1: I100 Imports statements are in the wrong order. import copy should be before import marshal
38:1: E402 module level import not at top of file
39:1: E402 module level import not at top of file
40:1: E402 module level import not at top of file
41:1: I100 Imports statements are in the wrong order. import urllib2 should be before import urlparse
41:1: E402 module level import not at top of file
42:1: I100 Imports statements are in the wrong order. import urllib should be before import urllib2
42:1: E402 module level import not at top of file
44:1: I101 Imported names are in the wrong order. Should be CFG_BIBUPLOAD_CONFLICTING_REVISION_TICKET_QUEUE, CFG_BIBUPLOAD_CONTROLLED_PROVENANCE_TAGS, CFG_BIBUPLOAD_DELETE_FORMATS, CFG_BIBUPLOAD_DISABLE_RECORD_REVISIONS, CFG_BIBUPLOAD_EXTERNAL_OAIID_PROVENANCE_TAG, CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_MATCH_DELETED_RECORDS, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_BIBUPLOAD_STRONG_TAGS, CFG_CERN_SITE, CFG_OAI_ID_FIELD, CFG_OAI_PROVENANCE_ALTERED_SUBFIELD, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL
44:1: E402 module level import not at top of file
45:6: E126 continuation line over-indented for hanging indent
61:1: I101 Imported names are in the wrong order. Should be CFG_JSON_AVAILABLE, json
61:1: E402 module level import not at top of file
62:1: I101 Imported names are in the wrong order. Should be CFG_BIBUPLOAD_CONTROLFIELD_TAGS, CFG_BIBUPLOAD_DELETE_CODE, CFG_BIBUPLOAD_DELETE_VALUE, CFG_BIBUPLOAD_OPT_MODES, CFG_BIBUPLOAD_SPECIAL_TAGS
62:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibupload.config should be before from invenio.utils.json
62:1: E402 module level import not at top of file
67:1: E402 module level import not at top of file
68:1: I101 Imported names are in the wrong order. Should be create_records, field_get_subfield_instances, field_get_subfield_values, record_add_field, record_add_subfield_into, record_delete_field, record_delete_fields, record_delete_subfield_from, record_drop_duplicate_fields, record_extract_dois, record_extract_oai_id, record_find_field, record_get_field_instances, record_get_field_value, record_get_field_values, record_has_field, record_modify_subfield, record_xml_output, records_identical
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.dbquery
68:1: E402 module level import not at top of file
69:31: E126 continuation line over-indented for hanging indent
87:1: E402 module level import not at top of file
88:1: E402 module level import not at top of file
89:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.utils.date
89:1: E402 module level import not at top of file
90:1: E402 module level import not at top of file
91:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.bibcatalog.api
91:1: I201 Missing newline before sections or imports.
91:1: E402 module level import not at top of file
92:1: I201 Missing newline before sections or imports.
92:1: E402 module level import not at top of file
93:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.utils.url
93:1: E402 module level import not at top of file
94:1: I101 Imported names are in the wrong order. Should be RecoverableError, fix_argv_paths, task_get_option, task_get_task_param, task_init, task_set_option, task_sleep_now_if_required, task_update_progress, write_message
94:1: E402 module level import not at top of file
98:1: I101 Imported names are in the wrong order. Should be BibRecDocs, BibRelation, CFG_BIBDOCFILE_AVAILABLE_FLAGS, InvenioBibDocFileError, KEEP_OLD_VALUE, MoreInfo, bibdocfile_url_p, check_valid_url, decompose_bibdocfile_url, download_url, file_strip_ext, get_docname_from_url, guess_format_from_url, normalize_format
98:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.legacy.bibsched.bibtask
98:1: E402 module level import not at top of file
104:1: F999 redefinition of unused 'search_pattern' from line 87
104:1: E402 module level import not at top of file
106:1: I101 Imported names are in the wrong order. Should be InvenioBibUploadConflictingRevisionsError, InvenioBibUploadInvalidRevisionError, InvenioBibUploadMissing005Error, InvenioBibUploadUnchangedRecordError, RevisionVerifier
106:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibupload.revisionverifier should be before from invenio.legacy.search_engine
106:1: E402 module level import not at top of file
107:48: E126 continuation line over-indented for hanging indent
126:1: E302 expected 2 blank lines, found 0
126: D200 One-line docstring should fit on one line with quotes (found 3)
130:30: E261 at least two spaces before inline comment
146:1: E302 expected 2 blank lines, found 1
146: D400 First line should end with a period (not 'd')
154:1: E302 expected 2 blank lines, found 1
154: D401 First line should be in imperative mood ('Resolve', not 'Resolves')
154: D209 Multi-line docstring closing quotes should be on a separate line
154: D202 No blank lines allowed after function docstring (found 1)
154: D400 First line should end with a period (not 's')
154: D205 1 blank line required between summary line and description (found 0)
161:12: E713 test for membership should be 'not in'
171:1: E302 expected 2 blank lines, found 0
171: D401 First line should be in imperative mood ('Thi', not 'This')
171: D400 First line should end with a period (not 't')
171: D205 1 blank line required between summary line and description (found 0)
197:9: B901 blind except: statement
201:1: E266 too many leading '#' for block comment
202:1: E302 expected 2 blank lines, found 1
202: D400 First line should end with a period (not 's')
202: D205 1 blank line required between summary line and description (found 0)
203:9: E128 continuation line under-indented for visual indent
215:9: E266 too many leading '#' for block comment
228:5: E303 too many blank lines (2)
232:46: E261 at least two spaces before inline comment
264:92: E203 whitespace before ','
269:5: E122 continuation line missing indentation or outdented
385:13: E125 continuation line with same indent as next logical line
392:25: E128 continuation line under-indented for visual indent
426:98: E228 missing whitespace around modulo operator
435:13: E266 too many leading '#' for block comment
436:13: E266 too many leading '#' for block comment
445:18: E225 missing whitespace around operator
471:21: E128 continuation line under-indented for visual indent
476:41: E128 continuation line under-indented for visual indent
477:41: E128 continuation line under-indented for visual indent
499:38: E261 at least two spaces before inline comment
609:17: B901 blind except: statement
614:9: E266 too many leading '#' for block comment
619:21: E128 continuation line under-indented for visual indent
624:13: E128 continuation line under-indented for visual indent
624:13: E125 continuation line with same indent as next logical line
641:25: E128 continuation line under-indented for visual indent
646:21: E128 continuation line under-indented for visual indent
666:13: E266 too many leading '#' for block comment
667:13: E266 too many leading '#' for block comment
671:1: E302 expected 2 blank lines, found 1
671: D400 First line should end with a period (not 'd')
671: D205 1 blank line required between summary line and description (found 0)
687:1: E302 expected 2 blank lines, found 1
687: D400 First line should end with a period (not 'r')
687: D205 1 blank line required between summary line and description (found 0)
700:39: E251 unexpected spaces around keyword / parameter equals
700:41: E251 unexpected spaces around keyword / parameter equals
701:37: E128 continuation line under-indented for visual indent
701:38: E251 unexpected spaces around keyword / parameter equals
701:40: E251 unexpected spaces around keyword / parameter equals
702:37: E128 continuation line under-indented for visual indent
702:44: E202 whitespace before ')'
702:38: E251 unexpected spaces around keyword / parameter equals
702:40: E251 unexpected spaces around keyword / parameter equals
707:35: E251 unexpected spaces around keyword / parameter equals
707:37: E251 unexpected spaces around keyword / parameter equals
708:33: E128 continuation line under-indented for visual indent
708:34: E251 unexpected spaces around keyword / parameter equals
708:36: E251 unexpected spaces around keyword / parameter equals
709:33: E128 continuation line under-indented for visual indent
709:40: E202 whitespace before ')'
709:34: E251 unexpected spaces around keyword / parameter equals
709:36: E251 unexpected spaces around keyword / parameter equals
721:1: E302 expected 2 blank lines, found 1
721: D103 Missing docstring in public function
731:40: E261 at least two spaces before inline comment
743:76: E251 unexpected spaces around keyword / parameter equals
743:78: E251 unexpected spaces around keyword / parameter equals
744:54: E128 continuation line under-indented for visual indent
744:58: E251 unexpected spaces around keyword / parameter equals
744:60: E251 unexpected spaces around keyword / parameter equals
745:54: E128 continuation line under-indented for visual indent
745:61: E251 unexpected spaces around keyword / parameter equals
745:63: E251 unexpected spaces around keyword / parameter equals
746:54: E128 continuation line under-indented for visual indent
746:61: E251 unexpected spaces around keyword / parameter equals
746:63: E251 unexpected spaces around keyword / parameter equals
747:54: E128 continuation line under-indented for visual indent
747:62: E251 unexpected spaces around keyword / parameter equals
747:64: E251 unexpected spaces around keyword / parameter equals
750:5: E303 too many blank lines (2)
750:76: E251 unexpected spaces around keyword / parameter equals
750:78: E251 unexpected spaces around keyword / parameter equals
751:54: E128 continuation line under-indented for visual indent
751:58: E251 unexpected spaces around keyword / parameter equals
751:60: E251 unexpected spaces around keyword / parameter equals
752:54: E128 continuation line under-indented for visual indent
752:61: E251 unexpected spaces around keyword / parameter equals
752:63: E251 unexpected spaces around keyword / parameter equals
753:54: E128 continuation line under-indented for visual indent
753:61: E251 unexpected spaces around keyword / parameter equals
753:63: E251 unexpected spaces around keyword / parameter equals
754:54: E128 continuation line under-indented for visual indent
754:62: E251 unexpected spaces around keyword / parameter equals
754:64: E251 unexpected spaces around keyword / parameter equals
756:1: E302 expected 2 blank lines, found 1
756: D400 First line should end with a period (not 't')
756: D205 1 blank line required between summary line and description (found 0)
798:1: E302 expected 2 blank lines, found 1
798: D103 Missing docstring in public function
818:1: E302 expected 2 blank lines, found 1
818: D400 First line should end with a period (not 's')
822:40: E502 the backslash is redundant between brackets
828:68: E202 whitespace before '}'
831:1: E302 expected 2 blank lines, found 1
831: D400 First line should end with a period (not 'a')
849:1: E302 expected 2 blank lines, found 1
849: D400 First line should end with a period (not 's')
862:29: E231 missing whitespace after ':'
865:1: E302 expected 2 blank lines, found 1
865: D400 First line should end with a period (not ',')
865: D205 1 blank line required between summary line and description (found 0)
865: D208 Docstring is over-indented
880:1: E302 expected 2 blank lines, found 1
880: D205 1 blank line required between summary line and description (found 0)
886:21: E127 continuation line over-indented for visual indent
892:1: E302 expected 2 blank lines, found 1
892: D205 1 blank line required between summary line and description (found 0)
902:21: E127 continuation line over-indented for visual indent
903:21: E128 continuation line under-indented for visual indent
909:44: E261 at least two spaces before inline comment
909:45: E262 inline comment should start with '# '
913:1: E302 expected 2 blank lines, found 1
913: D205 1 blank line required between summary line and description (found 0)
926:21: E128 continuation line under-indented for visual indent
927:21: E128 continuation line under-indented for visual indent
936:17: E266 too many leading '#' for block comment
960:1: E302 expected 2 blank lines, found 1
960: D205 1 blank line required between summary line and description (found 0)
970:21: E127 continuation line over-indented for visual indent
971:21: E128 continuation line under-indented for visual indent
977:44: E261 at least two spaces before inline comment
977:45: E262 inline comment should start with '# '
981:1: E302 expected 2 blank lines, found 1
981: D205 1 blank line required between summary line and description (found 0)
992:21: E127 continuation line over-indented for visual indent
993:21: E128 continuation line under-indented for visual indent
1001:17: E266 too many leading '#' for block comment
1008:21: E128 continuation line under-indented for visual indent
1009:21: E128 continuation line under-indented for visual indent
1016:1: E302 expected 2 blank lines, found 1
1016: D210 No whitespaces allowed surrounding docstring text
1023:1: E302 expected 2 blank lines, found 1
1023:64: E251 unexpected spaces around keyword / parameter equals
1023:66: E251 unexpected spaces around keyword / parameter equals
1023: D202 No blank lines allowed after function docstring (found 1)
1023: D400 First line should end with a period (not 'I')
1023: D205 1 blank line required between summary line and description (found 0)
1073:35: E122 continuation line missing indentation or outdented
1087:13: E128 continuation line under-indented for visual indent
1088:13: E128 continuation line under-indented for visual indent
1088:62: E502 the backslash is redundant between brackets
1089:13: E128 continuation line under-indented for visual indent
1090:13: E128 continuation line under-indented for visual indent
1090:62: E502 the backslash is redundant between brackets
1091:13: E128 continuation line under-indented for visual indent
1092:13: E128 continuation line under-indented for visual indent
1094:30: E261 at least two spaces before inline comment
1095:62: E502 the backslash is redundant between brackets
1110:17: E128 continuation line under-indented for visual indent
1115:13: E128 continuation line under-indented for visual indent
1116:62: E502 the backslash is redundant between brackets
1118:62: E502 the backslash is redundant between brackets
1141:37: E128 continuation line under-indented for visual indent
1149:13: E128 continuation line under-indented for visual indent
1150:46: E502 the backslash is redundant between brackets
1152:46: E502 the backslash is redundant between brackets
1156:35: E261 at least two spaces before inline comment
1157:66: E502 the backslash is redundant between brackets
1171:17: E128 continuation line under-indented for visual indent
1186:74: E502 the backslash is redundant between brackets
1187:81: E502 the backslash is redundant between brackets
1194:93: E502 the backslash is redundant between brackets
1195:84: E502 the backslash is redundant between brackets
1196:79: E502 the backslash is redundant between brackets
1202:35: E127 continuation line over-indented for visual indent
1206:17: E128 continuation line under-indented for visual indent
1212:70: E502 the backslash is redundant between brackets
1213:65: E502 the backslash is redundant between brackets
1214:71: E502 the backslash is redundant between brackets
1221:73: E502 the backslash is redundant between brackets
1222:72: E502 the backslash is redundant between brackets
1228:1: E302 expected 2 blank lines, found 1
1228: D400 First line should end with a period (not 'r')
1228: D205 1 blank line required between summary line and description (found 0)
1246:23: E126 continuation line over-indented for hanging indent
1259:1: E266 too many leading '#' for block comment
1261:1: E302 expected 2 blank lines, found 1
1261: D400 First line should end with a period (not 'e')
1277:9: E128 continuation line under-indented for visual indent
1292:1: E302 expected 2 blank lines, found 1
1292: D400 First line should end with a period (not 't')
1295:19: E222 multiple spaces after operator
1304:15: E221 multiple spaces before operator
1309:1: E302 expected 2 blank lines, found 1
1309: D400 First line should end with a period (not 'x')
1348:1: E302 expected 2 blank lines, found 1
1348: D400 First line should end with a period (not 'x')
1349:9: E128 continuation line under-indented for visual indent
1352:32: E225 missing whitespace around operator
1364:1: E302 expected 2 blank lines, found 1
1377: D400 First line should end with a period (not 't')
1377: D205 1 blank line required between summary line and description (found 0)
1399:21: E266 too many leading '#' for block comment
1400:21: E266 too many leading '#' for block comment
1403: D400 First line should end with a period (not 'y')
1403: D205 1 blank line required between summary line and description (found 0)
1414:36: E261 at least two spaces before inline comment
1414:37: E262 inline comment should start with '# '
1417:13: E266 too many leading '#' for block comment
1419:17: E266 too many leading '#' for block comment
1421:21: E128 continuation line under-indented for visual indent
1424:17: E266 too many leading '#' for block comment
1430:13: E266 too many leading '#' for block comment
1431:13: E266 too many leading '#' for block comment
1432:13: E266 too many leading '#' for block comment
1433:13: E266 too many leading '#' for block comment
1435:17: E128 continuation line under-indented for visual indent
1440:13: E266 too many leading '#' for block comment
1442:17: E128 continuation line under-indented for visual indent
1444: D400 First line should end with a period (not 'f')
1444: D205 1 blank line required between summary line and description (found 0)
1505:5: E266 too many leading '#' for block comment
1506:5: E266 too many leading '#' for block comment
1507:5: E266 too many leading '#' for block comment
1516:1: E302 expected 2 blank lines, found 1
1518:26: E711 comparison to None should be 'if cond is not None:'
1524:53: E251 unexpected spaces around keyword / parameter equals
1524:55: E251 unexpected spaces around keyword / parameter equals
1524:70: E251 unexpected spaces around keyword / parameter equals
1524:72: E251 unexpected spaces around keyword / parameter equals
1524: D400 First line should end with a period (not 's')
1524: D200 One-line docstring should fit on one line with quotes (found 3)
1525:32: E251 unexpected spaces around keyword / parameter equals
1525:34: E251 unexpected spaces around keyword / parameter equals
1551:26: E711 comparison to None should be 'if cond is None:'
1552:32: E711 comparison to None should be 'if cond is None:'
1559:21: B901 blind except: statement
1562:32: E711 comparison to None should be 'if cond is not None:'
1566:41: E203 whitespace before ','
1566:51: E251 unexpected spaces around keyword / parameter equals
1566:53: E251 unexpected spaces around keyword / parameter equals
1567:35: E251 unexpected spaces around keyword / parameter equals
1567:37: E251 unexpected spaces around keyword / parameter equals
1567:58: E251 unexpected spaces around keyword / parameter equals
1567:60: E251 unexpected spaces around keyword / parameter equals
1569:17: E714 test for object identity should be 'is not'
1572:56: E251 unexpected spaces around keyword / parameter equals
1572:58: E251 unexpected spaces around keyword / parameter equals
1573:58: E251 unexpected spaces around keyword / parameter equals
1573:60: E251 unexpected spaces around keyword / parameter equals
1574:57: E251 unexpected spaces around keyword / parameter equals
1574:59: E251 unexpected spaces around keyword / parameter equals
1577:1: E302 expected 2 blank lines, found 1
1577:68: E251 unexpected spaces around keyword / parameter equals
1577:70: E251 unexpected spaces around keyword / parameter equals
1577:83: E251 unexpected spaces around keyword / parameter equals
1577:85: E251 unexpected spaces around keyword / parameter equals
1577: D400 First line should end with a period (not 's')
1577: D200 One-line docstring should fit on one line with quotes (found 3)
1586:36: E261 at least two spaces before inline comment
1586:37: E262 inline comment should start with '# '
1607:17: E303 too many blank lines (2)
1607:31: E711 comparison to None should be 'if cond is None:'
1608:37: E711 comparison to None should be 'if cond is None:'
1615:25: B901 blind except: statement
1616:104: E502 the backslash is redundant between brackets
1617:53: E127 continuation line over-indented for visual indent
1621:37: E711 comparison to None should be 'if cond is not None:'
1632:31: E711 comparison to None should be 'if cond is None:'
1633:37: E711 comparison to None should be 'if cond is None:'
1640:25: B901 blind except: statement
1644:37: E711 comparison to None should be 'if cond is not None:'
1649:17: E303 too many blank lines (3)
1666:58: E251 unexpected spaces around keyword / parameter equals
1666:60: E251 unexpected spaces around keyword / parameter equals
1667:60: E251 unexpected spaces around keyword / parameter equals
1667:62: E251 unexpected spaces around keyword / parameter equals
1668:60: E251 unexpected spaces around keyword / parameter equals
1668:62: E251 unexpected spaces around keyword / parameter equals
1669:61: E251 unexpected spaces around keyword / parameter equals
1669:63: E251 unexpected spaces around keyword / parameter equals
1670:61: E251 unexpected spaces around keyword / parameter equals
1670:63: E251 unexpected spaces around keyword / parameter equals
1671:61: E251 unexpected spaces around keyword / parameter equals
1671:63: E251 unexpected spaces around keyword / parameter equals
1672:61: E251 unexpected spaces around keyword / parameter equals
1672:63: E251 unexpected spaces around keyword / parameter equals
1680:34: E128 continuation line under-indented for visual indent
1681:34: E128 continuation line under-indented for visual indent
1682:34: E128 continuation line under-indented for visual indent
1692:28: E711 comparison to None should be 'if cond is None:'
1693:60: E251 unexpected spaces around keyword / parameter equals
1693:62: E251 unexpected spaces around keyword / parameter equals
1694:53: E127 continuation line over-indented for visual indent
1694:64: E251 unexpected spaces around keyword / parameter equals
1694:66: E251 unexpected spaces around keyword / parameter equals
1695:53: E127 continuation line over-indented for visual indent
1695:64: E251 unexpected spaces around keyword / parameter equals
1695:66: E251 unexpected spaces around keyword / parameter equals
1696:53: E127 continuation line over-indented for visual indent
1696:63: E251 unexpected spaces around keyword / parameter equals
1696:65: E251 unexpected spaces around keyword / parameter equals
1697:53: E127 continuation line over-indented for visual indent
1697:64: E251 unexpected spaces around keyword / parameter equals
1697:66: E251 unexpected spaces around keyword / parameter equals
1698:53: E127 continuation line over-indented for visual indent
1698:64: E251 unexpected spaces around keyword / parameter equals
1698:66: E251 unexpected spaces around keyword / parameter equals
1699:53: E127 continuation line over-indented for visual indent
1699:61: E251 unexpected spaces around keyword / parameter equals
1699:63: E251 unexpected spaces around keyword / parameter equals
1707:72: E251 unexpected spaces around keyword / parameter equals
1707:74: E251 unexpected spaces around keyword / parameter equals
1715:1: E302 expected 2 blank lines, found 1
1715: D202 No blank lines allowed after function docstring (found 1)
1715: D400 First line should end with a period (not 's')
1715: D205 1 blank line required between summary line and description (found 0)
1716:31: E251 unexpected spaces around keyword / parameter equals
1716:33: E251 unexpected spaces around keyword / parameter equals
1716:46: E251 unexpected spaces around keyword / parameter equals
1716:48: E251 unexpected spaces around keyword / parameter equals
1732: D401 First line should be in imperative mood ('Add', not 'Adds')
1736:24: E261 at least two spaces before inline comment
1749: D401 First line should be in imperative mood ('Add', not 'Adds')
1784:12: E713 test for membership should be 'not in'
1791:9: B901 blind except: statement
1801:31: E261 at least two spaces before inline comment
1801:32: E262 inline comment should start with '# '
1802:31: E251 unexpected spaces around keyword / parameter equals
1802:33: E251 unexpected spaces around keyword / parameter equals
1804:34: E261 at least two spaces before inline comment
1804:35: E262 inline comment should start with '# '
1805:31: E251 unexpected spaces around keyword / parameter equals
1805:33: E251 unexpected spaces around keyword / parameter equals
1805:50: E251 unexpected spaces around keyword / parameter equals
1805:52: E251 unexpected spaces around keyword / parameter equals
1807:12: E714 test for object identity should be 'is not'
1808:52: E251 unexpected spaces around keyword / parameter equals
1808:54: E251 unexpected spaces around keyword / parameter equals
1808:76: E251 unexpected spaces around keyword / parameter equals
1808:78: E251 unexpected spaces around keyword / parameter equals
1810:12: E714 test for object identity should be 'is not'
1811:52: E251 unexpected spaces around keyword / parameter equals
1811:54: E251 unexpected spaces around keyword / parameter equals
1812:50: E251 unexpected spaces around keyword / parameter equals
1812:52: E251 unexpected spaces around keyword / parameter equals
1812:67: E251 unexpected spaces around keyword / parameter equals
1812:69: E251 unexpected spaces around keyword / parameter equals
1813:12: E714 test for object identity should be 'is not'
1814:52: E251 unexpected spaces around keyword / parameter equals
1814:54: E251 unexpected spaces around keyword / parameter equals
1815:50: E251 unexpected spaces around keyword / parameter equals
1815:52: E251 unexpected spaces around keyword / parameter equals
1815:67: E251 unexpected spaces around keyword / parameter equals
1815:69: E251 unexpected spaces around keyword / parameter equals
1816:54: E251 unexpected spaces around keyword / parameter equals
1816:56: E251 unexpected spaces around keyword / parameter equals
1817:12: E714 test for object identity should be 'is not'
1818:52: E251 unexpected spaces around keyword / parameter equals
1818:54: E251 unexpected spaces around keyword / parameter equals
1819:50: E251 unexpected spaces around keyword / parameter equals
1819:52: E251 unexpected spaces around keyword / parameter equals
1819:69: E251 unexpected spaces around keyword / parameter equals
1819:71: E251 unexpected spaces around keyword / parameter equals
1827:5: E303 too many blank lines (2)
1827:19: E261 at least two spaces before inline comment
1829:18: E261 at least two spaces before inline comment
1842:28: E261 at least two spaces before inline comment
1842:29: E262 inline comment should start with '# '
1855:13: E303 too many blank lines (2)
1870:13: E303 too many blank lines (2)
1873:60: E261 at least two spaces before inline comment
1873:61: E262 inline comment should start with '# '
1882:40: W602 deprecated form of raising exception
1890:13: E303 too many blank lines (2)
1894:26: E222 multiple spaces after operator
1902:21: E116 unexpected indentation (comment)
1902:21: E266 too many leading '#' for block comment
1903:21: E116 unexpected indentation (comment)
1903:21: E266 too many leading '#' for block comment
1904:21: E116 unexpected indentation (comment)
1904:21: E266 too many leading '#' for block comment
1912:17: E266 too many leading '#' for block comment
1918:40: W602 deprecated form of raising exception
1947:44: W602 deprecated form of raising exception
1957:21: E266 too many leading '#' for block comment
1968:21: E266 too many leading '#' for block comment
1974:13: E303 too many blank lines (2)
1980:13: E303 too many blank lines (2)
1995:40: W602 deprecated form of raising exception
1997:29: E261 at least two spaces before inline comment
1998:131: E202 whitespace before ')'
2000:40: W602 deprecated form of raising exception
2002:40: W602 deprecated form of raising exception
2004:40: W602 deprecated form of raising exception
2006:40: W602 deprecated form of raising exception
2009:44: W602 deprecated form of raising exception
2029:9: E266 too many leading '#' for block comment
2030:9: E266 too many leading '#' for block comment
2033:9: E303 too many blank lines (2)
2033:108: E202 whitespace before ')'
2038:17: E266 too many leading '#' for block comment
2039:17: E266 too many leading '#' for block comment
2040:17: E266 too many leading '#' for block comment
2068:17: E266 too many leading '#' for block comment
2069:17: E266 too many leading '#' for block comment
2070:17: E266 too many leading '#' for block comment
2074:21: E266 too many leading '#' for block comment
2081:21: E266 too many leading '#' for block comment
2082:21: E266 too many leading '#' for block comment
2085:30: E261 at least two spaces before inline comment
2093:46: E261 at least two spaces before inline comment
2108:46: E261 at least two spaces before inline comment
2172:21: E266 too many leading '#' for block comment
2288:32: E711 comparison to None should be 'if cond is None:'
2298:1: E266 too many leading '#' for block comment
2314:71: E203 whitespace before ','
2316:1: E302 expected 2 blank lines, found 1
2316: D400 First line should end with a period (not 't')
2331:31: E222 multiple spaces after operator
2336:19: E221 multiple spaces before operator
2341:83: E203 whitespace before ','
2354:83: E203 whitespace before ','
2357:1: E302 expected 2 blank lines, found 1
2357: D200 One-line docstring should fit on one line with quotes (found 3)
2366: D400 First line should end with a period (not 'e')
2366: D205 1 blank line required between summary line and description (found 0)
2374:21: E127 continuation line over-indented for visual indent
2380:32: E261 at least two spaces before inline comment
2380:33: E262 inline comment should start with '# '
2384:21: E261 at least two spaces before inline comment
2384:22: E262 inline comment should start with '# '
2393:17: E128 continuation line under-indented for visual indent
2396:1: E302 expected 2 blank lines, found 1
2396: D202 No blank lines allowed after function docstring (found 1)
2396: D400 First line should end with a period (not 'r')
2491:1: E302 expected 2 blank lines, found 1
2491: D202 No blank lines allowed after function docstring (found 1)
2491: D400 First line should end with a period (not 'd')
2504:25: E128 continuation line under-indented for visual indent
2515:21: E266 too many leading '#' for block comment
2516:21: E266 too many leading '#' for block comment
2523:21: E128 continuation line under-indented for visual indent
2532:1: E302 expected 2 blank lines, found 1
2532: D400 First line should end with a period (not 'e')
2532: D205 1 blank line required between summary line and description (found 0)
2547:1: E266 too many leading '#' for block comment
2548:1: E302 expected 2 blank lines, found 1
2548: D401 First line should be in imperative mood ('Return', not 'Returns')
2548: D400 First line should end with a period (not 'e')
2548: D205 1 blank line required between summary line and description (found 0)
2572:1: E302 expected 2 blank lines, found 1
2572: D400 First line should end with a period (not 'n')
2572: D205 1 blank line required between summary line and description (found 0)
2579:5: E266 too many leading '#' for block comment
2580:5: E266 too many leading '#' for block comment
2584:94: E261 at least two spaces before inline comment
2584:95: E262 inline comment should start with '# '
2593:21: E266 too many leading '#' for block comment
2594:21: E266 too many leading '#' for block comment
2597:101: E261 at least two spaces before inline comment
2597:102: E262 inline comment should start with '# '
2598:13: E266 too many leading '#' for block comment
2599:13: E266 too many leading '#' for block comment
2600:13: E266 too many leading '#' for block comment
2610:25: E266 too many leading '#' for block comment
2623:5: E266 too many leading '#' for block comment
2629:1: E302 expected 2 blank lines, found 1
2629: D202 No blank lines allowed after function docstring (found 1)
2629: D400 First line should end with a period (not 's')
2638:47: E228 missing whitespace around modulo operator
2664:41: E228 missing whitespace around modulo operator
2666:1: E302 expected 2 blank lines, found 1
2669:13: E128 continuation line under-indented for visual indent
2670:13: E128 continuation line under-indented for visual indent
2675:13: E128 continuation line under-indented for visual indent
2694:13: E128 continuation line under-indented for visual indent
2695:13: E128 continuation line under-indented for visual indent
2696:18: E128 continuation line under-indented for visual indent
2697:20: E121 continuation line under-indented for hanging indent
2712:13: E128 continuation line under-indented for visual indent
2713:13: E128 continuation line under-indented for visual indent
2714:13: E128 continuation line under-indented for visual indent
2716:1: E302 expected 2 blank lines, found 1
2716:70: E261 at least two spaces before inline comment
2716: D210 No whitespaces allowed surrounding docstring text
2716: D301 Use r""" if any backslashes in a docstring
2716: D202 No blank lines allowed after function docstring (found 1)
2716: D400 First line should end with a period (not 'e')
2716: D205 1 blank line required between summary line and description (found 0)
2808: D210 No whitespaces allowed surrounding docstring text
2808: D400 First line should end with a period (not 's')
2808: D205 1 blank line required between summary line and description (found 0)
2836:1: E302 expected 2 blank lines, found 1
2836: D209 Multi-line docstring closing quotes should be on a separate line
2836: D400 First line should end with a period (not 'e')
2836: D205 1 blank line required between summary line and description (found 0)
2851:5: B901 blind except: statement
2856:1: E302 expected 2 blank lines, found 1
2856: D103 Missing docstring in public function
2865:5: E266 too many leading '#' for block comment
2867:5: E266 too many leading '#' for block comment
2890:1: E302 expected 2 blank lines, found 1
2890: D400 First line should end with a period (not 's')
2890: D205 1 blank line required between summary line and description (found 0)
2905:9: E266 too many leading '#' for block comment
2920:25: E251 unexpected spaces around keyword / parameter equals
2920:27: E251 unexpected spaces around keyword / parameter equals
2921:33: E251 unexpected spaces around keyword / parameter equals
2921:35: E251 unexpected spaces around keyword / parameter equals
2922:27: E251 unexpected spaces around keyword / parameter equals
2922:29: E251 unexpected spaces around keyword / parameter equals
2923:24: E251 unexpected spaces around keyword / parameter equals
2923:26: E251 unexpected spaces around keyword / parameter equals
2924:24: E251 unexpected spaces around keyword / parameter equals
2924:26: E251 unexpected spaces around keyword / parameter equals
2925:25: E251 unexpected spaces around keyword / parameter equals
2925:27: E251 unexpected spaces around keyword / parameter equals
2954:57: E502 the backslash is redundant between brackets
2955:38: E127 continuation line over-indented for visual indent
2955:69: E502 the backslash is redundant between brackets
2956:43: E127 continuation line over-indented for visual indent
2965:86: E251 unexpected spaces around keyword / parameter equals
2965:88: E251 unexpected spaces around keyword / parameter equals
2967:40: E251 unexpected spaces around keyword / parameter equals
2967:42: E251 unexpected spaces around keyword / parameter equals
2968:38: E251 unexpected spaces around keyword / parameter equals
2968:40: E251 unexpected spaces around keyword / parameter equals
2969:41: E251 unexpected spaces around keyword / parameter equals
2969:43: E251 unexpected spaces around keyword / parameter equals
2970:41: E251 unexpected spaces around keyword / parameter equals
2970:43: E251 unexpected spaces around keyword / parameter equals
2971:42: E251 unexpected spaces around keyword / parameter equals
2971:44: E251 unexpected spaces around keyword / parameter equals
2974:5: E303 too many blank lines (2)
2976:1: E302 expected 2 blank lines, found 1
2976: D210 No whitespaces allowed surrounding docstring text
2979:13: E128 continuation line under-indented for visual indent
3002:25: E128 continuation line under-indented for visual indent
3017:1: E302 expected 2 blank lines, found 1
3017: D103 Missing docstring in public function
3018:40: E711 comparison to None should be 'if cond is not None:'


2: L102 copyright year is outdated, expected 2015 but got 2014
22:1: I201 Missing newline before sections or imports.
23:1: I100 Imports statements are in the wrong order. from tempfile should be before import six
23:1: I201 Missing newline before sections or imports.
27:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask


29:1: I201 Missing newline before sections or imports.
31:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before import requests
42:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.legacy.search_engine
43:1: I201 Missing newline before sections or imports.
332:27: F821 undefined name 'CFG_JOURNAL_PUBINFO_STANDARD_FORM'
333:30: F821 undefined name 'CFG_JOURNAL_TAG'
334:30: F821 undefined name 'CFG_JOURNAL_TAG'
335:30: F821 undefined name 'CFG_JOURNAL_TAG'
336:30: F821 undefined name 'CFG_JOURNAL_TAG'


Can't explain that. It's possibly a bug and should be made a global
variable...

On 26.06.15 13:44, Ian wrote:
> Garvin - can you explain to me: how does the Standard attachment mode
> |$postattach[] = $attlink;| get into body here, while not being
> referenced or returned? Or is that just a "dummy" entry, while done before?
> https://github.com/s9y/additional_plugins/blob/master/serendipity_event_popfetcher/serendipity_event_popfetcher.php#L838
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/s9y/additional_plugins/commit/8b06d10d76fc0fc7a430962da22951e6708a4184#commitcomment-11880485>.
>


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2014
21:1: I201 Missing newline before sections or imports.
22:1: I100 Imports statements are in the wrong order. import sys should be before import six
22:1: I201 Missing newline before sections or imports.
23:1: I100 Imports statements are in the wrong order. import csv should be before import sys
27:1: I100 Imports statements are in the wrong order. from invenio.legacy.refextract.config should be before from six
29:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.modules.knowledge.api
30:1: I101 Imported names are in the wrong order. Should be re_extract_char_class, re_extract_quoted_text, re_kb_line, re_punctuation, re_regexp_character_class, re_report_num_chars_to_escape
31:35: E126 continuation line over-indented for hanging indent
36:1: I100 Imports statements are in the wrong order. from invenio.legacy.docextract.utils should be before from invenio.legacy.refextract.regexs
37:1: I100 Imports statements are in the wrong order. from invenio.legacy.docextract.text should be before from invenio.legacy.docextract.utils
39:1: I100 Imports statements are in the wrong order. from invenio.legacy.search_engine.utils should be before from invenio.utils.hash
42: D202 No blank lines allowed after function docstring (found 1)
42: D400 First line should end with a period (not ')')
65: D400 First line should end with a period (not ')')
85: D103 Missing docstring in public function
103: D400 First line should end with a period (not 's')
124: D400 First line should end with a period (not 'n')
124: D205 1 blank line required between summary line and description (found 0)
124: D208 Docstring is over-indented
135: D401 First line should be in imperative mood ('Compare', not 'Compares')
135: D200 One-line docstring should fit on one line with quotes (found 2)
152: D301 Use r""" if any backslashes in a docstring
152: D400 First line should end with a period (not 's')
152: D205 1 blank line required between summary line and description (found 0)
152: D208 Docstring is over-indented
168: D301 Use r""" if any backslashes in a docstring
168: D400 First line should end with a period (not 't')
168: D205 1 blank line required between summary line and description (found 0)
168: D208 Docstring is over-indented
187:29: E126 continuation line over-indented for hanging indent
208:46: E127 continuation line over-indented for visual indent
210:45: E127 continuation line over-indented for visual indent
216: D400 First line should end with a period (not 's')
216: D205 1 blank line required between summary line and description (found 0)
216: D208 Docstring is over-indented
259: D400 First line should end with a period (not 'n')
259: D205 1 blank line required between summary line and description (found 0)
259: D208 Docstring is over-indented
295:15: E121 continuation line under-indented for hanging indent
299:15: E127 continuation line over-indented for visual indent
310:50: E127 continuation line over-indented for visual indent
313:59: E127 continuation line over-indented for visual indent
315:59: E128 continuation line under-indented for visual indent
316:59: E127 continuation line over-indented for visual indent
319:54: E114 indentation is not a multiple of four (comment)
319:54: E116 unexpected indentation (comment)
320:54: E114 indentation is not a multiple of four (comment)
320:54: E116 unexpected indentation (comment)
321:54: E114 indentation is not a multiple of four (comment)
321:54: E116 unexpected indentation (comment)
322:54: E114 indentation is not a multiple of four (comment)
322:54: E116 unexpected indentation (comment)
324:54: E114 indentation is not a multiple of four (comment)
324:54: E116 unexpected indentation (comment)
325:54: E114 indentation is not a multiple of four (comment)
325:54: E116 unexpected indentation (comment)
327:54: E114 indentation is not a multiple of four (comment)
327:54: E116 unexpected indentation (comment)
328:54: E114 indentation is not a multiple of four (comment)
328:54: E116 unexpected indentation (comment)
329:54: E114 indentation is not a multiple of four (comment)
329:54: E116 unexpected indentation (comment)
331:54: E114 indentation is not a multiple of four (comment)
331:54: E116 unexpected indentation (comment)
332:54: E114 indentation is not a multiple of four (comment)
332:54: E116 unexpected indentation (comment)
339:17: E127 continuation line over-indented for visual indent
345:24: E114 indentation is not a multiple of four (comment)
345:24: E116 unexpected indentation (comment)
346:24: E114 indentation is not a multiple of four (comment)
346:24: E116 unexpected indentation (comment)
347:24: E114 indentation is not a multiple of four (comment)
347:24: E116 unexpected indentation (comment)
348:24: E114 indentation is not a multiple of four (comment)
348:24: E116 unexpected indentation (comment)
368:34: E127 continuation line over-indented for visual indent
390:38: E127 continuation line over-indented for visual indent
427:23: E203 whitespace before ':'
437: D400 First line should end with a period (not 'a')
437: D205 1 blank line required between summary line and description (found 0)
437: D208 Docstring is over-indented
454: D400 First line should end with a period (not 'e')
480: D103 Missing docstring in public function
490:53: E203 whitespace before ':'
511: D103 Missing docstring in public function
521:53: E203 whitespace before ':'
531:72: E227 missing whitespace around bitwise or shift operator
543: D103 Missing docstring in public function
553:53: E203 whitespace before ':'
578: D400 First line should end with a period (not 'e')
614: D103 Missing docstring in public function
618: D103 Missing docstring in public function
633:62: E127 continuation line over-indented for visual indent
643:61: E127 continuation line over-indented for visual indent
651: D103 Missing docstring in public function
659: D103 Missing docstring in public function
689: D400 First line should end with a period (not 's')
689: D205 1 blank line required between summary line and description (found 0)
689: D208 Docstring is over-indented
754:14: E127 continuation line over-indented for visual indent
774: D103 Missing docstring in public function
783:49: E227 missing whitespace around bitwise or shift operator


1: D100 Missing docstring in public module
4: L102 copyright year is outdated, expected 2015 but got 2014
21:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.search_engine
21:1: I201 Missing newline before sections or imports.
24: D103 Missing docstring in public function
26:27: F821 undefined name 'load_config'
33:14: F821 undefined name 'bibrank_search'
37: D202 No blank lines allowed after function docstring (found 1)
37: D400 First line should end with a period (not 't')
49: D103 Missing docstring in public function
57:9: F821 undefined name 'CFG_JOURNAL_PUBINFO_STANDARD_FORM'
61: D103 Missing docstring in public function
62:20: F821 undefined name 'standardize_report_number'
66: D103 Missing docstring in public function
71: D103 Missing docstring in public function
77:1: E302 expected 2 blank lines, found 1
77: D103 Missing docstring in public function
78:20: F821 undefined name 'get_collection_reclist'
95: D103 Missing docstring in public function
96:20: F821 undefined name 'get_collection_reclist'


38:1: I100 Imports statements are in the wrong order. import cgi should be before from invenio.utils.deprecation
38:1: E402 module level import not at top of file
39:1: E402 module level import not at top of file
40:1: E402 module level import not at top of file
41:1: E402 module level import not at top of file
42:1: E402 module level import not at top of file
45:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS, CFG_BASE_URL, CFG_BIBFORMAT_HIDDEN_TAGS, CFG_BIBINDEX_CHARS_PUNCTUATION, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS, CFG_BIBSORT_BUCKETS, CFG_BIBSORT_ENABLED, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE, CFG_CERN_SITE, CFG_INSPIRE_SITE, CFG_LOGDIR, CFG_LOGDIR, CFG_OAI_ID_FIELD, 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_WEBSEARCH_WILDCARD_LIMIT, CFG_XAPIAN_ENABLED
45:1: F999 redefinition of unused 'CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE' from line 45
45:1: F999 redefinition of unused 'CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG' from line 45
45:1: F999 redefinition of unused 'CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS' from line 45
45:1: F999 redefinition of unused 'CFG_LOGDIR' from line 45
45:1: F999 redefinition of unused 'CFG_WEBSEARCH_WILDCARD_LIMIT' from line 45
45:1: F401 'CFG_XAPIAN_ENABLED' imported but unused
45:1: F401 'CFG_BIBINDEX_CHARS_PUNCTUATION' imported but unused
45:1: F401 'CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY' imported but unused
45:1: F401 'CFG_WEBSEARCH_SYNONYM_KBRS' imported but unused
45:1: F401 'CFG_BIBUPLOAD_SERIALIZE_RECORD_STRUCTURE' imported but unused
45:1: F401 'CFG_WEBSEARCH_DISPLAY_NEAREST_TERMS' imported but unused
45:1: F401 'CFG_OAI_ID_FIELD' imported but unused
45:1: F401 'CFG_WEBSEARCH_FIELDS_CONVERT' imported but unused
45:1: F401 'CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS' imported but unused
45:1: F401 'CFG_SITE_RECORD' imported but unused
45:1: F401 'CFG_BIBRANK_SHOW_DOWNLOAD_GRAPHS' imported but unused
45:1: F401 'CFG_INSPIRE_SITE' imported but unused
45:1: F401 'CFG_BASE_URL' imported but unused
45:1: F401 'CFG_LOGDIR' imported but unused
45:1: F401 'CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG' imported but unused
45:1: F401 'CFG_BIBSORT_ENABLED' imported but unused
45:1: F401 'CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT' imported but unused
45:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused
45:1: F401 'CFG_WEBSEARCH_WILDCARD_LIMIT' imported but unused
45:1: F401 'CFG_WEBSEARCH_DETAILED_META_FORMAT' imported but unused
45:1: F401 'CFG_BIBSORT_BUCKETS' imported but unused
45:1: F401 'CFG_WEBSEARCH_FULLTEXT_SNIPPETS' imported but unused
45:1: F401 'CFG_SOLR_URL' imported but unused
45:1: F401 'CFG_WEBSEARCH_IDXPAIRS_EXACT_SEARCH' imported but unused
45:1: F401 'CFG_WEBSEARCH_IDXPAIRS_FIELDS' imported but unused
45:1: E402 module level import not at top of file
46:6: E126 continuation line over-indented for hanging indent
82:1: E402 module level import not at top of file
83:1: F401 'get_most_popular_field_values' imported but unused
83:1: E402 module level import not at top of file
84:1: I101 Imported names are in the wrong order. Should be InvenioWebSearchCitedbyLimitError, InvenioWebSearchReferstoLimitError, InvenioWebSearchUnknownCollectionError, InvenioWebSearchWildcardLimitError
84:1: I100 Imports statements are in the wrong order. from invenio.modules.search.errors should be before from invenio.modules.search.utils
84:1: F401 'InvenioWebSearchUnknownCollectionError' imported but unused
84:1: F401 'InvenioWebSearchReferstoLimitError' imported but unused
84:1: F401 'InvenioWebSearchCitedbyLimitError' imported but unused
84:1: F401 'InvenioWebSearchWildcardLimitError' imported but unused
84:1: E402 module level import not at top of file
85:6: E126 continuation line over-indented for hanging indent
89:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.search.errors
89:1: F401 'get_fieldvalues_alephseq_like' imported but unused
89:1: E402 module level import not at top of file
91:1: E402 module level import not at top of file
92:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from .utils
92:1: I201 Missing newline before sections or imports.
92:1: F401 'record_xml_output' imported but unused
92:1: F401 'create_record' imported but unused
92:1: E402 module level import not at top of file
93:1: F401 'DataCacher' imported but unused
93:1: E402 module level import not at top of file
94:1: I101 Imported names are in the wrong order. Should be perform_external_collection_search, print_external_results_overview
94:1: F401 'perform_external_collection_search' imported but unused
94:1: F401 'print_external_results_overview' imported but unused
94:1: E402 module level import not at top of file
95:1: E402 module level import not at top of file
96:1: I101 Imported names are in the wrong order. Should be CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS, CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_USERIDS_IN_TAGS, CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS, CFG_ACC_GRANT_VIEWER_RIGHTS_TO_USERIDS_IN_TAGS, VIEWRESTRCOLL
96:1: F401 'CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
96:1: F401 'CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_USERIDS_IN_TAGS' imported but unused
96:1: F401 'CFG_ACC_GRANT_VIEWER_RIGHTS_TO_USERIDS_IN_TAGS' imported but unused
96:1: F401 'CFG_ACC_GRANT_VIEWER_RIGHTS_TO_EMAILS_IN_TAGS' imported but unused
96:1: E402 module level import not at top of file
102:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.modules.access.local_config
102:1: F401 'intbitset' imported but unused
102:1: E402 module level import not at top of file
103:1: I201 Missing newline before sections or imports.
103:1: F401 'InvenioDbQueryWildcardLimitError' imported but unused
103:1: E402 module level import not at top of file
104:1: F401 'deserialize_via_marshal' imported but unused
104:1: E402 module level import not at top of file
105:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from invenio.utils.serializers
105:1: F401 'acc_authorize_action' imported but unused
105:1: E402 module level import not at top of file
106:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.modules.access.engine
106:1: F401 'register_exception' imported but unused
106:1: E402 module level import not at top of file
107:1: I101 Imported names are in the wrong order. Should be encode_for_xml, strip_accents, wash_for_utf8
107:1: F401 'encode_for_xml' imported but unused
107:1: F401 'wash_for_utf8' imported but unused
107:1: F401 'strip_accents' imported but unused
107:1: E402 module level import not at top of file
108:1: I100 Imports statements are in the wrong order. from invenio.legacy should be before from invenio.utils.text
108:1: F401 'bibrecord' imported but unused
108:1: E402 module level import not at top of file
110: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
110:1: F401 'wash_table_column_name' imported but unused
110:1: F401 'get_table_update_time' imported but unused
110:1: F401 'run_sql_with_limit' imported but unused
110:1: E402 module level import not at top of file
112:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid
112:1: F401 'collect_user_info' imported but unused
112:1: E402 module level import not at top of file
113:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.legacy.webuser
113:1: E402 module level import not at top of file
115:1: F401 'apache' imported but unused
115:1: E402 module level import not at top of file
117:1: F401 'DatabaseError' imported but unused
117:1: E402 module level import not at top of file
122:22: E203 whitespace before ':'
122:14: E225 missing whitespace around operator
123:24: E203 whitespace before ':'
124:24: E203 whitespace before ':'
125:28: E203 whitespace before ':'
126:30: E203 whitespace before ':'
127:24: E203 whitespace before ':'
128:23: E203 whitespace before ':'
129:29: E203 whitespace before ':'
130:26: E203 whitespace before ':'
131:33: E203 whitespace before ':'
132:30: E203 whitespace before ':'
133:30: E203 whitespace before ':'
134:30: E203 whitespace before ':'
135:30: E203 whitespace before ':'
136:30: E203 whitespace before ':'
137:30: E203 whitespace before ':'
138:41: E703 statement ends with a semicolon
140:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from sqlalchemy.exc
140:1: F401 'collection_restricted_p' imported but unused
140:1: E402 module level import not at top of file
141:1: F401 'restricted_collection_cache' imported but unused
141:1: E402 module level import not at top of file
142:1: F401 'get_permitted_restricted_collections' imported but unused
142:1: E402 module level import not at top of file
145:1: F401 'check_user_can_view_record' imported but unused
145:1: E402 module level import not at top of file
147:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio_records.access
147:1: F401 'get_coll_i18nname' imported but unused
147:1: E402 module level import not at top of file
148:1: F401 'get_field_i18nname' imported but unused
148:1: E402 module level import not at top of file
151: D401 First line should be in imperative mood ('Create', not 'Creates')
151: D400 First line should end with a period (not 'n')
151: D205 1 blank line required between summary line and description (found 0)
158:1: F403 'from invenio.modules.search.washers import *' used; unable to detect undefined names
158:1: E402 module level import not at top of file
161: D401 First line should be in imperative mood ('Return', not 'Returns')
161: D300 Use """triple double quotes""" (found '-quotes)
182:1: I100 Imports statements are in the wrong order. from invenio.modules.collections.cache should be before from invenio.modules.search.washers
182:1: F401 'get_collection_allchildren' imported but unused
182:1: E402 module level import not at top of file
185: D400 First line should end with a period (not 'o')
185: D205 1 blank line required between summary line and description (found 0)
185: D208 Docstring is over-indented
230:1: F403 'from invenio.modules.search.searchext.engines.native import *' used; unable to detect undefined names
230:1: E402 module level import not at top of file
233: D209 Multi-line docstring closing quotes should be on a separate line
233: D400 First line should end with a period (not 'y')
233: D205 1 blank line required between summary line and description (found 0)
233: D208 Docstring is over-indented
246:38: E203 whitespace before ','
277:1: E302 expected 2 blank lines, found 0
277: D209 Multi-line docstring closing quotes should be on a separate line
277: D400 First line should end with a period (not 'g')
277: D205 1 blank line required between summary line and description (found 0)
277: D208 Docstring is over-indented
306: D209 Multi-line docstring closing quotes should be on a separate line
306: D205 1 blank line required between summary line and description (found 0)
319:1: E303 too many blank lines (3)
319: D103 Missing docstring in public function
329: D401 First line should be in imperative mood ('calculate', not 'calculates')
329: D209 Multi-line docstring closing quotes should be on a separate line
329: D202 No blank lines allowed after function docstring (found 1)
329: D400 First line should end with a period (not 'e')
329: D205 1 blank line required between summary line and description (found 0)
340:20: E261 at least two spaces before inline comment
344:17: E261 at least two spaces before inline comment
371:1: E302 expected 2 blank lines, found 1
389: D210 No whitespaces allowed surrounding docstring text
389: D400 First line should end with a period (not 'n')
395:25: E261 at least two spaces before inline comment
396:13: E222 multiple spaces after operator
419:10: E261 at least two spaces before inline comment
436:1: E266 too many leading '#' for block comment
438: D103 Missing docstring in public function
439:25: E128 continuation line under-indented for visual indent
440:25: E128 continuation line under-indented for visual indent
441:25: E128 continuation line under-indented for visual indent
442:25: E128 continuation line under-indented for visual indent
459: D401 First line should be in imperative mood ('Set', not 'Sets')
459: D202 No blank lines allowed after function docstring (found 1)
459: D400 First line should end with a period (not 'l')
459: D200 One-line docstring should fit on one line with quotes (found 3)
460:23: E128 continuation line under-indented for visual indent
461:23: E128 continuation line under-indented for visual indent
462:23: E128 continuation line under-indented for visual indent
463:23: E128 continuation line under-indented for visual indent
464:23: E128 continuation line under-indented for visual indent
502:9: B901 blind except: statement