{"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/comments/9895088","html_url":"https://github.com/jirikuncar/invenio/commit/d30cbe4f8a261887fb0b449c2726b08f2984c116#commitcomment-9895088","id":9895088,"user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"position":0,"line":null,"path":"invenio/modules/formatter/engine.py","commit_id":"d30cbe4f8a261887fb0b449c2726b08f2984c116","created_at":"2015-02-24T15:08:55Z","updated_at":"2015-02-24T15:08:55Z","body":"3:1: E266 too many leading '#' for block comment\n4:1: E266 too many leading '#' for block comment\n6:1: E266 too many leading '#' for block comment\n7:1: E266 too many leading '#' for block comment\n8:1: E266 too many leading '#' for block comment\n9:1: E266 too many leading '#' for block comment\n11:1: E266 too many leading '#' for block comment\n12:1: E266 too many leading '#' for block comment\n13:1: E266 too many leading '#' for block comment\n14:1: E266 too many leading '#' for block comment\n16:1: E266 too many leading '#' for block comment\n17:1: E266 too many leading '#' for block comment\n18:1: E266 too many leading '#' for block comment\n41:1: I100 Imports statements are in the wrong order. import os should be before import sys\n42:1: I100 Imports statements are in the wrong order. import inspect should be before import os\n44:1: I100 Imports statements are in the wrong order. import cgi should be before import traceback\n47:1: I101 Imported names are in the wrong order. Should be current_app, has_app_context\n48:1: I100 Imports statements are in the wrong order. from operator should be before from flask\n48:1: I201 Missing newline before sections or imports.\n49:1: I201 Missing newline before sections or imports.\n50:1: I201 Missing newline before sections or imports.\n52:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from werkzeug.utils\n53:1: I101 Imported names are in the wrong order. Should be CFG_BIBFORMAT_CACHED_FORMATS, CFG_BIBFORMAT_DISABLE_I18N_FOR_CACHED_FORMATS, CFG_BIBFORMAT_HIDDEN_TAGS, CFG_SITE_LANG\n53:1: F401 'CFG_BIBFORMAT_CACHED_FORMATS' imported but unused\n53:1: F401 'CFG_BIBFORMAT_HIDDEN_TAGS' imported but unused\n54:6: E126 continuation line over-indented for hanging indent\n59:6: E126 continuation line over-indented for hanging indent\n60:1: I101 Imported names are in the wrong order. Should be create_record, record_empty, record_get_field_instances, record_get_field_value, record_get_field_values, record_xml_output\n61:6: E126 continuation line over-indented for hanging indent\n70:1: I101 Imported names are in the wrong order. Should be gettext_set_language, language_list_long, wash_language\n70:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from .models\n70:1: I201 Missing newline before sections or imports.\n71:6: E126 continuation line over-indented for hanging indent\n75:1: I101 Imported names are in the wrong order. Should be CFG_BIBFORMAT_FORMAT_JINJA_TEMPLATE_EXTENSION, CFG_BIBFORMAT_FORMAT_OUTPUT_EXTENSION, CFG_BIBFORMAT_FORMAT_TEMPLATE_EXTENSION, CFG_BIBFORMAT_OUTPUTS_PATH, CFG_BIBFORMAT_TEMPLATES_DIR, InvenioBibFormatError\n75:1: I201 Missing newline before sections or imports.\n75:1: F401 'CFG_BIBFORMAT_TEMPLATES_DIR' imported but unused\n75:1: F401 'CFG_BIBFORMAT_OUTPUTS_PATH' imported but unused\n76:6: E126 continuation line over-indented for hanging indent\n82:1: I100 Imports statements are in the wrong order. from invenio.modules.formatter.utils should be before from .config\n83:6: E126 continuation line over-indented for hanging indent\n84:1: I101 Imported names are in the wrong order. Should be CFG_HTML_BUFFER_ALLOWED_ATTRIBUTE_WHITELIST, CFG_HTML_BUFFER_ALLOWED_TAG_WHITELIST, HTMLWasher\n85:6: E126 continuation line over-indented for hanging indent\n88:1: I100 Imports statements are in the wrong order. from invenio.modules.knowledge.api should be before from invenio.utils.html\n89:1: I100 Imports statements are in the wrong order. from invenio.ext.template should be before from invenio.modules.knowledge.api\n90:1: I100 Imports statements are in the wrong order. from HTMLParser should be before from invenio.ext.template\n90:1: I201 Missing newline before sections or imports.\n91:1: I201 Missing newline before sections or imports.\n99:27: E261 at least two spaces before inline comment\n100:28: E114 indentation is not a multiple of four (comment)\n100:28: E116 unexpected indentation (comment)\n101:28: E114 indentation is not a multiple of four (comment)\n101:28: E116 unexpected indentation (comment)\n102:28: E114 indentation is not a multiple of four (comment)\n102:28: E116 unexpected indentation (comment)\n105:28: E114 indentation is not a multiple of four (comment)\n105:28: E116 unexpected indentation (comment)\n119:33: E225 missing whitespace around operator\n193:1: E266 too many leading '#' for block comment\n194:1: E266 too many leading '#' for block comment\n195:1: E266 too many leading '#' for block comment\n196:1: E266 too many leading '#' for block comment\n197:1: E266 too many leading '#' for block comment\n198:1: E266 too many leading '#' for block comment\n199:1: E266 too many leading '#' for block comment\n200:1: E266 too many leading '#' for block comment\n201:1: E266 too many leading '#' for block comment\n204:1: E731 do not assign a lambda expression, use a def\n207:1: E402 module level import not at top of file\n210: D203 Expected 1 blank line *before* class docstring, found 0\n214: D401 First line should be imperative: 'Return', not 'Returns'\n214: D400 First line should end with '.', not 's'\n226: D401 First line should be imperative: 'Return', not 'Returns'\n251: D102 Docstring missing\n290: D103 Docstring missing\n296: D401 First line should be imperative: 'Format', not 'Formats'\n296: D400 First line should end with '.', not 'f'\n296: D205 Blank line missing between one-line summary and description\n343:45: W503 line break before binary operator\n343:45: E127 continuation line over-indented for visual indent\n359:8: W503 line break before binary operator\n486:27: E225 missing whitespace around operator\n489:5: E303 too many blank lines (2)\n507:82: E225 missing whitespace around operator\n549: D103 Docstring missing\n565: D401 First line should be imperative: 'Return', not 'Returns'\n565: D202 No blank lines allowed *after* function docstring, found 1\n565: D400 First line should end with '.', not 'g'\n565: D205 Blank line missing between one-line summary and description\n586:64: E261 at least two spaces before inline comment\n586:65: E262 inline comment should start with '# '\n593:38: E261 at least two spaces before inline comment\n593:39: E262 inline comment should start with '# '\n594:48: E261 at least two spaces before inline comment\n594:49: E262 inline comment should start with '# '\n597:24: E127 continuation line over-indented for visual indent\n606: D103 Docstring missing\n609: D400 First line should end with '.', not 's'\n609: D200 One-line docstring should not occupy 3 lines\n622: D290 White spaces around docstring should be trimmed.\n622: D400 First line should end with '.', not 'a'\n622: D205 Blank line missing between one-line summary and description\n654:57: E126 continuation line over-indented for hanging indent\n661:5: E303 too many blank lines (2)\n720: D401 First line should be imperative: 'Evalute', not 'Evalutes'\n740: D401 First line should be imperative: 'Analyse', not 'Analyses'\n740: D202 No blank lines allowed *after* function docstring, found 1\n809: D401 First line should be imperative: 'Return', not 'Returns'\n809: D400 First line should end with '.', not 't'\n809: D205 Blank line missing between one-line summary and description\n908:13: B901 blind except: statement\n939:78: E225 missing whitespace around operator\n940:54: E225 missing whitespace around operator\n972:47: E261 at least two spaces before inline comment\n987:27: E225 missing whitespace around operator\n1047: D401 First line should be imperative: 'Filter', not 'Filters'\n1057: D401 First line should be imperative: 'Searche', not 'Searches'\n1057: D400 First line should end with '.', not 's'\n1057: D205 Blank line missing between one-line summary and description\n1083:9: E303 too many blank lines (2)\n1097:5: E303 too many blank lines (2)\n1100:1: E302 expected 2 blank lines, found 1\n1100: D401 First line should be imperative: 'Return', not 'Returns'\n1114:5: F841 local variable '_' is assigned to but never used\n1117:12: E127 continuation line over-indented for visual indent\n1126:16: E126 continuation line over-indented for hanging indent\n1148:5: B901 blind except: statement\n1160: D401 First line should be imperative: 'Return', not 'Returns'\n1160: D400 First line should end with '.', not 's'\n1180:16: E126 continuation line over-indented for hanging indent\n1187:1: E302 expected 2 blank lines, found 1\n1187: D401 First line should be imperative: 'Return', not 'Returns'\n1187: D400 First line should end with '.', not 'e'\n1219:13: E303 too many blank lines (2)\n1233: D401 First line should be imperative: 'Return', not 'Returns'\n1267:16: E127 continuation line over-indented for visual indent\n1277:31: E126 continuation line over-indented for hanging indent\n1304:9: B901 blind except: statement\n1316:17: E126 continuation line over-indented for hanging indent\n1323:1: E302 expected 2 blank lines, found 1\n1323: D401 First line should be imperative: 'Return', not 'Returns'\n1323: D400 First line should end with '.', not 'e'\n1367:1: E302 expected 2 blank lines, found 1\n1367: D401 First line should be imperative: 'Return', not 'Returns'\n1367: D202 No blank lines allowed *after* function docstring, found 1\n1494:1: E302 expected 2 blank lines, found 1\n1494: D401 First line should be imperative: 'Return', not 'Returns'\n1494: D202 No blank lines allowed *after* function docstring, found 1\n1521:17: E225 missing whitespace around operator\n1589:1: E302 expected 2 blank lines, found 1\n1589: D401 First line should be imperative: 'Return', not 'Returns'\n1589: D400 First line should end with '.', not 't'\n1633:28: E261 at least two spaces before inline comment\n1633:29: E262 inline comment should start with '# '\n1681:5: B901 blind except: statement\n1787:1: E302 expected 2 blank lines, found 1\n1787: D401 First line should be imperative: 'Return', not 'Returns'\n1787: D202 No blank lines allowed *after* function docstring, found 1\n1787: D400 First line should end with '.', not '}'\n1804:56: E225 missing whitespace around operator\n1828:1: E302 expected 2 blank lines, found 1\n1828: D401 First line should be imperative: 'Return', not 'Returns'\n1828: D400 First line should end with '.', not 'e'\n1857:26: F821 undefined name 'exc'\n1859:22: F821 undefined name 'exc'\n1862:1: E302 expected 2 blank lines, found 1\n1862: D401 First line should be imperative: 'Return', not 'Returns'\n1895:1: E302 expected 2 blank lines, found 1\n1895: D401 First line should be imperative: 'Return', not 'Returns'\n1939:1: E302 expected 2 blank lines, found 1\n1950:1: E302 expected 2 blank lines, found 1\n1950: D203 Expected 1 blank line *before* class docstring, found 0\n1950: D204 Expected 1 blank line *after* class docstring, found 0\n1950: D400 First line should end with '.', not 'n'\n1950: D205 Blank line missing between one-line summary and description\n1981:15: E261 at least two spaces before inline comment\n1983: D401 First line should be imperative: 'Create', not 'Creates'\n2015:31: E261 at least two spaces before inline comment\n2039: D401 First line should be imperative: 'Return', not 'Returns'\n2039: D400 First line should end with '.', not 'e'\n2054: D401 First line should be imperative: 'Return', not 'Returns'\n2054: D400 First line should end with '.', not 'd'\n2077: D401 First line should be imperative: 'Return', not 'Returns'\n2077: D400 First line should end with '.', not 'e'\n2077: D205 Blank line missing between one-line summary and description\n2115: D401 First line should be imperative: 'Return', not 'Returns'\n2115: D202 No blank lines allowed *after* method docstring, found 1\n2224:36: E127 continuation line over-indented for visual indent\n2227: D401 First line should be imperative: 'Return', not 'Returns'\n2284:33: E127 continuation line over-indented for visual indent\n2295:60: E251 unexpected spaces around keyword / parameter equals\n2297:54: E251 unexpected spaces around keyword / parameter equals\n2307:37: E127 continuation line over-indented for visual indent\n2318:64: E251 unexpected spaces around keyword / parameter equals\n2320:58: E251 unexpected spaces around keyword / parameter equals"}}