{"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/comments/9894022","html_url":"https://github.com/jirikuncar/invenio/commit/fa6e5ac2673232f80c56badcc9dee93616254e37#commitcomment-9894022","id":9894022,"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/legacy/webstyle/templates.py","commit_id":"fa6e5ac2673232f80c56badcc9dee93616254e37","created_at":"2015-02-24T14:26:36Z","updated_at":"2015-02-24T14:26:36Z","body":"1:1: E266 too many leading '#' for block comment\n1: D400 First line should end with '.', not 'o'\n1: D200 One-line docstring should not occupy 3 lines\n2:1: E266 too many leading '#' for block comment\n2: L102 copyright year is outdated, expected 2015 but got 2014\n4:1: E266 too many leading '#' for block comment\n5: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\n9:1: E266 too many leading '#' for block comment\n10: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\n14:1: E266 too many leading '#' for block comment\n15:1: E266 too many leading '#' for block comment\n16:1: E266 too many leading '#' for block comment\n23:1: E402 module level import not at top of file\n24:1: I100 Imports statements are in the wrong order. import cgi should be before import time\n24:1: E402 module level import not at top of file\n25:1: E402 module level import not at top of file\n26:1: E402 module level import not at top of file\n27:1: I100 Imports statements are in the wrong order. import sys should be before import urllib\n27:1: E402 module level import not at top of file\n28:1: I100 Imports statements are in the wrong order. import string should be before import sys\n28:1: E402 module level import not at top of file\n30:1: E402 module level import not at top of file\n31:1: I201 Missing newline before sections or imports.\n31:1: E402 module level import not at top of file\n32: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\n32:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.ext.template\n32:1: F401 'CFG_SITE_SECURE_URL' imported but unused\n32:1: F401 'CFG_SITE_RECORD' imported but unused\n32:1: F401 'CFG_WEBLINKBACK_TRACKBACK_ENABLED' imported but unused\n32:1: F401 'CFG_VERSION' imported but unused\n32:1: F401 'CFG_WEBSTYLE_TEMPLATE_SKIN' imported but unused\n32:1: E402 module level import not at top of file\n33:6: E126 continuation line over-indented for hanging indent\n46:1: I101 Imported names are in the wrong order. Should be gettext_set_language, is_language_rtl, language_list_long\n46:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.config\n46:1: F401 'is_language_rtl' imported but unused\n46:1: E402 module level import not at top of file\n47:1: I101 Imported names are in the wrong order. Should be create_html_link, get_canonical_and_alternates_urls, make_canonical_urlargd\n47:1: F401 'get_canonical_and_alternates_urls' imported but unused\n47:1: E402 module level import not at top of file\n48:30: E126 continuation line over-indented for hanging indent\n49:1: I100 Imports statements are in the wrong order. from invenio.utils.date should be before from invenio.utils.url\n49:1: F401 'convert_datestruct_to_dategui' imported but unused\n49:1: E402 module level import not at top of file\n50:31: E126 continuation line over-indented for hanging indent\n51:1: I100 Imports statements are in the wrong order. from invenio.modules.formatter should be before from invenio.utils.date\n51:1: E402 module level import not at top of file\n52:1: E402 module level import not at top of file\n53:1: I100 Imports statements are in the wrong order. import invenio.legacy.template should be before from invenio.utils.html\n53:1: E402 module level import not at top of file\n57: D101 Docstring missing\n59: D202 No blank lines allowed *after* method docstring, found 1\n59: D400 First line should end with '.', not 'y'\n59: D208 Docstring is over-indented\n111: D401 First line should be imperative: 'Create', not 'Creates'\n111: D400 First line should end with '.', not 'e'\n111: D208 Docstring is over-indented\n200: D401 First line should be imperative: 'Create', not 'Creates'\n200: D202 No blank lines allowed *after* method docstring, found 1\n200: D400 First line should end with '.', not 'r'\n200: D208 Docstring is over-indented\n261: D401 First line should be imperative: 'Create', not 'Creates'\n261: D400 First line should end with '.', not 'r'\n261: D208 Docstring is over-indented\n290: D202 No blank lines allowed *after* method docstring, found 1\n290: D400 First line should end with '.', not 'e'\n290: D205 Blank line missing between one-line summary and description\n290: D208 Docstring is over-indented\n327:18: E126 continuation line over-indented for hanging indent\n329:13: E266 too many leading '#' for block comment\n330:13: E266 too many leading '#' for block comment\n333: D401 First line should be imperative: 'Produce', not 'Produces'\n333: D202 No blank lines allowed *after* method docstring, found 1\n333: D208 Docstring is over-indented\n369:13: B901 blind except: statement\n369:20: E261 at least two spaces before inline comment\n389:21: B901 blind except: statement\n391:34: E261 at least two spaces before inline comment\n441:17: E126 continuation line over-indented for hanging indent\n441:28: E203 whitespace before ':'\n444:37: E502 the backslash is redundant between brackets\n445:24: E131 continuation line unaligned for hanging indent\n447:24: E203 whitespace before ':'\n448:24: E203 whitespace before ':'\n449:31: E502 the backslash is redundant between brackets\n449:28: E203 whitespace before ':'\n450:21: E131 continuation line unaligned for hanging indent\n451:90: E225 missing whitespace around operator\n452:28: E203 whitespace before ':'\n453:28: E203 whitespace before ':'\n454:28: E203 whitespace before ':'\n455:28: E203 whitespace before ':'\n456:28: E203 whitespace before ':'\n457:28: E203 whitespace before ':'\n458:28: E203 whitespace before ':'\n459:28: E203 whitespace before ':'\n460:29: E203 whitespace before ':'\n461:62: E502 the backslash is redundant between brackets\n461:28: E203 whitespace before ':'\n461:37: E225 missing whitespace around operator\n462:34: E131 continuation line unaligned for hanging indent\n462:67: E502 the backslash is redundant between brackets\n463:34: E131 continuation line unaligned for hanging indent\n464:15: E126 continuation line over-indented for hanging indent\n467: D401 First line should be imperative: 'Print', not 'Prints'\n472:53: E251 unexpected spaces around keyword / parameter equals\n472:55: E251 unexpected spaces around keyword / parameter equals\n472:78: E251 unexpected spaces around keyword / parameter equals\n472:80: E251 unexpected spaces around keyword / parameter equals\n532:41: E231 missing whitespace after ':'\n533:41: E231 missing whitespace after ':'\n534:42: E231 missing whitespace after ':'\n537:41: E231 missing whitespace after ':'\n538:39: E231 missing whitespace after ':'\n539:41: E231 missing whitespace after ':'\n540:42: E231 missing whitespace after ':'\n549:9: E303 too many blank lines (2)\n571:9: E303 too many blank lines (2)\n583:30: E231 missing whitespace after ':'\n584:38: E231 missing whitespace after ':'\n589: D401 First line should be imperative: 'Print', not 'Prints'\n619:69: E502 the backslash is redundant between brackets\n623:41: E231 missing whitespace after ','\n633:21: E203 whitespace before ':'\n634:19: E203 whitespace before ':'\n635:17: E126 continuation line over-indented for hanging indent\n644:5: E303 too many blank lines (2)\n644: D401 First line should be imperative: 'Display', not 'Displays'\n644: D400 First line should end with '.', not 'd'\n644: D205 Blank line missing between one-line summary and description\n644: D208 Docstring is over-indented\n662:9: F841 local variable '_' is assigned to but never used\n685:9: E122 continuation line missing indentation or outdented\n686:9: E122 continuation line missing indentation or outdented\n686:13: E231 missing whitespace after ':'\n687:9: E122 continuation line missing indentation or outdented\n687:16: E231 missing whitespace after ':'\n688:9: E122 continuation line missing indentation or outdented\n689:9: E122 continuation line missing indentation or outdented\n689:18: E231 missing whitespace after ':'\n690:9: E122 continuation line missing indentation or outdented\n705:21: E203 whitespace before ':'\n706:22: E203 whitespace before ':'\n707:22: E203 whitespace before ':'\n708:21: E203 whitespace before ':'\n709:93: E203 whitespace before ':'\n713: D401 First line should be imperative: 'Produce', not 'Produces'\n713: D202 No blank lines allowed *after* method docstring, found 1\n713: D400 First line should end with '.', not 't'\n725:9: F841 local variable '_' is assigned to but never used\n729: D401 First line should be imperative: 'Return', not 'Returns'\n729: D202 No blank lines allowed *after* method docstring, found 1"}}