{"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/comments/9843461","html_url":"https://github.com/jirikuncar/invenio/commit/be3b8badfeaeaa2f65b9c337192d80fc13605a8e#commitcomment-9843461","id":9843461,"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/webstat/templates.py","commit_id":"be3b8badfeaeaa2f65b9c337192d80fc13605a8e","created_at":"2015-02-20T15:08:39Z","updated_at":"2015-02-20T15:08:39Z","body":"1: D100 Docstring missing\n2: L102 copyright year is outdated, expected 2015 but got 2014\n21:1: I101 Imported names are in the wrong order. Should be cgi, datetime, os, urllib\n21:16: E401 multiple imports on one line\n23:1: I101 Imported names are in the wrong order. Should be CFG_SITE_LANG, CFG_SITE_NAME, CFG_SITE_URL, CFG_WEBDIR\n23:1: I201 Missing newline before sections or imports.\n24:6: E126 continuation line over-indented for hanging indent\n30:1: E302 expected 2 blank lines, found 1\n30: D101 Docstring missing\n32: D401 First line should be imperative: 'Generate', not 'Generates'\n32: D200 One-line docstring should not occupy 3 lines\n41: D401 First line should be imperative: 'Generate', not 'Generates'\n41: D400 First line should end with '.', not 'r'\n41: D205 Blank line missing between one-line summary and description\n58:21: E126 continuation line over-indented for hanging indent\n66:21: E126 continuation line over-indented for hanging indent\n66:74: E502 the backslash is redundant between brackets\n67:21: E128 continuation line under-indented for visual indent\n76: D401 First line should be imperative: 'Generate', not 'Generates'\n76: D200 One-line docstring should not occupy 3 lines\n92:33: E126 continuation line over-indented for hanging indent\n92:64: E502 the backslash is redundant between brackets\n93:33: E128 continuation line under-indented for visual indent\n97:33: E126 continuation line over-indented for hanging indent\n97:64: E502 the backslash is redundant between brackets\n98:33: E128 continuation line under-indented for visual indent\n103:21: E128 continuation line under-indented for visual indent\n107:5: E303 too many blank lines (2)\n107: D401 First line should be imperative: 'Generate', not 'Generates'\n107: D200 One-line docstring should not occupy 3 lines\n139: D401 First line should be imperative: 'Generate', not 'Generates'\n139: D200 One-line docstring should not occupy 3 lines\n151:9: E303 too many blank lines (2)\n162: D401 First line should be imperative: 'Generate', not 'Generates'\n162: D400 First line should end with '.', not 's'\n162: D200 One-line docstring should not occupy 3 lines\n169: D400 First line should end with '.', not 'r'\n169: D200 One-line docstring should not occupy 3 lines\n178: D401 First line should be imperative: 'Generate', not 'Generates'\n178: D400 First line should end with '.', not 's'\n178: D200 One-line docstring should not occupy 3 lines\n202:8: E122 continuation line missing indentation or outdented\n203:8: E122 continuation line missing indentation or outdented\n209: D200 One-line docstring should not occupy 3 lines\n217: D400 First line should end with '.', not 't'\n217: D200 One-line docstring should not occupy 3 lines\n227: D200 One-line docstring should not occupy 3 lines\n239:25: E126 continuation line over-indented for hanging indent\n239:57: E502 the backslash is redundant between brackets\n240:25: E128 continuation line under-indented for visual indent\n243: D400 First line should end with '.', not 't'\n243: D205 Blank line missing between one-line summary and description\n267:26: E711 comparison to None should be 'if cond is None:'\n275:17: E711 comparison to None should be 'if cond is None:'\n275:17: E225 missing whitespace around operator\n280:19: E271 multiple spaces after keyword\n282: D401 First line should be imperative: 'Generate', not 'Generates'\n282: D200 One-line docstring should not occupy 3 lines\n298:33: E126 continuation line over-indented for hanging indent\n298:64: E502 the backslash is redundant between brackets\n299:33: E128 continuation line under-indented for visual indent\n303:33: E126 continuation line over-indented for hanging indent\n303:64: E502 the backslash is redundant between brackets\n304:33: E128 continuation line under-indented for visual indent\n309: D401 First line should be imperative: 'Generate', not 'Generates'\n309: D200 One-line docstring should not occupy 3 lines\n320:25: E127 continuation line over-indented for visual indent\n323:17: E127 continuation line over-indented for visual indent\n326: D102 Docstring missing\n336: D200 One-line docstring should not occupy 3 lines\n376: D401 First line should be imperative: 'Provide', not 'Provides'\n376: D200 One-line docstring should not occupy 3 lines\n382: D401 First line should be imperative: 'Generate', not 'Generates'\n407:72: E261 at least two spaces before inline comment\n408:21: E128 continuation line under-indented for visual indent\n408:54: E261 at least two spaces before inline comment\n409:27: E261 at least two spaces before inline comment\n410:60: E261 at least two spaces before inline comment\n411:26: E261 at least two spaces before inline comment\n414:72: E261 at least two spaces before inline comment\n415:21: E128 continuation line under-indented for visual indent\n415:54: E261 at least two spaces before inline comment\n416:27: E261 at least two spaces before inline comment\n417:36: E261 at least two spaces before inline comment\n418:50: E261 at least two spaces before inline comment\n421:58: E261 at least two spaces before inline comment\n422:21: E128 continuation line under-indented for visual indent\n422:36: E261 at least two spaces before inline comment\n439: D401 First line should be imperative: 'Generate', not 'Generates'\n474:72: E261 at least two spaces before inline comment\n475:21: E128 continuation line under-indented for visual indent\n475:54: E261 at least two spaces before inline comment\n476:27: E261 at least two spaces before inline comment\n477:60: E261 at least two spaces before inline comment\n478:26: E261 at least two spaces before inline comment\n481:72: E261 at least two spaces before inline comment\n482:21: E128 continuation line under-indented for visual indent\n482:54: E261 at least two spaces before inline comment\n483:27: E261 at least two spaces before inline comment\n484:36: E261 at least two spaces before inline comment\n485:50: E261 at least two spaces before inline comment\n490:17: E128 continuation line under-indented for visual indent\n508:53: E128 continuation line under-indented for visual indent\n509:53: E128 continuation line under-indented for visual indent\n510:53: E128 continuation line under-indented for visual indent\n511:53: E128 continuation line under-indented for visual indent\n514:53: E128 continuation line under-indented for visual indent\n515:53: E128 continuation line under-indented for visual indent\n516:53: E128 continuation line under-indented for visual indent\n517:53: E128 continuation line under-indented for visual indent\n522:95: E502 the backslash is redundant between brackets\n534:13: E128 continuation line under-indented for visual indent\n541:45: E128 continuation line under-indented for visual indent\n544:21: E128 continuation line under-indented for visual indent\n586:25: E128 continuation line under-indented for visual indent\n587:25: E128 continuation line under-indented for visual indent\n588:25: E128 continuation line under-indented for visual indent\n589:25: E128 continuation line under-indented for visual indent\n590:25: E128 continuation line under-indented for visual indent\n591:25: E128 continuation line under-indented for visual indent\n592:25: E128 continuation line under-indented for visual indent\n592:77: E502 the backslash is redundant between brackets\n593:33: E127 continuation line over-indented for visual indent\n703: D401 First line should be imperative: 'Display', not 'Displays'\n703: D400 First line should end with '.', not 'd'\n711: D401 First line should be imperative: 'Display', not 'Displays'\n711: D400 First line should end with '.', not 'd'\n715:37: E128 continuation line under-indented for visual indent\n719: D401 First line should be imperative: 'Display', not 'Displays'\n719: D400 First line should end with '.', not 'd'\n727: D400 First line should end with '.', not 's'\n736:53: E128 continuation line under-indented for visual indent\n743: D400 First line should end with '.', not ')'\n763:9: E303 too many blank lines (2)\n799:8: E122 continuation line missing indentation or outdented\n807: D401 First line should be imperative: 'Generate', not 'Generates'\n807: D400 First line should end with '.', not ')'\n807: D205 Blank line missing between one-line summary and description\n817: D401 First line should be imperative: 'Aggregate', not 'Aggregates'\n817: D400 First line should end with '.', not 'e'\n817: D205 Blank line missing between one-line summary and description\n885: D401 First line should be imperative: 'Generate', not 'Generates'\n885: D202 No blank lines allowed *after* method docstring, found 2\n911:9: E303 too many blank lines (2)\n939:21: E128 continuation line under-indented for visual indent\n940:33: E128 continuation line under-indented for visual indent\n983: D401 First line should be imperative: 'Generate', not 'Generates'"}}