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


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


Not sure, IMO is better to let the users of the lib do that, since it does not cause any side effects, unlikely the above.


I'd prefer this comment add the fallback be done above, when setting librados_path:

librados_path = find_library('rados') or 'librados.so.2'


I would put these 2 test cases in `ExpressionParserTest.java` as they test the parsing logic. The removed test case in `VersionTest.java` was just a simple test of facade...


Тесты то работают, просто в phpDoc блоках используются codeception_backend и codeception_frontend, которые похоже остались от этого коммита ...


Can you throw some light as to why these four property setters do not copy from this to target? For instance, why not target.setVoided(getVoided())?


sounds good.


ah mince j'ai oublié de dire que c'était partout dans le fichier :)


4: L102 copyright year is outdated, expected 2015 but got 2014
26:1: I100 Imports statements are in the wrong order. import shutil should be before import sys
27:1: I100 Imports statements are in the wrong order. import datetime should be before import shutil
30:1: I201 Missing newline before sections or imports.
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. from invenio.ext.script should be before from six
32:1: I201 Missing newline before sections or imports.
130:5: B901 blind except: statement
166:13: B901 blind except: statement
231:13: B901 blind except: statement
286: D290 White spaces around docstring should be trimmed.
291:5: B901 blind except: statement
299: D290 White spaces around docstring should be trimmed.
305:5: B901 blind except: statement


4: L102 copyright year is outdated, expected 2015 but got 2014
30:1: I100 Imports statements are in the wrong order. import os should be before import warnings
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. import sys should be before import pkg_resources
32:1: I201 Missing newline before sections or imports.


3: L102 copyright year is outdated, expected 2015 but got 2014


31:3: B901 blind except: statement
36:1: I101 Imported names are in the wrong order. Should be abort, current_app, g, render_template, request, send_from_directory, url_for
36:1: I100 Imports statements are in the wrong order. from flask should be before from werkzeug.wrappers
36:1: I201 Missing newline before sections or imports.


4: L102 copyright year is outdated, expected 2015 but got 2014
37:1: I201 Missing newline before sections or imports.
38:1: I100 Imports statements are in the wrong order. import sys should be before import sqlalchemy
38:1: I201 Missing newline before sections or imports.
41:1: I201 Missing newline before sections or imports.
44:1: F401 'attribute_mapped_collection' imported but unused
103:13: B901 blind except: statement
130:14: B901 blind except: statement
176:9: B901 blind except: statement
282:9: B901 blind except: statement
298: D102 Docstring missing
306: D102 Docstring missing
324: D102 Docstring missing


4: L102 copyright year is outdated, expected 2015 but got 2014
24:1: I101 Imported names are in the wrong order. Should be current_app, g, has_app_context, request
24:1: I100 Imports statements are in the wrong order. from flask should be before import six
25:1: I201 Missing newline before sections or imports.


1: D205 Blank line missing between one-line summary and description
1: D208 Docstring is over-indented
4: L102 copyright year is outdated, expected 2015 but got 2014
31:1: I100 Imports statements are in the wrong order. import cgi should be before import time
32:1: I201 Missing newline before sections or imports.
33:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_CERN_SITE, CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_WEBSESSION_DIFFERENTIATE_BETWEEN_GUESTS
33:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
33:1: I201 Missing newline before sections or imports.
34:28: E126 continuation line over-indented for hanging indent
40:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, page_not_authorized
41:29: E126 continuation line over-indented for hanging indent
42:1: I101 Imported names are in the wrong order. Should be page, pagefooteronly, pageheaderonly
42:1: I100 Imports statements are in the wrong order. from invenio.legacy.webpage should be before from invenio.legacy.webuser
43:1: I100 Imports statements are in the wrong order. from invenio.ext.email should be before from invenio.legacy.webpage
44:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, create_navtrail_links, get_fieldvalues, guess_primary_collection_of_a_record, record_exists
45:6: E126 continuation line over-indented for hanging indent
48:1: I101 Imported names are in the wrong order. Should be make_canonical_urlargd, redirect_to_url
49:30: E126 continuation line over-indented for hanging indent
50:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.url
51:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
55:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.access.mailcookie
57:1: I100 Imports statements are in the wrong order. import invenio.legacy.bibcirculation.db_layer should be before import invenio.legacy.template
59:1: I101 Imported names are in the wrong order. Should be ill_register_request, ill_register_request_with_recid, ill_request_with_recid, perform_book_proposal_send, perform_borrower_loans, perform_get_holdings_information, perform_loanshistoricaloverview, perform_new_request, perform_new_request_send
59:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.api should be before from invenio.legacy.bibcirculation.utils
60:36: E126 continuation line over-indented for hanging indent
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibcirculation.adminlib should be before from invenio.legacy.bibcirculation.api
69:44: E126 continuation line over-indented for hanging indent
70:1: I101 Imported names are in the wrong order. Should be AMZ_ACQUISITION_IDENTIFIER_TAG, CFG_BIBCIRCULATION_ACQ_STATUS_NEW, CFG_BIBCIRCULATION_ILLS_EMAIL, CFG_BIBCIRCULATION_ILL_STATUS_NEW
71:43: E126 continuation line over-indented for hanging indent
83:1: E302 expected 2 blank lines, found 1
83: D203 Expected 1 blank line *before* class docstring, found 0
88: D102 Docstring missing
91: D400 First line should end with '.', not 't'
91: D208 Docstring is over-indented
91: D200 One-line docstring should not occupy 3 lines
98: D401 First line should be imperative: 'Display', not 'Displays'
98: D202 No blank lines allowed *after* method docstring, found 1
98: D400 First line should end with '.', not 'r'
98: D205 Blank line missing between one-line summary and description
113:70: E502 the backslash is redundant between brackets
120:30: E203 whitespace before ':'
122:25: E203 whitespace before ':'
123:21: E126 continuation line over-indented for hanging indent
129:52: E502 the backslash is redundant between brackets
130:44: E251 unexpected spaces around keyword / parameter equals
130:46: E251 unexpected spaces around keyword / parameter equals
139:26: E251 unexpected spaces around keyword / parameter equals
139:34: E251 unexpected spaces around keyword / parameter equals
139:26: E221 multiple spaces before operator
140:25: E251 unexpected spaces around keyword / parameter equals
140:34: E251 unexpected spaces around keyword / parameter equals
140:25: E221 multiple spaces before operator
141:24: E251 unexpected spaces around keyword / parameter equals
141:34: E251 unexpected spaces around keyword / parameter equals
141:24: E221 multiple spaces before operator
142:32: E251 unexpected spaces around keyword / parameter equals
142:34: E251 unexpected spaces around keyword / parameter equals
143:24: E251 unexpected spaces around keyword / parameter equals
143:34: E251 unexpected spaces around keyword / parameter equals
143:24: E221 multiple spaces before operator
144:29: E251 unexpected spaces around keyword / parameter equals
144:34: E251 unexpected spaces around keyword / parameter equals
144:29: E221 multiple spaces before operator
145:30: E251 unexpected spaces around keyword / parameter equals
145:34: E251 unexpected spaces around keyword / parameter equals
145:30: E221 multiple spaces before operator
148: D202 No blank lines allowed *after* method docstring, found 1
148: D200 One-line docstring should not occupy 3 lines
158:86: E502 the backslash is redundant between brackets
165:30: E203 whitespace before ':'
168:25: E203 whitespace before ':'
174:52: E502 the backslash is redundant between brackets
175:29: E128 continuation line under-indented for visual indent
175:33: E251 unexpected spaces around keyword / parameter equals
175:35: E251 unexpected spaces around keyword / parameter equals
180:26: E251 unexpected spaces around keyword / parameter equals
180:34: E251 unexpected spaces around keyword / parameter equals
180:26: E221 multiple spaces before operator
181:25: E251 unexpected spaces around keyword / parameter equals
181:34: E251 unexpected spaces around keyword / parameter equals
181:25: E221 multiple spaces before operator
182:24: E251 unexpected spaces around keyword / parameter equals
182:34: E251 unexpected spaces around keyword / parameter equals
182:24: E221 multiple spaces before operator
183:32: E251 unexpected spaces around keyword / parameter equals
183:34: E251 unexpected spaces around keyword / parameter equals
184:24: E251 unexpected spaces around keyword / parameter equals
184:34: E251 unexpected spaces around keyword / parameter equals
184:24: E221 multiple spaces before operator
185:29: E251 unexpected spaces around keyword / parameter equals
185:34: E251 unexpected spaces around keyword / parameter equals
185:29: E221 multiple spaces before operator
186:30: E251 unexpected spaces around keyword / parameter equals
186:34: E251 unexpected spaces around keyword / parameter equals
186:30: E221 multiple spaces before operator
190: D203 Expected 1 blank line *before* class docstring, found 0
190: D204 Expected 1 blank line *after* class docstring, found 2
194:5: E303 too many blank lines (2)
195:37: E231 missing whitespace after ','
200: D290 White spaces around docstring should be trimmed.
200: D400 First line should end with '.', not 't'
200: D200 One-line docstring should not occupy 2 lines
204:59: E128 continuation line under-indented for visual indent
206: D401 First line should be imperative: 'Display', not 'Displays'
206: D202 No blank lines allowed *after* method docstring, found 1
206: D400 First line should end with '.', not 'r'
206: D205 Blank line missing between one-line summary and description
231:73: E502 the backslash is redundant between brackets
238:30: E203 whitespace before ':'
241:25: E203 whitespace before ':'
247:52: E502 the backslash is redundant between brackets
248:33: E128 continuation line under-indented for visual indent
248:37: E251 unexpected spaces around keyword / parameter equals
248:39: E251 unexpected spaces around keyword / parameter equals
251:25: E128 continuation line under-indented for visual indent
252:25: E126 continuation line over-indented for hanging indent
266:26: E251 unexpected spaces around keyword / parameter equals
266:34: E251 unexpected spaces around keyword / parameter equals
266:26: E221 multiple spaces before operator
267:25: E251 unexpected spaces around keyword / parameter equals
267:34: E251 unexpected spaces around keyword / parameter equals
267:25: E221 multiple spaces before operator
268:24: E251 unexpected spaces around keyword / parameter equals
268:34: E251 unexpected spaces around keyword / parameter equals
268:24: E221 multiple spaces before operator
269:32: E251 unexpected spaces around keyword / parameter equals
269:34: E251 unexpected spaces around keyword / parameter equals
270:24: E251 unexpected spaces around keyword / parameter equals
270:34: E251 unexpected spaces around keyword / parameter equals
270:24: E221 multiple spaces before operator
271:29: E251 unexpected spaces around keyword / parameter equals
271:34: E251 unexpected spaces around keyword / parameter equals
271:29: E221 multiple spaces before operator
272:30: E251 unexpected spaces around keyword / parameter equals
272:34: E251 unexpected spaces around keyword / parameter equals
272:30: E221 multiple spaces before operator
274: D401 First line should be imperative: 'Display', not 'Displays'
274: D202 No blank lines allowed *after* method docstring, found 1
274: D400 First line should end with '.', not 'r'
274: D205 Blank line missing between one-line summary and description
286:75: E502 the backslash is redundant between brackets
293:30: E203 whitespace before ':'
296:25: E203 whitespace before ':'
302:52: E502 the backslash is redundant between brackets
303:44: E251 unexpected spaces around keyword / parameter equals
303:46: E251 unexpected spaces around keyword / parameter equals
312:26: E251 unexpected spaces around keyword / parameter equals
312:34: E251 unexpected spaces around keyword / parameter equals
312:26: E221 multiple spaces before operator
313:25: E251 unexpected spaces around keyword / parameter equals
313:34: E251 unexpected spaces around keyword / parameter equals
313:25: E221 multiple spaces before operator
314:24: E251 unexpected spaces around keyword / parameter equals
314:34: E251 unexpected spaces around keyword / parameter equals
314:24: E221 multiple spaces before operator
315:32: E251 unexpected spaces around keyword / parameter equals
315:34: E251 unexpected spaces around keyword / parameter equals
316:24: E251 unexpected spaces around keyword / parameter equals
316:34: E251 unexpected spaces around keyword / parameter equals
316:24: E221 multiple spaces before operator
317:29: E251 unexpected spaces around keyword / parameter equals
317:34: E251 unexpected spaces around keyword / parameter equals
317:29: E221 multiple spaces before operator
318:30: E251 unexpected spaces around keyword / parameter equals
318:34: E251 unexpected spaces around keyword / parameter equals
318:30: E221 multiple spaces before operator
320: D401 First line should be imperative: 'Display', not 'Displays'
320: D202 No blank lines allowed *after* method docstring, found 1
320: D400 First line should end with '.', not 'r'
320: D205 Blank line missing between one-line summary and description
328:13: E128 continuation line under-indented for visual indent
331:76: E231 missing whitespace after ','
358:22: E222 multiple spaces after operator
371:75: E502 the backslash is redundant between brackets
378:30: E203 whitespace before ':'
381:25: E203 whitespace before ':'
387:52: E502 the backslash is redundant between brackets
388:44: E251 unexpected spaces around keyword / parameter equals
388:46: E251 unexpected spaces around keyword / parameter equals
406:41: E126 continuation line over-indented for hanging indent
411:26: E251 unexpected spaces around keyword / parameter equals
411:34: E251 unexpected spaces around keyword / parameter equals
411:26: E221 multiple spaces before operator
412:25: E251 unexpected spaces around keyword / parameter equals
412:34: E251 unexpected spaces around keyword / parameter equals
412:25: E221 multiple spaces before operator
413:24: E251 unexpected spaces around keyword / parameter equals
413:34: E251 unexpected spaces around keyword / parameter equals
413:24: E221 multiple spaces before operator
414:32: E251 unexpected spaces around keyword / parameter equals
414:34: E251 unexpected spaces around keyword / parameter equals
415:24: E251 unexpected spaces around keyword / parameter equals
415:34: E251 unexpected spaces around keyword / parameter equals
415:24: E221 multiple spaces before operator
416:29: E251 unexpected spaces around keyword / parameter equals
416:34: E251 unexpected spaces around keyword / parameter equals
416:29: E221 multiple spaces before operator
417:30: E251 unexpected spaces around keyword / parameter equals
417:34: E251 unexpected spaces around keyword / parameter equals
417:30: E221 multiple spaces before operator
419: D401 First line should be imperative: 'Display', not 'Displays'
419: D202 No blank lines allowed *after* method docstring, found 1
419: D400 First line should end with '.', not 'r'
419: D205 Blank line missing between one-line summary and description
427:13: E128 continuation line under-indented for visual indent
455:75: E502 the backslash is redundant between brackets
462:30: E203 whitespace before ':'
465:25: E203 whitespace before ':'
471:52: E502 the backslash is redundant between brackets
472:44: E251 unexpected spaces around keyword / parameter equals
472:46: E251 unexpected spaces around keyword / parameter equals
475:52: E203 whitespace before ':'
476:48: E203 whitespace before ':'
494:26: E251 unexpected spaces around keyword / parameter equals
494:34: E251 unexpected spaces around keyword / parameter equals
494:26: E221 multiple spaces before operator
495:25: E251 unexpected spaces around keyword / parameter equals
495:34: E251 unexpected spaces around keyword / parameter equals
495:25: E221 multiple spaces before operator
496:24: E251 unexpected spaces around keyword / parameter equals
496:34: E251 unexpected spaces around keyword / parameter equals
496:24: E221 multiple spaces before operator
497:32: E251 unexpected spaces around keyword / parameter equals
497:34: E251 unexpected spaces around keyword / parameter equals
498:24: E251 unexpected spaces around keyword / parameter equals
498:34: E251 unexpected spaces around keyword / parameter equals
498:24: E221 multiple spaces before operator
499:29: E251 unexpected spaces around keyword / parameter equals
499:34: E251 unexpected spaces around keyword / parameter equals
499:29: E221 multiple spaces before operator
500:30: E251 unexpected spaces around keyword / parameter equals
500:34: E251 unexpected spaces around keyword / parameter equals
500:30: E221 multiple spaces before operator
502: D401 First line should be imperative: 'Display', not 'Displays'
502: D202 No blank lines allowed *after* method docstring, found 1
502: D400 First line should end with '.', not 'r'
502: D205 Blank line missing between one-line summary and description
514:78: E502 the backslash is redundant between brackets
521:30: E203 whitespace before ':'
524:25: E203 whitespace before ':'
530:52: E502 the backslash is redundant between brackets
531:44: E251 unexpected spaces around keyword / parameter equals
531:46: E251 unexpected spaces around keyword / parameter equals
540:26: E251 unexpected spaces around keyword / parameter equals
540:34: E251 unexpected spaces around keyword / parameter equals
540:26: E221 multiple spaces before operator
541:25: E251 unexpected spaces around keyword / parameter equals
541:34: E251 unexpected spaces around keyword / parameter equals
541:25: E221 multiple spaces before operator
542:24: E251 unexpected spaces around keyword / parameter equals
542:34: E251 unexpected spaces around keyword / parameter equals
542:24: E221 multiple spaces before operator
543:32: E251 unexpected spaces around keyword / parameter equals
543:34: E251 unexpected spaces around keyword / parameter equals
544:24: E251 unexpected spaces around keyword / parameter equals
544:34: E251 unexpected spaces around keyword / parameter equals
544:24: E221 multiple spaces before operator
545:29: E251 unexpected spaces around keyword / parameter equals
545:34: E251 unexpected spaces around keyword / parameter equals
545:29: E221 multiple spaces before operator
546:30: E251 unexpected spaces around keyword / parameter equals
546:34: E251 unexpected spaces around keyword / parameter equals
546:30: E221 multiple spaces before operator
548: D401 First line should be imperative: 'Display', not 'Displays'
548: D202 No blank lines allowed *after* method docstring, found 1
548: D400 First line should end with '.', not 'r'
548: D205 Blank line missing between one-line summary and description
556:13: E128 continuation line under-indented for visual indent
566:78: E502 the backslash is redundant between brackets
573:30: E203 whitespace before ':'
576:25: E203 whitespace before ':'
582:52: E502 the backslash is redundant between brackets
583:33: E128 continuation line under-indented for visual indent
583:37: E251 unexpected spaces around keyword / parameter equals
583:39: E251 unexpected spaces around keyword / parameter equals
594:17: E128 continuation line under-indented for visual indent
595:17: E128 continuation line under-indented for visual indent
595:53: E203 whitespace before ':'
596:17: E128 continuation line under-indented for visual indent
596:38: E203 whitespace before ':'
597:17: E128 continuation line under-indented for visual indent
597:61: E202 whitespace before '}'
601:37: E128 continuation line under-indented for visual indent
602:37: E126 continuation line over-indented for hanging indent
614:26: E251 unexpected spaces around keyword / parameter equals
614:34: E251 unexpected spaces around keyword / parameter equals
614:26: E221 multiple spaces before operator
615:25: E251 unexpected spaces around keyword / parameter equals
615:34: E251 unexpected spaces around keyword / parameter equals
615:25: E221 multiple spaces before operator
616:24: E251 unexpected spaces around keyword / parameter equals
616:34: E251 unexpected spaces around keyword / parameter equals
616:24: E221 multiple spaces before operator
617:32: E251 unexpected spaces around keyword / parameter equals
617:34: E251 unexpected spaces around keyword / parameter equals
618:24: E251 unexpected spaces around keyword / parameter equals
618:34: E251 unexpected spaces around keyword / parameter equals
618:24: E221 multiple spaces before operator
619:29: E251 unexpected spaces around keyword / parameter equals
619:34: E251 unexpected spaces around keyword / parameter equals
619:29: E221 multiple spaces before operator
620:30: E251 unexpected spaces around keyword / parameter equals
620:34: E251 unexpected spaces around keyword / parameter equals
620:30: E221 multiple spaces before operator
622: D102 Docstring missing
625:17: E128 continuation line under-indented for visual indent
665:79: E502 the backslash is redundant between brackets
672:30: E203 whitespace before ':'
675:25: E203 whitespace before ':'
681:52: E502 the backslash is redundant between brackets
682:33: E128 continuation line under-indented for visual indent
682:37: E251 unexpected spaces around keyword / parameter equals
682:39: E251 unexpected spaces around keyword / parameter equals
691:55: E128 continuation line under-indented for visual indent
693:26: E251 unexpected spaces around keyword / parameter equals
693:34: E251 unexpected spaces around keyword / parameter equals
693:26: E221 multiple spaces before operator
694:25: E251 unexpected spaces around keyword / parameter equals
694:34: E251 unexpected spaces around keyword / parameter equals
694:25: E221 multiple spaces before operator
695:24: E251 unexpected spaces around keyword / parameter equals
695:34: E251 unexpected spaces around keyword / parameter equals
695:24: E221 multiple spaces before operator
696:32: E251 unexpected spaces around keyword / parameter equals
696:34: E251 unexpected spaces around keyword / parameter equals
697:24: E251 unexpected spaces around keyword / parameter equals
697:34: E251 unexpected spaces around keyword / parameter equals
697:24: E221 multiple spaces before operator
698:29: E251 unexpected spaces around keyword / parameter equals
698:34: E251 unexpected spaces around keyword / parameter equals
698:29: E221 multiple spaces before operator
699:30: E251 unexpected spaces around keyword / parameter equals
699:34: E251 unexpected spaces around keyword / parameter equals
699:30: E221 multiple spaces before operator
701: D102 Docstring missing
704:17: E128 continuation line under-indented for visual indent
744:79: E502 the backslash is redundant between brackets
751:30: E203 whitespace before ':'
754:25: E203 whitespace before ':'
760:52: E502 the backslash is redundant between brackets
761:33: E128 continuation line under-indented for visual indent
761:37: E251 unexpected spaces around keyword / parameter equals
761:39: E251 unexpected spaces around keyword / parameter equals
770:66: E128 continuation line under-indented for visual indent
777:60: E203 whitespace before ':'
778:56: E203 whitespace before ':'
782:13: E303 too many blank lines (2)
785:55: E126 continuation line over-indented for hanging indent
801:32: E251 unexpected spaces around keyword / parameter equals
801:34: E251 unexpected spaces around keyword / parameter equals
802:30: E251 unexpected spaces around keyword / parameter equals
802:34: E251 unexpected spaces around keyword / parameter equals
802:30: E221 multiple spaces before operator
803:31: E251 unexpected spaces around keyword / parameter equals
803:34: E251 unexpected spaces around keyword / parameter equals
803:31: E221 multiple spaces before operator
804:30: E251 unexpected spaces around keyword / parameter equals
804:32: E251 unexpected spaces around keyword / parameter equals
804:43: E251 unexpected spaces around keyword / parameter equals
804:45: E251 unexpected spaces around keyword / parameter equals
805:31: E251 unexpected spaces around keyword / parameter equals
805:34: E251 unexpected spaces around keyword / parameter equals
805:31: E221 multiple spaces before operator
808:23: E124 closing bracket does not match visual indentation
817:61: E502 the backslash is redundant between brackets
818:41: E127 continuation line over-indented for visual indent
818:105: E502 the backslash is redundant between brackets
823: D203 Expected 1 blank line *before* class docstring, found 0
830: D102 Docstring missing
834:5: E303 too many blank lines (2)
834: D401 First line should be imperative: 'Redirect', not 'Redirects'
834: D202 No blank lines allowed *after* method docstring, found 1
834: D400 First line should end with '.', not 'n'
834: D200 One-line docstring should not occupy 3 lines
841: D202 No blank lines allowed *after* method docstring, found 1
841: D200 One-line docstring should not occupy 3 lines
849:39: E203 whitespace before ':'
867:30: E251 unexpected spaces around keyword / parameter equals
867:32: E251 unexpected spaces around keyword / parameter equals
868:37: E251 unexpected spaces around keyword / parameter equals
868:39: E251 unexpected spaces around keyword / parameter equals
869:29: E251 unexpected spaces around keyword / parameter equals
869:31: E251 unexpected spaces around keyword / parameter equals
870:36: E251 unexpected spaces around keyword / parameter equals
870:38: E251 unexpected spaces around keyword / parameter equals
871:33: E251 unexpected spaces around keyword / parameter equals
871:35: E251 unexpected spaces around keyword / parameter equals
872:28: E251 unexpected spaces around keyword / parameter equals
872:30: E251 unexpected spaces around keyword / parameter equals
873:33: E251 unexpected spaces around keyword / parameter equals
873:35: E251 unexpected spaces around keyword / parameter equals
874:28: E251 unexpected spaces around keyword / parameter equals
874:30: E251 unexpected spaces around keyword / parameter equals
880:99: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
891:33: E128 continuation line under-indented for visual indent
893:21: E127 continuation line over-indented for visual indent
894:33: E128 continuation line under-indented for visual indent
900:9: E303 too many blank lines (2)
900:59: E502 the backslash is redundant between brackets
901:21: E126 continuation line over-indented for hanging indent
902:21: E126 continuation line over-indented for hanging indent
908:51: E502 the backslash is redundant between brackets
909:105: E502 the backslash is redundant between brackets
911:53: E502 the backslash is redundant between brackets
913:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
923:71: E225 missing whitespace around operator
932:44: E251 unexpected spaces around keyword / parameter equals
932:46: E251 unexpected spaces around keyword / parameter equals
936:31: E127 continuation line over-indented for visual indent
937:31: E127 continuation line over-indented for visual indent
938:31: E127 continuation line over-indented for visual indent
939:31: E127 continuation line over-indented for visual indent
945:5: E303 too many blank lines (2)
945: D200 One-line docstring should not occupy 3 lines
951:9: F841 local variable '_' is assigned to but never used
956:49: E251 unexpected spaces around keyword / parameter equals
956:51: E251 unexpected spaces around keyword / parameter equals
962:25: E131 continuation line unaligned for hanging indent
963:21: E122 continuation line missing indentation or outdented
963:30: E203 whitespace before ':'
968:21: E122 continuation line missing indentation or outdented
968:25: E203 whitespace before ':'
973:86: E203 whitespace before ':'
975:22: E127 continuation line over-indented for visual indent
975:68: E203 whitespace before ':'
977:45: E124 closing bracket does not match visual indentation
980:52: E502 the backslash is redundant between brackets
981:17: E128 continuation line under-indented for visual indent
981:21: E251 unexpected spaces around keyword / parameter equals
981:23: E251 unexpected spaces around keyword / parameter equals
999:51: E502 the backslash is redundant between brackets
1000:105: E502 the backslash is redundant between brackets
1002:53: E502 the backslash is redundant between brackets
1004:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
1014:71: E225 missing whitespace around operator
1023:44: E251 unexpected spaces around keyword / parameter equals
1023:46: E251 unexpected spaces around keyword / parameter equals
1027:31: E127 continuation line over-indented for visual indent
1028:31: E127 continuation line over-indented for visual indent
1029:31: E127 continuation line over-indented for visual indent
1030:31: E127 continuation line over-indented for visual indent
1032: D400 First line should end with '.', not ','
1032: D205 Blank line missing between one-line summary and description
1045:9: F841 local variable '_' is assigned to but never used
1050:49: E251 unexpected spaces around keyword / parameter equals
1050:51: E251 unexpected spaces around keyword / parameter equals
1056:25: E131 continuation line unaligned for hanging indent
1057:21: E122 continuation line missing indentation or outdented
1057:30: E203 whitespace before ':'
1062:21: E122 continuation line missing indentation or outdented
1062:25: E203 whitespace before ':'
1067:86: E203 whitespace before ':'
1069:22: E127 continuation line over-indented for visual indent
1069:95: E502 the backslash is redundant between brackets
1069:68: E203 whitespace before ':'
1069:92: E203 whitespace before ':'
1070:17: E128 continuation line under-indented for visual indent
1073:52: E502 the backslash is redundant between brackets
1074:17: E128 continuation line under-indented for visual indent
1074:21: E251 unexpected spaces around keyword / parameter equals
1074:23: E251 unexpected spaces around keyword / parameter equals
1101:51: E502 the backslash is redundant between brackets
1102:105: E502 the backslash is redundant between brackets
1104:53: E502 the backslash is redundant between brackets
1106:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
1116:71: E225 missing whitespace around operator
1128:31: E127 continuation line over-indented for visual indent
1129:31: E127 continuation line over-indented for visual indent
1130:31: E127 continuation line over-indented for visual indent
1131:31: E127 continuation line over-indented for visual indent
1132:31: E128 continuation line under-indented for visual indent
1135:5: E303 too many blank lines (2)
1135: D202 No blank lines allowed *after* method docstring, found 1
1135: D200 One-line docstring should not occupy 3 lines
1142:9: F841 local variable '_' is assigned to but never used
1150:49: E251 unexpected spaces around keyword / parameter equals
1150:51: E251 unexpected spaces around keyword / parameter equals
1156:25: E131 continuation line unaligned for hanging indent
1157:21: E122 continuation line missing indentation or outdented
1157:30: E203 whitespace before ':'
1162:21: E122 continuation line missing indentation or outdented
1162:25: E203 whitespace before ':'
1165:9: E303 too many blank lines (2)
1168:86: E203 whitespace before ':'
1170:22: E127 continuation line over-indented for visual indent
1170:95: E502 the backslash is redundant between brackets
1170:68: E203 whitespace before ':'
1170:92: E203 whitespace before ':'
1171:17: E128 continuation line under-indented for visual indent
1174:52: E502 the backslash is redundant between brackets
1175:17: E128 continuation line under-indented for visual indent
1175:21: E251 unexpected spaces around keyword / parameter equals
1175:23: E251 unexpected spaces around keyword / parameter equals
1179:9: E303 too many blank lines (3)
1180:53: E127 continuation line over-indented for visual indent
1181:53: E127 continuation line over-indented for visual indent
1187:51: E502 the backslash is redundant between brackets
1188:105: E502 the backslash is redundant between brackets
1190:53: E502 the backslash is redundant between brackets
1192:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
1202:71: E225 missing whitespace around operator
1211:44: E251 unexpected spaces around keyword / parameter equals
1211:46: E251 unexpected spaces around keyword / parameter equals
1215:31: E127 continuation line over-indented for visual indent
1216:31: E127 continuation line over-indented for visual indent
1217:31: E127 continuation line over-indented for visual indent
1218:31: E127 continuation line over-indented for visual indent
1220: D202 No blank lines allowed *after* method docstring, found 1
1220: D200 One-line docstring should not occupy 3 lines
1233:9: F841 local variable '_' is assigned to but never used
1238:71: E251 unexpected spaces around keyword / parameter equals
1238:73: E251 unexpected spaces around keyword / parameter equals
1238:73: E222 multiple spaces after operator
1239:69: E251 unexpected spaces around keyword / parameter equals
1239:71: E251 unexpected spaces around keyword / parameter equals
1239:71: E222 multiple spaces after operator
1240:67: E251 unexpected spaces around keyword / parameter equals
1240:69: E251 unexpected spaces around keyword / parameter equals
1240:69: E222 multiple spaces after operator
1241:58: E251 unexpected spaces around keyword / parameter equals
1241:60: E251 unexpected spaces around keyword / parameter equals
1242:60: E251 unexpected spaces around keyword / parameter equals
1242:62: E251 unexpected spaces around keyword / parameter equals
1248:49: E251 unexpected spaces around keyword / parameter equals
1248:51: E251 unexpected spaces around keyword / parameter equals
1254:25: E131 continuation line unaligned for hanging indent
1255:21: E122 continuation line missing indentation or outdented
1255:30: E203 whitespace before ':'
1260:21: E122 continuation line missing indentation or outdented
1260:25: E203 whitespace before ':'
1263:9: E303 too many blank lines (2)
1266:86: E203 whitespace before ':'
1268:22: E127 continuation line over-indented for visual indent
1268:95: E502 the backslash is redundant between brackets
1268:68: E203 whitespace before ':'
1268:92: E203 whitespace before ':'
1269:17: E128 continuation line under-indented for visual indent
1272:52: E502 the backslash is redundant between brackets
1273:17: E128 continuation line under-indented for visual indent
1273:21: E251 unexpected spaces around keyword / parameter equals
1273:23: E251 unexpected spaces around keyword / parameter equals
1277:9: E303 too many blank lines (3)
1278:53: E127 continuation line over-indented for visual indent
1279:53: E127 continuation line over-indented for visual indent
1285:51: E502 the backslash is redundant between brackets
1286:105: E502 the backslash is redundant between brackets
1288:53: E502 the backslash is redundant between brackets
1290:54: E712 comparison to True should be 'if cond is True:' or 'if cond:'
1300:71: E225 missing whitespace around operator
1312:31: E127 continuation line over-indented for visual indent
1313:31: E127 continuation line over-indented for visual indent
1314:31: E127 continuation line over-indented for visual indent
1315:31: E127 continuation line over-indented for visual indent


1: D100 Docstring missing
4: L102 copyright year is outdated, expected 2015 but got 2014
29:1: I100 Imports statements are in the wrong order. import re should be before import sys
30:1: I100 Imports statements are in the wrong order. import os should be before import re
32:1: I100 Imports statements are in the wrong order. import fnmatch should be before import time
34:1: I101 Imported names are in the wrong order. Should be DEBUG, debug, getLogger
35:1: I101 Imported names are in the wrong order. Should be OptionGroup, OptionParser, OptionValueError
36:1: I201 Missing newline before sections or imports.
38:1: I100 Imports statements are in the wrong order. from invenio.base.factory should be before from six
41:1: I101 Imported names are in the wrong order. Should be CFG_BIBDOCFILE_FILEDIR, CFG_SITE_RECORD, CFG_SITE_URL, CFG_TMPSHAREDDIR
41:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.ext.logging
43:1: I101 Imported names are in the wrong order. Should be BibDoc, BibRecDocs, CFG_BIBDOCFILE_AVAILABLE_FLAGS, InvenioBibDocFileError, KEEP_OLD_VALUE, bibdocfile_url_to_bibdoc, check_valid_url, clean_url, decompose_bibdocfile_fullpath, decompose_bibdocfile_url, get_docname_from_url, guess_format_from_url, nice_size
49:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.legacy.bibdocfile.api
50:1: I201 Missing newline before sections or imports.
51:1: I101 Imported names are in the wrong order. Should be wait_for_user, wrap_text_in_a_box
52:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.utils.text
53:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibsched.bibtask should be before from invenio.legacy.dbquery
55:1: I100 Imports statements are in the wrong order. from invenio.legacy.websubmit.file_converter should be before from invenio.utils.text
58:1: E302 expected 2 blank lines, found 1
61:1: E302 expected 2 blank lines, found 1
67:1: E302 expected 2 blank lines, found 1
67: D209 Put multi-line docstring closing quotes on separate line
67: D400 First line should end with '.', not ','
67: D205 Blank line missing between one-line summary and description
87:1: E302 expected 2 blank lines, found 1
87: D400 First line should end with '.', not 'y'
87: D205 Blank line missing between one-line summary and description
107:1: E302 expected 2 blank lines, found 0
107: D401 First line should be imperative: 'Return', not 'Returns'
107: D209 Put multi-line docstring closing quotes on separate line
107: D205 Blank line missing between one-line summary and description
107: D208 Docstring is over-indented
114:19: E231 missing whitespace after ':'
114:32: E231 missing whitespace after ':'
114:42: E231 missing whitespace after ':'
114:50: E231 missing whitespace after ':'
127:1: E302 expected 2 blank lines, found 1
127: D401 First line should be imperative: 'Return', not 'Returns'
127: D400 First line should end with '.', not 'e'
130:19: E225 missing whitespace around operator
133:19: E225 missing whitespace around operator
139:1: E302 expected 2 blank lines, found 1
163:5: E303 too many blank lines (3)
202:1: E302 expected 2 blank lines, found 1
260:1: E302 expected 2 blank lines, found 1
260: D209 Put multi-line docstring closing quotes on separate line
260: D400 First line should end with '.', not 'd'
260: D205 Blank line missing between one-line summary and description
291:1: E302 expected 2 blank lines, found 1
291: D209 Put multi-line docstring closing quotes on separate line
291: D202 No blank lines allowed *after* function docstring, found 1
291: D400 First line should end with '.', not 'd'
291: D205 Blank line missing between one-line summary and description
321:1: E302 expected 2 blank lines, found 1
327:28: W602 deprecated form of raising exception
329:28: W602 deprecated form of raising exception
331:1: E302 expected 2 blank lines, found 1
337:28: W602 deprecated form of raising exception
339:28: W602 deprecated form of raising exception
341:1: E302 expected 2 blank lines, found 1
341: D200 One-line docstring should not occupy 3 lines
354:1: E302 expected 2 blank lines, found 1
361:1: E302 expected 2 blank lines, found 1
368:1: E302 expected 2 blank lines, found 1
375:1: E302 expected 2 blank lines, found 1
382:1: E302 expected 2 blank lines, found 1
382: D209 Put multi-line docstring closing quotes on separate line
382: D400 First line should end with '.', not 'd'
382: D205 Blank line missing between one-line summary and description
393:1: E302 expected 2 blank lines, found 1
405:1: E302 expected 2 blank lines, found 1
405: D209 Put multi-line docstring closing quotes on separate line
405: D205 Blank line missing between one-line summary and description
417:1: E302 expected 2 blank lines, found 1
428:1: E302 expected 2 blank lines, found 1
428: D400 First line should end with '.', not 's'
443:248: E261 at least two spaces before inline comment
444:244: E261 at least two spaces before inline comment
445:206: E261 at least two spaces before inline comment
447:1: E302 expected 2 blank lines, found 1
447: D101 Docstring missing
448: D102 Docstring missing
455:1: E302 expected 2 blank lines, found 1
455: D202 No blank lines allowed *after* function docstring, found 1
458: D400 First line should end with '.', not 'm'
458: D205 Blank line missing between one-line summary and description
470: D301 Use r""" if any backslashes in a docstring
470: D209 Put multi-line docstring closing quotes on separate line
470: D400 First line should end with '.', not 'm'
470: D205 Blank line missing between one-line summary and description
482:5: E128 continuation line under-indented for visual indent
483:9: E128 continuation line under-indented for visual indent
584:1: E302 expected 2 blank lines, found 1
588:1: E302 expected 2 blank lines, found 1
622:1: E302 expected 2 blank lines, found 1
628:24: E225 missing whitespace around operator
631:50: E261 at least two spaces before inline comment
638:1: E302 expected 2 blank lines, found 1
648:31: W602 deprecated form of raising exception
658:18: E203 whitespace before ':'
659:18: E203 whitespace before ':'
660:22: E203 whitespace before ':'
661:22: E203 whitespace before ':'
662:18: E203 whitespace before ':'
663:17: E203 whitespace before ':'
664:14: E203 whitespace before ':'
669:1: E302 expected 2 blank lines, found 1
681:31: W602 deprecated form of raising exception
687:18: E203 whitespace before ':'
688:18: E203 whitespace before ':'
689:22: E203 whitespace before ':'
690:18: E203 whitespace before ':'
691:22: E203 whitespace before ':'
692:22: E203 whitespace before ':'
693:18: E203 whitespace before ':'
694:17: E203 whitespace before ':'
695:14: E203 whitespace before ':'
696:18: E203 whitespace before ':'
700:1: E302 expected 2 blank lines, found 1
739:1: E302 expected 2 blank lines, found 1
766:1: E302 expected 2 blank lines, found 1
775:31: E261 at least two spaces before inline comment
776:18: E203 whitespace before ':'
776:32: E203 whitespace before ':'
776:57: E203 whitespace before ':'
779:1: E302 expected 2 blank lines, found 1
779: D400 First line should end with '.', not 'm'
805:1: E302 expected 2 blank lines, found 1
811:42: E203 whitespace before ':'
811:63: E203 whitespace before ':'
814:1: E302 expected 2 blank lines, found 1
819:38: E203 whitespace before ':'
822:38: E203 whitespace before ':'
825:1: E302 expected 2 blank lines, found 1
854:1: E302 expected 2 blank lines, found 1
871:1: E302 expected 2 blank lines, found 1
894:1: E302 expected 2 blank lines, found 1
911:1: E302 expected 2 blank lines, found 1
923:27: E203 whitespace before ':'
924:27: E203 whitespace before ':'
928:1: E302 expected 2 blank lines, found 1
940:5: B901 blind except: statement
941:31: W602 deprecated form of raising exception
942:18: E203 whitespace before ':'
942:32: E203 whitespace before ':'
942:53: E203 whitespace before ':'
942:73: E203 whitespace before ':'
942:96: E203 whitespace before ':'
945:1: E302 expected 2 blank lines, found 1
956:5: B901 blind except: statement
957:31: W602 deprecated form of raising exception
958:18: E203 whitespace before ':'
958:32: E203 whitespace before ':'
958:53: E203 whitespace before ':'
958:74: E203 whitespace before ':'
961:1: E302 expected 2 blank lines, found 1
961: D400 First line should end with '.', not 'e'
994:1: E302 expected 2 blank lines, found 1
1008:1: E302 expected 2 blank lines, found 1
1023:26: E203 whitespace before ':'
1024:26: E203 whitespace before ':'
1028:1: E302 expected 2 blank lines, found 1
1045:26: E203 whitespace before ':'
1046:26: E203 whitespace before ':'
1050:1: E302 expected 2 blank lines, found 1
1059:1: E302 expected 2 blank lines, found 1
1075:24: E201 whitespace after '('
1078:13: E128 continuation line under-indented for visual indent
1082:13: E128 continuation line under-indented for visual indent
1085:1: E302 expected 2 blank lines, found 1
1098:63: E203 whitespace before ','
1102:1: E302 expected 2 blank lines, found 1
1125:9: B901 blind except: statement
1126:35: W602 deprecated form of raising exception
1151:1: E302 expected 2 blank lines, found 1
1159:9: B901 blind except: statement
1160:35: W602 deprecated form of raising exception
1187: D103 Docstring missing


1: D100 Docstring missing
2: L102 copyright year is outdated, expected 2015 but got 2014
21:1: I100 Imports statements are in the wrong order. import shutil should be before import time
25:1: I101 Imported names are in the wrong order. Should be CFG_ACCESS_CONTROL_LEVEL_SITE, CFG_INSPIRE_SITE, CFG_SITE_LANG, CFG_SITE_RECORD, CFG_SITE_SECURE_URL, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBSUBMIT_STORAGEDIR
25:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six
26:6: E126 continuation line over-indented for hanging indent
35:6: E126 continuation line over-indented for hanging indent
39:1: I100 Imports statements are in the wrong order. from invenio.modules.access.local_config should be before from invenio.utils
41:1: I100 Imports statements are in the wrong order. from invenio.modules.access.engine should be before from invenio.modules.access.mailcookie
42:1: I100 Imports statements are in the wrong order. from invenio.modules.access.control should be before from invenio.modules.access.engine
44:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.modules.records.api
45:1: I101 Imported names are in the wrong order. Should be page, pagefooteronly, pageheaderonly, warning_page, write_warning
47:1: I101 Imported names are in the wrong order. Should be collect_user_info, getUid, isGuestUser, isUserSuperAdmin, page_not_authorized
48:29: E126 continuation line over-indented for hanging indent
49:1: I100 Imports statements are in the wrong order. from invenio.legacy.webjournal should be before from invenio.legacy.webuser
50:1: I101 Imported names are in the wrong order. Should be WebInterfaceDirectory, wash_urlargd
50:1: I100 Imports statements are in the wrong order. from invenio.ext.legacy.handler should be before from invenio.legacy.webjournal
52:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.url
53:1: I101 Imported names are in the wrong order. Should be check_user_can_view_record, create_navtrail_links, guess_primary_collection_of_a_record, record_exists
54:6: E126 continuation line over-indented for hanging indent
57:1: I101 Imported names are in the wrong order. Should be BibDoc, BibRecDocs, InvenioBibDocFileError, file_strip_ext, get_subformat_from_format, normalize_format, stream_restricted_icon
57:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.modules.records.access
60:1: I100 Imports statements are in the wrong order. from invenio.ext.logging should be before from invenio.legacy.bibdocfile.api
63:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.modules.collections.models
69:1: I101 Imported names are in the wrong order. Should be create_file_upload_interface, get_upload_file_interface_css, get_upload_file_interface_javascript, move_uploaded_files_to_storage
69:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.managedocfiles should be before import invenio.legacy.template
70:6: E126 continuation line over-indented for hanging indent
76: D101 Docstring missing
78: D102 Docstring missing
118:94: E203 whitespace before ':'
120:30: E127 continuation line over-indented for visual indent
120:95: E502 the backslash is redundant between brackets
120:76: E203 whitespace before ':'
120:92: E203 whitespace before ':'
128:60: E502 the backslash is redundant between brackets
129:52: E251 unexpected spaces around keyword / parameter equals
129:54: E251 unexpected spaces around keyword / parameter equals
205:45: E128 continuation line under-indented for visual indent
212:107: E203 whitespace before ':'
214:37: E122 continuation line missing indentation or outdented
214:102: E502 the backslash is redundant between brackets
214:83: E203 whitespace before ':'
214:99: E203 whitespace before ':'
215:41: E128 continuation line under-indented for visual indent
276:25: E128 continuation line under-indented for visual indent
276:79: E502 the backslash is redundant between brackets
277:41: E127 continuation line over-indented for visual indent
278:54: E502 the backslash is redundant between brackets
279:25: E128 continuation line under-indented for visual indent
281:25: E126 continuation line over-indented for hanging indent
288:25: E127 continuation line over-indented for visual indent
289:25: E127 continuation line over-indented for visual indent
290:25: E127 continuation line over-indented for visual indent
291:25: E127 continuation line over-indented for visual indent
294: D400 First line should end with '.', not 't'
294: D205 Blank line missing between one-line summary and description
294: D208 Docstring is over-indented
306:1: E302 expected 2 blank lines, found 1
306: D290 White spaces around docstring should be trimmed.
306: D202 No blank lines allowed *after* function docstring, found 1
306: D400 First line should end with '.', not 's'
315:13: E203 whitespace before ':'
349: D101 Docstring missing
353: D400 First line should end with '.', not 'd'
353: D200 One-line docstring should not occupy 3 lines
374:22: E126 continuation line over-indented for hanging indent
374:50: E203 whitespace before ':'
375:55: E203 whitespace before ':'
385:9: E122 continuation line missing indentation or outdented
438:96: E128 continuation line under-indented for visual indent
449:50: E502 the backslash is redundant between brackets
469:5: E128 continuation line under-indented for visual indent
479:26: E251 unexpected spaces around keyword / parameter equals
479:28: E251 unexpected spaces around keyword / parameter equals
482:111: E502 the backslash is redundant between brackets
482:34: E251 unexpected spaces around keyword / parameter equals
482:36: E251 unexpected spaces around keyword / parameter equals
483:37: E127 continuation line over-indented for visual indent
484:25: E251 unexpected spaces around keyword / parameter equals
484:27: E251 unexpected spaces around keyword / parameter equals
485:24: E251 unexpected spaces around keyword / parameter equals
485:26: E251 unexpected spaces around keyword / parameter equals
490: D202 No blank lines allowed *after* method docstring, found 1
490: D400 First line should end with '.', not 'e'
490: D300 Expected """-quotes, got '-quotes
505:16: E127 continuation line over-indented for visual indent
509:35: E128 continuation line under-indented for visual indent
510:35: E128 continuation line under-indented for visual indent
520:13: B901 blind except: statement
526:13: B901 blind except: statement
531:17: E128 continuation line under-indented for visual indent
532:17: E128 continuation line under-indented for visual indent
533:17: E128 continuation line under-indented for visual indent


2: L102 copyright year is outdated, expected 2015 but got 2013
36:1: I100 Imports statements are in the wrong order. import tempfile should be before import zlib
37:1: I100 Imports statements are in the wrong order. import sys should be before import tempfile
38:1: F401 'traceback' imported but unused
40:1: I201 Missing newline before sections or imports.
47:1: I101 Imported names are in the wrong order. Should be cache_exists, delete_cache, delete_hp_change, get_cache, get_cache_post_date, get_record_last_modification_date, get_record_revision_author, uids_with_active_caches, update_cache, update_cache_post_date
48:5: E128 continuation line under-indented for visual indent
49:5: E128 continuation line under-indented for visual indent
50:5: E128 continuation line under-indented for visual indent
51:1: I101 Imported names are in the wrong order. Should be create_record, create_records, field_add_subfield, field_get_subfield_codes, field_get_subfield_values, print_rec, record_add_field, record_add_fields, record_delete_fields, record_get_field_instances, record_get_field_value, record_get_field_values, record_has_field, record_make_all_subfields_volatile, record_modify_controlfield, record_modify_subfield, record_order_subfields, record_strip_empty_fields, record_strip_empty_volatile_subfields, record_xml_output
60:1: I101 Imported names are in the wrong order. Should be CFG_BIBEDIT_EXTEND_RECORD_WITH_COLLECTION_TEMPLATE, CFG_BIBEDIT_LOCKLEVEL, CFG_BIBEDIT_QUEUE_CHECK_METHOD, CFG_BIBEDIT_TIMEOUT, CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, CFG_PYLIBDIR
60:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.bibsched.bibtask
60:1: F401 'CFG_PYLIBDIR' imported but unused
68:1: I101 Imported names are in the wrong order. Should be get_bibupload_task_opts, get_info_of_record_revision, get_marcxml_of_record_revision, get_record_revisions
68:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibedit.db_layer should be before from invenio.utils.text
71:1: I101 Imported names are in the wrong order. Should be get_all_collections_of_a_record, get_record, guess_primary_collection_of_a_record, record_exists
72:6: E126 continuation line over-indented for hanging indent
74:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord should be before from invenio.legacy.search_engine
75:1: I101 Imported names are in the wrong order. Should be collect_user_info, get_email, get_user_info, get_user_preferences, list_registered_users
76:6: E126 continuation line over-indented for hanging indent
77:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.webuser
80:1: I100 Imports statements are in the wrong order. from invenio.legacy.refextract.api should be before from invenio.modules.access.engine
81:36: E126 continuation line over-indented for hanging indent
83:1: I101 Imported names are in the wrong order. Should be ParseError, transform_file
83:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibrecord.textmarc2xmlmarc should be before from invenio.legacy.refextract.api
85:1: I100 Imports statements are in the wrong order. from invenio.modules.editor.registry should be before from invenio.modules.knowledge.api
88:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.modules.editor.registry
95:5: F401 'loads' imported but unused
116: D101 Docstring missing
119:1: E302 expected 2 blank lines, found 1
119: D203 Expected 1 blank line *before* class docstring, found 0
119: D204 Expected 1 blank line *after* class docstring, found 0
119: D400 First line should end with '.', not 's'
125:1: E302 expected 2 blank lines, found 1
125: D290 White spaces around docstring should be trimmed.
125: D400 First line should end with '.', not 'n'
125: D205 Blank line missing between one-line summary and description
129: D290 White spaces around docstring should be trimmed.
129: D400 First line should end with '.', not 'e'
172:1: E302 expected 2 blank lines, found 1
172: D103 Docstring missing
178:1: E302 expected 2 blank lines, found 1
178: D401 First line should be imperative: 'Thi', not 'This'
178: D400 First line should end with '.', not 'l'
178: D205 Blank line missing between one-line summary and description
229:1: E302 expected 2 blank lines, found 1
229: D400 First line should end with '.', not 'e'
229: D205 Blank line missing between one-line summary and description
244:1: E302 expected 2 blank lines, found 1
244: D401 First line should be imperative: 'Ha', not 'Has'
244: D400 First line should end with '.', not 'y'
244: D205 Blank line missing between one-line summary and description
252:1: E302 expected 2 blank lines, found 1
252: D400 First line should end with '.', not 'l'
252: D205 Blank line missing between one-line summary and description
278:1: E302 expected 2 blank lines, found 1
278: D400 First line should end with '.', not 'e'
278: D205 Blank line missing between one-line summary and description
285:1: E302 expected 2 blank lines, found 1
294:1: E302 expected 2 blank lines, found 1
305:1: E302 expected 2 blank lines, found 1
305: D400 First line should end with '.', not 'n'
305: D205 Blank line missing between one-line summary and description
316:1: E302 expected 2 blank lines, found 1
320:1: E302 expected 2 blank lines, found 1
320: D205 Blank line missing between one-line summary and description
331:1: E302 expected 2 blank lines, found 1
331: D103 Docstring missing
335:1: E302 expected 2 blank lines, found 1
335: D400 First line should end with '.', not 'm'
335: D205 Blank line missing between one-line summary and description
403: D400 First line should end with '.', not 'd'
403: D205 Blank line missing between one-line summary and description
416: D290 White spaces around docstring should be trimmed.
416: D400 First line should end with '.', not 'd'
416: D200 One-line docstring should not occupy 2 lines
428: D290 White spaces around docstring should be trimmed.
428: D400 First line should end with '.', not 'e'
428: D205 Blank line missing between one-line summary and description
451: D400 First line should end with '.', not 'e'
451: D205 Blank line missing between one-line summary and description
481:24: E713 test for membership should be 'not in'
490:1: E302 expected 2 blank lines, found 1
490: D401 First line should be imperative: 'Convert', not 'Converts'
490: D400 First line should end with '.', not 'p'
490: D200 One-line docstring should not occupy 3 lines
497:1: E302 expected 2 blank lines, found 1
497: D401 First line should be imperative: 'Convert', not 'Converts'
497: D400 First line should end with '.', not 'e'
497: D200 One-line docstring should not occupy 3 lines
509:1: E302 expected 2 blank lines, found 1
509: D400 First line should end with '.', not 'd'
517:1: E302 expected 2 blank lines, found 1
517: D209 Put multi-line docstring closing quotes on separate line
517: D400 First line should end with '.', not 's'
517: D205 Blank line missing between one-line summary and description
517: D208 Docstring is over-indented
530:1: E302 expected 2 blank lines, found 1
530: D205 Blank line missing between one-line summary and description
540:1: E302 expected 2 blank lines, found 1
540: D205 Blank line missing between one-line summary and description
551:1: E302 expected 2 blank lines, found 1
551: D205 Blank line missing between one-line summary and description
558:1: E302 expected 2 blank lines, found 1
558: D205 Blank line missing between one-line summary and description
578:1: E302 expected 2 blank lines, found 1
584:1: E302 expected 2 blank lines, found 1
584: D103 Docstring missing
591:1: E302 expected 2 blank lines, found 1
591: D205 Blank line missing between one-line summary and description
607: D290 White spaces around docstring should be trimmed.
607: D205 Blank line missing between one-line summary and description
628:9: E128 continuation line under-indented for visual indent
631:1: E302 expected 2 blank lines, found 1
631: D209 Put multi-line docstring closing quotes on separate line
631: D400 First line should end with '.', not ']'
631: D205 Blank line missing between one-line summary and description
631: D208 Docstring is over-indented
670:1: E302 expected 2 blank lines, found 1
670: D401 First line should be imperative: 'Return', not 'Returns'
670: D400 First line should end with '.', not ']'
675:1: E302 expected 2 blank lines, found 1
693: D205 Blank line missing between one-line summary and description
701:1: E302 expected 2 blank lines, found 1
714:1: E302 expected 2 blank lines, found 1
754:1: E302 expected 2 blank lines, found 1
772: D400 First line should end with '.', not 's'
772: D205 Blank line missing between one-line summary and description
793: D401 First line should be imperative: 'Return', not 'Returns'
793: D290 White spaces around docstring should be trimmed.
793: D400 First line should end with '.', not '0'
793: D205 Blank line missing between one-line summary and description
804:61: E128 continuation line under-indented for visual indent
805:61: E128 continuation line under-indented for visual indent
806:61: E128 continuation line under-indented for visual indent
807:61: E128 continuation line under-indented for visual indent
810: D290 White spaces around docstring should be trimmed.
810: D400 First line should end with '.', not 't'
810: D205 Blank line missing between one-line summary and description
825: D290 White spaces around docstring should be trimmed.
825: D400 First line should end with '.', not 't'
848:48: E128 continuation line under-indented for visual indent
854:1: E302 expected 2 blank lines, found 1
854: D400 First line should end with '.', not 'd'
898:1: E302 expected 2 blank lines, found 1
898: D400 First line should end with '.', not 't'
898: D205 Blank line missing between one-line summary and description
916: D400 First line should end with '.', not 'e'
916: D205 Blank line missing between one-line summary and description
934:5: E122 continuation line missing indentation or outdented
950:36: E127 continuation line over-indented for visual indent
951:36: E127 continuation line over-indented for visual indent
952:36: E127 continuation line over-indented for visual indent
953:36: E127 continuation line over-indented for visual indent
957: D400 First line should end with '.', not 'n'
1015: D401 First line should be imperative: 'Create', not 'Creates'
1015: D400 First line should end with '.', not 'e'
1015: D205 Blank line missing between one-line summary and description
1030: D400 First line should end with '.', not 'n'
1030: D205 Blank line missing between one-line summary and description
1050: D401 First line should be imperative: 'Change', not 'Changes'
1050: D400 First line should end with '.', not ','
1050: D205 Blank line missing between one-line summary and description
1068:9: E128 continuation line under-indented for visual indent
1078:13: E128 continuation line under-indented for visual indent
1081: D401 First line should be imperative: 'Return', not 'Returns'
1081: D290 White spaces around docstring should be trimmed.
1081: D400 First line should end with '.', not 'e'
1109: D103 Docstring missing
1123:25: E128 continuation line under-indented for visual indent
1162: D401 First line should be imperative: 'Load', not 'Loads'
1162: D205 Blank line missing between one-line summary and description
1178:52: E201 whitespace after '{'
1178:62: E203 whitespace before ':'
1178:89: E203 whitespace before ':'
1178:105: E202 whitespace before '}'
1191: D401 First line should be imperative: 'Split', not 'Splits'
1191: D400 First line should end with '.', not ':'
1191: D205 Blank line missing between one-line summary and description
1191: D300 Expected """-quotes, got '''-quotes
1271: D401 First line should be imperative: 'Create', not 'Creates'
1271: D400 First line should end with '.', not 'e'
1271: D205 Blank line missing between one-line summary and description
1271: D300 Expected """-quotes, got '''-quotes
1306: D205 Blank line missing between one-line summary and description
1306: D300 Expected """-quotes, got '''-quotes


30:1: I100 Imports statements are in the wrong order. from ConfigParser should be before from urllib
31:1: I201 Missing newline before sections or imports.
32:1: I100 Imports statements are in the wrong order. import os should be before from six
32:1: I201 Missing newline before sections or imports.
33:1: I100 Imports statements are in the wrong order. import gzip should be before import os
37:1: I101 Imported names are in the wrong order. Should be get_all_restricted_recids, get_collection_reclist
38:1: I100 Imports statements are in the wrong order. from invenio.legacy.dbquery should be before from invenio.legacy.search_engine
39:1: I101 Imported names are in the wrong order. Should be CFG_ETCDIR, CFG_SITE_LANGS, CFG_SITE_RECORD, CFG_SITE_URL, CFG_TMPSHAREDDIR, CFG_WEBDIR
39:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.dbquery
41:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.config
42:1: I101 Imported names are in the wrong order. Should be task_sleep_now_if_required, task_update_progress, write_message
42:1: I201 Missing newline before sections or imports.
72:1: E302 expected 2 blank lines, found 1
72: D200 One-line docstring should not occupy 3 lines
81:1: E302 expected 2 blank lines, found 1
81: D290 White spaces around docstring should be trimmed.
81: D400 First line should end with '.', not 'n'
81: D205 Blank line missing between one-line summary and description
96:1: E302 expected 2 blank lines, found 1
96: D290 White spaces around docstring should be trimmed.
96: D400 First line should end with '.', not 'l'
96: D205 Blank line missing between one-line summary and description
101:5: E301 expected 1 blank line, found 0
101: D290 White spaces around docstring should be trimmed.
101: D400 First line should end with '.', not 'd'
132:1: E302 expected 2 blank lines, found 1
132: D401 First line should be imperative: 'return', not 'returns'
132: D290 White spaces around docstring should be trimmed.
132: D209 Put multi-line docstring closing quotes on separate line
132: D205 Blank line missing between one-line summary and description
153: D290 White spaces around docstring should be trimmed.
153: D400 First line should end with '.', not ')'
165: D290 White spaces around docstring should be trimmed.
165: D400 First line should end with '.', not ')'
188:1: E302 expected 2 blank lines, found 1
188: D290 White spaces around docstring should be trimmed.
188: D203 Expected 1 blank line *before* class docstring, found 0
188: D400 First line should end with '.', not 's'
191: D290 White spaces around docstring should be trimmed.
191: D205 Blank line missing between one-line summary and description
212: D290 White spaces around docstring should be trimmed.
212: D400 First line should end with '.', not 'p'
223:71: E502 the backslash is redundant between brackets
233:42: E261 at least two spaces before inline comment
233:43: E262 inline comment should start with '# '
241: D290 White spaces around docstring should be trimmed.
241: D400 First line should end with '.', not 'B'
245: D290 White spaces around docstring should be trimmed.
245: D400 First line should end with '.', not '0'
249: D401 First line should be imperative: 'Return', not 'Returns'
249: D290 White spaces around docstring should be trimmed.
249: D400 First line should end with '.', not 'e'
253: D401 First line should be imperative: 'Return', not 'Returns'
253: D290 White spaces around docstring should be trimmed.
253: D400 First line should end with '.', not 'L'
257: D401 First line should be imperative: 'Write', not 'Writes'
257: D290 White spaces around docstring should be trimmed.
257: D400 First line should end with '.', not 'p'
264:1: E122 continuation line missing indentation or outdented
265:1: E122 continuation line missing indentation or outdented
266:1: E122 continuation line missing indentation or outdented
267:1: E122 continuation line missing indentation or outdented
268:1: E122 continuation line missing indentation or outdented
269:1: E122 continuation line missing indentation or outdented
273:1: E302 expected 2 blank lines, found 1
273: D203 Expected 1 blank line *before* class docstring, found 0
276: D290 White spaces around docstring should be trimmed.
276: D205 Blank line missing between one-line summary and description
289: D290 White spaces around docstring should be trimmed.
289: D400 First line should end with '.', not 'p'
297:67: E502 the backslash is redundant between brackets
298:45: E128 continuation line under-indented for visual indent
304: D401 First line should be imperative: 'Write', not 'Writes'
304: D290 White spaces around docstring should be trimmed.
304: D400 First line should end with '.', not 'p'
310:1: E302 expected 2 blank lines, found 1
310: D400 First line should end with '.', not 's'
310: D200 One-line docstring should not occupy 3 lines
335:33: E128 continuation line under-indented for visual indent
335:40: E251 unexpected spaces around keyword / parameter equals
335:42: E251 unexpected spaces around keyword / parameter equals
336:33: E128 continuation line under-indented for visual indent
336:43: E251 unexpected spaces around keyword / parameter equals
336:45: E251 unexpected spaces around keyword / parameter equals
337:33: E128 continuation line under-indented for visual indent
337:41: E251 unexpected spaces around keyword / parameter equals
337:43: E251 unexpected spaces around keyword / parameter equals
350:25: E128 continuation line under-indented for visual indent
350:32: E251 unexpected spaces around keyword / parameter equals
350:34: E251 unexpected spaces around keyword / parameter equals
351:25: E128 continuation line under-indented for visual indent
351:35: E251 unexpected spaces around keyword / parameter equals
351:37: E251 unexpected spaces around keyword / parameter equals
352:25: E128 continuation line under-indented for visual indent
352:33: E251 unexpected spaces around keyword / parameter equals
352:35: E251 unexpected spaces around keyword / parameter equals
353:25: E128 continuation line under-indented for visual indent
365:41: E251 unexpected spaces around keyword / parameter equals
365:43: E251 unexpected spaces around keyword / parameter equals
366:44: E251 unexpected spaces around keyword / parameter equals
366:46: E251 unexpected spaces around keyword / parameter equals
367:42: E251 unexpected spaces around keyword / parameter equals
367:44: E251 unexpected spaces around keyword / parameter equals
380:41: E251 unexpected spaces around keyword / parameter equals
380:43: E251 unexpected spaces around keyword / parameter equals
381:44: E251 unexpected spaces around keyword / parameter equals
381:46: E251 unexpected spaces around keyword / parameter equals
382:42: E251 unexpected spaces around keyword / parameter equals
382:44: E251 unexpected spaces around keyword / parameter equals
395:41: E251 unexpected spaces around keyword / parameter equals
395:43: E251 unexpected spaces around keyword / parameter equals
396:44: E251 unexpected spaces around keyword / parameter equals
396:46: E251 unexpected spaces around keyword / parameter equals
397:42: E251 unexpected spaces around keyword / parameter equals
397:44: E251 unexpected spaces around keyword / parameter equals
402:1: E302 expected 2 blank lines, found 1
402: D400 First line should end with '.', not 's'
402: D205 Blank line missing between one-line summary and description
424:1: E302 expected 2 blank lines, found 1
424:74: E251 unexpected spaces around keyword / parameter equals
424:76: E251 unexpected spaces around keyword / parameter equals
424: D209 Put multi-line docstring closing quotes on separate line
424: D400 First line should end with '.', not 'g'
424: D205 Blank line missing between one-line summary and description
424: D208 Docstring is over-indented