1: D100 Missing docstring in public module
30:1: E402 module level import not at top of file
31:1: E402 module level import not at top of file
32:1: E402 module level import not at top of file
33:1: E402 module level import not at top of file
34:1: E402 module level import not at top of file
35:1: 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. from zlib should be before from six
36:1: I201 Missing newline before sections or imports.
36:1: E402 module level import not at top of file
37:1: I100 Imports statements are in the wrong order. import socket should be before from zlib
37:1: E402 module level import not at top of file
38:1: I100 Imports statements are in the wrong order. import marshal should be before import socket
38:1: E402 module level import not at top of file
39:1: I100 Imports statements are in the wrong order. import copy should be before import marshal
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: I100 Imports statements are in the wrong order. import urllib2 should be before import urlparse
42:1: E402 module level import not at top of file
43:1: I100 Imports statements are in the wrong order. import urllib should be before import urllib2
43:1: E402 module level import not at top of file
45: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
45:1: E402 module level import not at top of file
46:6: E126 continuation line over-indented for hanging indent
62:1: I101 Imported names are in the wrong order. Should be CFG_JSON_AVAILABLE, json
62:1: E402 module level import not at top of file
63: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
63:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibupload.config should be before from invenio.utils.json
63:1: E402 module level import not at top of file
68:1: E402 module level import not at top of file
69: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
69:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.dbquery
69:1: E402 module level import not at top of file
70:31: E126 continuation line over-indented for hanging indent
88:1: E402 module level import not at top of file
89:1: E402 module level import not at top of file
90:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.utils.date
90: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 intbitset should be before from invenio.legacy.bibcatalog.api
92:1: I201 Missing newline before sections or imports.
92:1: E402 module level import not at top of file
93:1: I201 Missing newline before sections or imports.
93:1: E402 module level import not at top of file
94:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.utils.url
94:1: E402 module level import not at top of file
95: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
95:1: E402 module level import not at top of file
99: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
99:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.legacy.bibsched.bibtask
99:1: E402 module level import not at top of file
105:1: F999 redefinition of unused 'search_pattern' from line 88
105:1: E402 module level import not at top of file
107:1: I101 Imported names are in the wrong order. Should be InvenioBibUploadConflictingRevisionsError, InvenioBibUploadInvalidRevisionError, InvenioBibUploadMissing005Error, InvenioBibUploadUnchangedRecordError, RevisionVerifier
107:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibupload.revisionverifier should be before from invenio.legacy.search_engine
107:1: E402 module level import not at top of file
108:48: E126 continuation line over-indented for hanging indent
127:1: E302 expected 2 blank lines, found 0
127: D200 One-line docstring should fit on one line with quotes (found 3)
131:30: E261 at least two spaces before inline comment
147:1: E302 expected 2 blank lines, found 1
147: D400 First line should end with a period (not 'd')
155:1: E302 expected 2 blank lines, found 1
155: D401 First line should be in imperative mood ('Resolve', not 'Resolves')
155: D209 Multi-line docstring closing quotes should be on a separate line
155: D202 No blank lines allowed after function docstring (found 1)
155: D400 First line should end with a period (not 's')
155: D205 1 blank line required between summary line and description (found 0)
162:12: E713 test for membership should be 'not in'
172:1: E302 expected 2 blank lines, found 0
172: D401 First line should be in imperative mood ('Thi', not 'This')
172: D400 First line should end with a period (not 't')
172: D205 1 blank line required between summary line and description (found 0)
201:9: B901 blind except: statement
205:1: E266 too many leading '#' for block comment
206:1: E302 expected 2 blank lines, found 1
206: D400 First line should end with a period (not 's')
206: D205 1 blank line required between summary line and description (found 0)
207:9: E128 continuation line under-indented for visual indent
219:9: E266 too many leading '#' for block comment
232:5: E303 too many blank lines (2)
236:46: E261 at least two spaces before inline comment
268:92: E203 whitespace before ','
273:5: E122 continuation line missing indentation or outdented
389:13: E125 continuation line with same indent as next logical line
396:25: E128 continuation line under-indented for visual indent
430:98: E228 missing whitespace around modulo operator
439:13: E266 too many leading '#' for block comment
440:13: E266 too many leading '#' for block comment
449:18: E225 missing whitespace around operator
475:21: E128 continuation line under-indented for visual indent
480:41: E128 continuation line under-indented for visual indent
481:41: E128 continuation line under-indented for visual indent
503:38: E261 at least two spaces before inline comment
613:17: B901 blind except: statement
618:9: E266 too many leading '#' for block comment
623:21: E128 continuation line under-indented for visual indent
628:13: E128 continuation line under-indented for visual indent
628:13: E125 continuation line with same indent as next logical line
645:25: E128 continuation line under-indented for visual indent
650:21: E128 continuation line under-indented for visual indent
670:13: E266 too many leading '#' for block comment
671:13: E266 too many leading '#' for block comment
675:1: E302 expected 2 blank lines, found 1
675: D400 First line should end with a period (not 'd')
675: D205 1 blank line required between summary line and description (found 0)
691:1: E302 expected 2 blank lines, found 1
691: D400 First line should end with a period (not 'r')
691: D205 1 blank line required between summary line and description (found 0)
704:39: E251 unexpected spaces around keyword / parameter equals
704:41: E251 unexpected spaces around keyword / parameter equals
705:37: E128 continuation line under-indented for visual indent
705:38: E251 unexpected spaces around keyword / parameter equals
705:40: E251 unexpected spaces around keyword / parameter equals
706:37: E128 continuation line under-indented for visual indent
706:44: E202 whitespace before ')'
706:38: E251 unexpected spaces around keyword / parameter equals
706:40: E251 unexpected spaces around keyword / parameter equals
711:35: E251 unexpected spaces around keyword / parameter equals
711:37: E251 unexpected spaces around keyword / parameter equals
712:33: E128 continuation line under-indented for visual indent
712:34: E251 unexpected spaces around keyword / parameter equals
712:36: E251 unexpected spaces around keyword / parameter equals
713:33: E128 continuation line under-indented for visual indent
713:40: E202 whitespace before ')'
713:34: E251 unexpected spaces around keyword / parameter equals
713:36: E251 unexpected spaces around keyword / parameter equals
725:1: E302 expected 2 blank lines, found 1
725: D103 Missing docstring in public function
735:40: E261 at least two spaces before inline comment
747:76: E251 unexpected spaces around keyword / parameter equals
747:78: E251 unexpected spaces around keyword / parameter equals
748:54: E128 continuation line under-indented for visual indent
748:58: E251 unexpected spaces around keyword / parameter equals
748:60: E251 unexpected spaces around keyword / parameter equals
749:54: E128 continuation line under-indented for visual indent
749:61: E251 unexpected spaces around keyword / parameter equals
749:63: E251 unexpected spaces around keyword / parameter equals
750:54: E128 continuation line under-indented for visual indent
750:61: E251 unexpected spaces around keyword / parameter equals
750:63: E251 unexpected spaces around keyword / parameter equals
751:54: E128 continuation line under-indented for visual indent
751:62: E251 unexpected spaces around keyword / parameter equals
751:64: E251 unexpected spaces around keyword / parameter equals
754:5: E303 too many blank lines (2)
754:76: E251 unexpected spaces around keyword / parameter equals
754:78: E251 unexpected spaces around keyword / parameter equals
755:54: E128 continuation line under-indented for visual indent
755:58: E251 unexpected spaces around keyword / parameter equals
755:60: E251 unexpected spaces around keyword / parameter equals
756:54: E128 continuation line under-indented for visual indent
756:61: E251 unexpected spaces around keyword / parameter equals
756:63: E251 unexpected spaces around keyword / parameter equals
757:54: E128 continuation line under-indented for visual indent
757:61: E251 unexpected spaces around keyword / parameter equals
757:63: E251 unexpected spaces around keyword / parameter equals
758:54: E128 continuation line under-indented for visual indent
758:62: E251 unexpected spaces around keyword / parameter equals
758:64: E251 unexpected spaces around keyword / parameter equals
760:1: E302 expected 2 blank lines, found 1
760: D400 First line should end with a period (not 't')
760: D205 1 blank line required between summary line and description (found 0)
802:1: E302 expected 2 blank lines, found 1
802: D103 Missing docstring in public function
822:1: E302 expected 2 blank lines, found 1
822: D400 First line should end with a period (not 's')
826:40: E502 the backslash is redundant between brackets
832:68: E202 whitespace before '}'
835:1: E302 expected 2 blank lines, found 1
835: D400 First line should end with a period (not 'a')
853:1: E302 expected 2 blank lines, found 1
853: D400 First line should end with a period (not 's')
866:29: E231 missing whitespace after ':'
869:1: E302 expected 2 blank lines, found 1
869: D400 First line should end with a period (not ',')
869: D205 1 blank line required between summary line and description (found 0)
869: D208 Docstring is over-indented
884:1: E302 expected 2 blank lines, found 1
884: D205 1 blank line required between summary line and description (found 0)
890:21: E127 continuation line over-indented for visual indent
896:1: E302 expected 2 blank lines, found 1
896: D205 1 blank line required between summary line and description (found 0)
906:21: E127 continuation line over-indented for visual indent
907:21: E128 continuation line under-indented for visual indent
913:44: E261 at least two spaces before inline comment
913:45: E262 inline comment should start with '# '
917:1: E302 expected 2 blank lines, found 1
917: D205 1 blank line required between summary line and description (found 0)
930:21: E128 continuation line under-indented for visual indent
931:21: E128 continuation line under-indented for visual indent
940:17: E266 too many leading '#' for block comment
964:1: E302 expected 2 blank lines, found 1
964: D205 1 blank line required between summary line and description (found 0)
974:21: E127 continuation line over-indented for visual indent
975:21: E128 continuation line under-indented for visual indent
981:44: E261 at least two spaces before inline comment
981:45: E262 inline comment should start with '# '
985:1: E302 expected 2 blank lines, found 1
985: D205 1 blank line required between summary line and description (found 0)
996:21: E127 continuation line over-indented for visual indent
997:21: E128 continuation line under-indented for visual indent
1005:17: E266 too many leading '#' for block comment
1012:21: E128 continuation line under-indented for visual indent
1013:21: E128 continuation line under-indented for visual indent
1020:1: E302 expected 2 blank lines, found 1
1020: D210 No whitespaces allowed surrounding docstring text
1027:1: E302 expected 2 blank lines, found 1
1027:64: E251 unexpected spaces around keyword / parameter equals
1027:66: E251 unexpected spaces around keyword / parameter equals
1027: D202 No blank lines allowed after function docstring (found 1)
1027: D400 First line should end with a period (not 'I')
1027: D205 1 blank line required between summary line and description (found 0)
1077:35: E122 continuation line missing indentation or outdented
1091:13: E128 continuation line under-indented for visual indent
1092:13: E128 continuation line under-indented for visual indent
1092:62: E502 the backslash is redundant between brackets
1093:13: E128 continuation line under-indented for visual indent
1094:13: E128 continuation line under-indented for visual indent
1094:62: E502 the backslash is redundant between brackets
1095:13: E128 continuation line under-indented for visual indent
1096:13: E128 continuation line under-indented for visual indent
1098:30: E261 at least two spaces before inline comment
1099:62: E502 the backslash is redundant between brackets
1114:17: E128 continuation line under-indented for visual indent
1119:13: E128 continuation line under-indented for visual indent
1120:62: E502 the backslash is redundant between brackets
1122:62: E502 the backslash is redundant between brackets
1145:37: E128 continuation line under-indented for visual indent
1153:13: E128 continuation line under-indented for visual indent
1154:46: E502 the backslash is redundant between brackets
1156:46: E502 the backslash is redundant between brackets
1160:35: E261 at least two spaces before inline comment
1161:66: E502 the backslash is redundant between brackets
1175:17: E128 continuation line under-indented for visual indent
1190:74: E502 the backslash is redundant between brackets
1191:81: E502 the backslash is redundant between brackets
1198:93: E502 the backslash is redundant between brackets
1199:84: E502 the backslash is redundant between brackets
1200:79: E502 the backslash is redundant between brackets
1206:35: E127 continuation line over-indented for visual indent
1210:17: E128 continuation line under-indented for visual indent
1216:70: E502 the backslash is redundant between brackets
1217:65: E502 the backslash is redundant between brackets
1218:71: E502 the backslash is redundant between brackets
1225:73: E502 the backslash is redundant between brackets
1226:72: E502 the backslash is redundant between brackets
1232:1: E302 expected 2 blank lines, found 1
1232: D400 First line should end with a period (not 'r')
1232: D205 1 blank line required between summary line and description (found 0)
1250:23: E126 continuation line over-indented for hanging indent
1263:1: E266 too many leading '#' for block comment
1265:1: E302 expected 2 blank lines, found 1
1265: D400 First line should end with a period (not 'e')
1281:9: E128 continuation line under-indented for visual indent
1296:1: E302 expected 2 blank lines, found 1
1296: D400 First line should end with a period (not 't')
1299:19: E222 multiple spaces after operator
1308:15: E221 multiple spaces before operator
1313:1: E302 expected 2 blank lines, found 1
1313: D400 First line should end with a period (not 'x')
1352:1: E302 expected 2 blank lines, found 1
1352: D400 First line should end with a period (not 'x')
1353:9: E128 continuation line under-indented for visual indent
1356:32: E225 missing whitespace around operator
1368:1: E302 expected 2 blank lines, found 1
1381: D400 First line should end with a period (not 't')
1381: D205 1 blank line required between summary line and description (found 0)
1403:21: E266 too many leading '#' for block comment
1404:21: E266 too many leading '#' for block comment
1407: D400 First line should end with a period (not 'y')
1407: D205 1 blank line required between summary line and description (found 0)
1418:36: E261 at least two spaces before inline comment
1418:37: E262 inline comment should start with '# '
1421:13: E266 too many leading '#' for block comment
1423:17: E266 too many leading '#' for block comment
1425:21: E128 continuation line under-indented for visual indent
1428:17: E266 too many leading '#' for block comment
1434:13: E266 too many leading '#' for block comment
1435:13: E266 too many leading '#' for block comment
1436:13: E266 too many leading '#' for block comment
1437:13: E266 too many leading '#' for block comment
1439:17: E128 continuation line under-indented for visual indent
1444:13: E266 too many leading '#' for block comment
1446:17: E128 continuation line under-indented for visual indent
1448: D400 First line should end with a period (not 'f')
1448: D205 1 blank line required between summary line and description (found 0)
1509:5: E266 too many leading '#' for block comment
1510:5: E266 too many leading '#' for block comment
1511:5: E266 too many leading '#' for block comment
1520:1: E302 expected 2 blank lines, found 1
1522:26: E711 comparison to None should be 'if cond is not None:'
1528:53: E251 unexpected spaces around keyword / parameter equals
1528:55: E251 unexpected spaces around keyword / parameter equals
1528:70: E251 unexpected spaces around keyword / parameter equals
1528:72: E251 unexpected spaces around keyword / parameter equals
1528: D400 First line should end with a period (not 's')
1528: D200 One-line docstring should fit on one line with quotes (found 3)
1529:32: E251 unexpected spaces around keyword / parameter equals
1529:34: E251 unexpected spaces around keyword / parameter equals
1555:26: E711 comparison to None should be 'if cond is None:'
1556:32: E711 comparison to None should be 'if cond is None:'
1563:21: B901 blind except: statement
1566:32: E711 comparison to None should be 'if cond is not None:'
1570:41: E203 whitespace before ','
1570:51: E251 unexpected spaces around keyword / parameter equals
1570:53: E251 unexpected spaces around keyword / parameter equals
1571:35: E251 unexpected spaces around keyword / parameter equals
1571:37: E251 unexpected spaces around keyword / parameter equals
1571:58: E251 unexpected spaces around keyword / parameter equals
1571:60: E251 unexpected spaces around keyword / parameter equals
1573:17: E714 test for object identity should be 'is not'
1576:56: E251 unexpected spaces around keyword / parameter equals
1576:58: E251 unexpected spaces around keyword / parameter equals
1577:58: E251 unexpected spaces around keyword / parameter equals
1577:60: E251 unexpected spaces around keyword / parameter equals
1578:57: E251 unexpected spaces around keyword / parameter equals
1578:59: E251 unexpected spaces around keyword / parameter equals
1581:1: E302 expected 2 blank lines, found 1
1581:68: E251 unexpected spaces around keyword / parameter equals
1581:70: E251 unexpected spaces around keyword / parameter equals
1581:83: E251 unexpected spaces around keyword / parameter equals
1581:85: E251 unexpected spaces around keyword / parameter equals
1581: D400 First line should end with a period (not 's')
1581: D200 One-line docstring should fit on one line with quotes (found 3)
1590:36: E261 at least two spaces before inline comment
1590:37: E262 inline comment should start with '# '
1611:17: E303 too many blank lines (2)
1611:31: E711 comparison to None should be 'if cond is None:'
1612:37: E711 comparison to None should be 'if cond is None:'
1619:25: B901 blind except: statement
1620:104: E502 the backslash is redundant between brackets
1621:53: E127 continuation line over-indented for visual indent
1625:37: E711 comparison to None should be 'if cond is not None:'
1636:31: E711 comparison to None should be 'if cond is None:'
1637:37: E711 comparison to None should be 'if cond is None:'
1644:25: B901 blind except: statement
1648:37: E711 comparison to None should be 'if cond is not None:'
1653:17: E303 too many blank lines (3)
1670:58: E251 unexpected spaces around keyword / parameter equals
1670:60: E251 unexpected spaces around keyword / parameter equals
1671:60: E251 unexpected spaces around keyword / parameter equals
1671:62: E251 unexpected spaces around keyword / parameter equals
1672:60: E251 unexpected spaces around keyword / parameter equals
1672:62: E251 unexpected spaces around keyword / parameter equals
1673:61: E251 unexpected spaces around keyword / parameter equals
1673:63: E251 unexpected spaces around keyword / parameter equals
1674:61: E251 unexpected spaces around keyword / parameter equals
1674:63: E251 unexpected spaces around keyword / parameter equals
1675:61: E251 unexpected spaces around keyword / parameter equals
1675:63: E251 unexpected spaces around keyword / parameter equals
1676:61: E251 unexpected spaces around keyword / parameter equals
1676:63: E251 unexpected spaces around keyword / parameter equals
1684:34: E128 continuation line under-indented for visual indent
1685:34: E128 continuation line under-indented for visual indent
1686:34: E128 continuation line under-indented for visual indent
1696:28: E711 comparison to None should be 'if cond is None:'
1697:60: E251 unexpected spaces around keyword / parameter equals
1697:62: 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:64: E251 unexpected spaces around keyword / parameter equals
1699:66: E251 unexpected spaces around keyword / parameter equals
1700:53: E127 continuation line over-indented for visual indent
1700:63: E251 unexpected spaces around keyword / parameter equals
1700:65: E251 unexpected spaces around keyword / parameter equals
1701:53: E127 continuation line over-indented for visual indent
1701:64: E251 unexpected spaces around keyword / parameter equals
1701:66: E251 unexpected spaces around keyword / parameter equals
1702:53: E127 continuation line over-indented for visual indent
1702:64: E251 unexpected spaces around keyword / parameter equals
1702:66: E251 unexpected spaces around keyword / parameter equals
1703:53: E127 continuation line over-indented for visual indent
1703:61: E251 unexpected spaces around keyword / parameter equals
1703:63: E251 unexpected spaces around keyword / parameter equals
1711:72: E251 unexpected spaces around keyword / parameter equals
1711:74: E251 unexpected spaces around keyword / parameter equals
1719:1: E302 expected 2 blank lines, found 1
1719: D202 No blank lines allowed after function docstring (found 1)
1719: D400 First line should end with a period (not 's')
1719: D205 1 blank line required between summary line and description (found 0)
1720:31: E251 unexpected spaces around keyword / parameter equals
1720:33: E251 unexpected spaces around keyword / parameter equals
1720:46: E251 unexpected spaces around keyword / parameter equals
1720:48: E251 unexpected spaces around keyword / parameter equals
1736: D401 First line should be in imperative mood ('Add', not 'Adds')
1740:24: E261 at least two spaces before inline comment
1753: D401 First line should be in imperative mood ('Add', not 'Adds')
1788:12: E713 test for membership should be 'not in'
1795:9: B901 blind except: statement
1805:31: E261 at least two spaces before inline comment
1805:32: E262 inline comment should start with '# '
1806:31: E251 unexpected spaces around keyword / parameter equals
1806:33: E251 unexpected spaces around keyword / parameter equals
1808:34: E261 at least two spaces before inline comment
1808:35: E262 inline comment should start with '# '
1809:31: E251 unexpected spaces around keyword / parameter equals
1809:33: E251 unexpected spaces around keyword / parameter equals
1809:50: E251 unexpected spaces around keyword / parameter equals
1809:52: E251 unexpected spaces around keyword / parameter equals
1811:12: E714 test for object identity should be 'is not'
1812:52: E251 unexpected spaces around keyword / parameter equals
1812:54: E251 unexpected spaces around keyword / parameter equals
1812:76: E251 unexpected spaces around keyword / parameter equals
1812:78: E251 unexpected spaces around keyword / parameter equals
1814:12: E714 test for object identity should be 'is not'
1815:52: E251 unexpected spaces around keyword / parameter equals
1815:54: E251 unexpected spaces around keyword / parameter equals
1816:50: E251 unexpected spaces around keyword / parameter equals
1816:52: E251 unexpected spaces around keyword / parameter equals
1816:67: E251 unexpected spaces around keyword / parameter equals
1816:69: 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:67: E251 unexpected spaces around keyword / parameter equals
1819:69: E251 unexpected spaces around keyword / parameter equals
1820:54: E251 unexpected spaces around keyword / parameter equals
1820:56: E251 unexpected spaces around keyword / parameter equals
1821:12: E714 test for object identity should be 'is not'
1822:52: E251 unexpected spaces around keyword / parameter equals
1822:54: E251 unexpected spaces around keyword / parameter equals
1823:50: E251 unexpected spaces around keyword / parameter equals
1823:52: E251 unexpected spaces around keyword / parameter equals
1823:69: E251 unexpected spaces around keyword / parameter equals
1823:71: E251 unexpected spaces around keyword / parameter equals
1831:5: E303 too many blank lines (2)
1831:19: E261 at least two spaces before inline comment
1833:18: E261 at least two spaces before inline comment
1846:28: E261 at least two spaces before inline comment
1846:29: E262 inline comment should start with '# '
1859:13: E303 too many blank lines (2)
1874:13: E303 too many blank lines (2)
1877:60: E261 at least two spaces before inline comment
1877:61: E262 inline comment should start with '# '
1886:40: W602 deprecated form of raising exception
1894:13: E303 too many blank lines (2)
1898:26: E222 multiple spaces after operator
1906:21: E116 unexpected indentation (comment)
1906:21: E266 too many leading '#' for block comment
1907:21: E116 unexpected indentation (comment)
1907:21: E266 too many leading '#' for block comment
1908:21: E116 unexpected indentation (comment)
1908:21: E266 too many leading '#' for block comment
1916:17: E266 too many leading '#' for block comment
1922:40: W602 deprecated form of raising exception
1951:44: W602 deprecated form of raising exception
1961:21: E266 too many leading '#' for block comment
1972:21: E266 too many leading '#' for block comment
1978:13: E303 too many blank lines (2)
1984:13: E303 too many blank lines (2)
1999:40: W602 deprecated form of raising exception
2001:29: E261 at least two spaces before inline comment
2002:131: E202 whitespace before ')'
2004:40: W602 deprecated form of raising exception
2006:40: W602 deprecated form of raising exception
2008:40: W602 deprecated form of raising exception
2010:40: W602 deprecated form of raising exception
2013:44: W602 deprecated form of raising exception
2033:9: E266 too many leading '#' for block comment
2034:9: E266 too many leading '#' for block comment
2037:9: E303 too many blank lines (2)
2037:108: E202 whitespace before ')'
2042:17: E266 too many leading '#' for block comment
2043:17: E266 too many leading '#' for block comment
2044:17: E266 too many leading '#' for block comment
2072:17: E266 too many leading '#' for block comment
2073:17: E266 too many leading '#' for block comment
2074:17: E266 too many leading '#' for block comment
2078:21: E266 too many leading '#' for block comment
2085:21: E266 too many leading '#' for block comment
2086:21: E266 too many leading '#' for block comment
2089:30: E261 at least two spaces before inline comment
2097:46: E261 at least two spaces before inline comment
2112:46: E261 at least two spaces before inline comment
2176:21: E266 too many leading '#' for block comment
2292:32: E711 comparison to None should be 'if cond is None:'
2302:1: E266 too many leading '#' for block comment
2318:71: E203 whitespace before ','
2320:1: E302 expected 2 blank lines, found 1
2320: D400 First line should end with a period (not 't')
2335:31: E222 multiple spaces after operator
2340:19: E221 multiple spaces before operator
2345:83: E203 whitespace before ','
2358:83: E203 whitespace before ','
2361:1: E302 expected 2 blank lines, found 1
2361: D200 One-line docstring should fit on one line with quotes (found 3)
2370: D400 First line should end with a period (not 'e')
2370: D205 1 blank line required between summary line and description (found 0)
2378:21: E127 continuation line over-indented for visual indent
2384:32: E261 at least two spaces before inline comment
2384:33: E262 inline comment should start with '# '
2388:21: E261 at least two spaces before inline comment
2388:22: E262 inline comment should start with '# '
2397:17: E128 continuation line under-indented for visual indent
2400:1: E302 expected 2 blank lines, found 1
2400: D202 No blank lines allowed after function docstring (found 1)
2400: D400 First line should end with a period (not 'r')
2495:1: E302 expected 2 blank lines, found 1
2495: D202 No blank lines allowed after function docstring (found 1)
2495: D400 First line should end with a period (not 'd')
2508:25: E128 continuation line under-indented for visual indent
2519:21: E266 too many leading '#' for block comment
2520:21: E266 too many leading '#' for block comment
2527:21: E128 continuation line under-indented for visual indent
2536:1: E302 expected 2 blank lines, found 1
2536: D400 First line should end with a period (not 'e')
2536: D205 1 blank line required between summary line and description (found 0)
2551:1: E266 too many leading '#' for block comment
2552:1: E302 expected 2 blank lines, found 1
2552: D401 First line should be in imperative mood ('Return', not 'Returns')
2552: D400 First line should end with a period (not 'e')
2552: D205 1 blank line required between summary line and description (found 0)
2576:1: E302 expected 2 blank lines, found 1
2576: D400 First line should end with a period (not 'n')
2576: D205 1 blank line required between summary line and description (found 0)
2583:5: E266 too many leading '#' for block comment
2584:5: E266 too many leading '#' for block comment
2588:94: E261 at least two spaces before inline comment
2588:95: E262 inline comment should start with '# '
2597:21: E266 too many leading '#' for block comment
2598:21: E266 too many leading '#' for block comment
2601:101: E261 at least two spaces before inline comment
2601:102: E262 inline comment should start with '# '
2602:13: E266 too many leading '#' for block comment
2603:13: E266 too many leading '#' for block comment
2604:13: E266 too many leading '#' for block comment
2614:25: E266 too many leading '#' for block comment
2627:5: E266 too many leading '#' for block comment
2633:1: E302 expected 2 blank lines, found 1
2633: D202 No blank lines allowed after function docstring (found 1)
2633: D400 First line should end with a period (not 's')
2642:47: E228 missing whitespace around modulo operator
2668:41: E228 missing whitespace around modulo operator
2670:1: E302 expected 2 blank lines, found 1
2673:13: E128 continuation line under-indented for visual indent
2674:13: E128 continuation line under-indented for visual indent
2679:13: E128 continuation line under-indented for visual indent
2698:13: E128 continuation line under-indented for visual indent
2699:13: E128 continuation line under-indented for visual indent
2700:18: E128 continuation line under-indented for visual indent
2701:20: E121 continuation line under-indented for hanging indent
2716:13: E128 continuation line under-indented for visual indent
2717:13: E128 continuation line under-indented for visual indent
2718:13: E128 continuation line under-indented for visual indent
2720:1: E302 expected 2 blank lines, found 1
2720:70: E261 at least two spaces before inline comment
2720: D210 No whitespaces allowed surrounding docstring text
2720: D301 Use r""" if any backslashes in a docstring
2720: D202 No blank lines allowed after function docstring (found 1)
2720: D400 First line should end with a period (not 'e')
2720: D205 1 blank line required between summary line and description (found 0)
2812: D210 No whitespaces allowed surrounding docstring text
2812: D400 First line should end with a period (not 's')
2812: D205 1 blank line required between summary line and description (found 0)
2840:1: E302 expected 2 blank lines, found 1
2840: D209 Multi-line docstring closing quotes should be on a separate line
2840: D400 First line should end with a period (not 'e')
2840: D205 1 blank line required between summary line and description (found 0)
2855:5: B901 blind except: statement
2860:1: E302 expected 2 blank lines, found 1
2860: D103 Missing docstring in public function
2869:5: E266 too many leading '#' for block comment
2871:5: E266 too many leading '#' for block comment
2894:1: E302 expected 2 blank lines, found 1
2894: D400 First line should end with a period (not 's')
2894: D205 1 blank line required between summary line and description (found 0)
2909:9: E266 too many leading '#' for block comment
2924:25: E251 unexpected spaces around keyword / parameter equals
2924:27: E251 unexpected spaces around keyword / parameter equals
2925:33: E251 unexpected spaces around keyword / parameter equals
2925:35: E251 unexpected spaces around keyword / parameter equals
2926:27: E251 unexpected spaces around keyword / parameter equals
2926:29: E251 unexpected spaces around keyword / parameter equals
2927:24: E251 unexpected spaces around keyword / parameter equals
2927:26: E251 unexpected spaces around keyword / parameter equals
2928:24: E251 unexpected spaces around keyword / parameter equals
2928:26: E251 unexpected spaces around keyword / parameter equals
2929:25: E251 unexpected spaces around keyword / parameter equals
2929:27: E251 unexpected spaces around keyword / parameter equals
2958:57: E502 the backslash is redundant between brackets
2959:38: E127 continuation line over-indented for visual indent
2959:69: E502 the backslash is redundant between brackets
2960:43: E127 continuation line over-indented for visual indent
2969:86: E251 unexpected spaces around keyword / parameter equals
2969:88: E251 unexpected spaces around keyword / parameter equals
2971:40: E251 unexpected spaces around keyword / parameter equals
2971:42: E251 unexpected spaces around keyword / parameter equals
2972:38: E251 unexpected spaces around keyword / parameter equals
2972:40: E251 unexpected spaces around keyword / parameter equals
2973:41: E251 unexpected spaces around keyword / parameter equals
2973:43: E251 unexpected spaces around keyword / parameter equals
2974:41: E251 unexpected spaces around keyword / parameter equals
2974:43: E251 unexpected spaces around keyword / parameter equals
2975:42: E251 unexpected spaces around keyword / parameter equals
2975:44: E251 unexpected spaces around keyword / parameter equals
2978:5: E303 too many blank lines (2)
2980:1: E302 expected 2 blank lines, found 1
2980: D210 No whitespaces allowed surrounding docstring text
2983:13: E128 continuation line under-indented for visual indent
3006:25: E128 continuation line under-indented for visual indent
3021:1: E302 expected 2 blank lines, found 1
3021: D103 Missing docstring in public function
3022: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'


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