{"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/comments/10032825","html_url":"https://github.com/jirikuncar/invenio/commit/9f42c568691dd276c2f953b97f14a6d104a2862c#commitcomment-10032825","id":10032825,"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/oaiharvest/templates.py","commit_id":"9f42c568691dd276c2f953b97f14a6d104a2862c","created_at":"2015-03-04T16:13:14Z","updated_at":"2015-03-04T16:13:14Z","body":"1: D400 First line should end with '.', not 'd'\n1: D205 Blank line missing between one-line summary and description\n2: L102 copyright year is outdated, expected 2015 but got 2014\n23:1: E402 module level import not at top of file\n24:1: E402 module level import not at top of file\n25:1: I101 Imported names are in the wrong order. Should be CFG_CERN_SITE, CFG_SITE_LANG, CFG_SITE_URL\n25:1: I201 Missing newline before sections or imports.\n25:1: E402 module level import not at top of file\n26:1: E402 module level import not at top of file\n27:1: E402 module level import not at top of file\n28:1: I100 Imports statements are in the wrong order. from invenio.base.i18n should be before from invenio.utils.url\n28:1: E402 module level import not at top of file\n31:25: E126 continuation line over-indented for hanging indent\n33:1: E302 expected 2 blank lines, found 1\n33: D290 White spaces around docstring should be trimmed.\n33: D203 Expected 1 blank line *before* class docstring, found 0\n33: D400 First line should end with '.', not 's'\n36: D400 First line should end with '.', not 'e'\n36: D208 Docstring is over-indented\n36: D200 One-line docstring should not occupy 3 lines\n47: D209 Put multi-line docstring closing quotes on separate line\n47: D400 First line should end with '.', not 'l'\n47: D205 Blank line missing between one-line summary and description\n47: D208 Docstring is over-indented\n50:9: F841 local variable '_' is assigned to but never used\n55: D401 First line should be imperative: 'Draw', not 'Draws'\n55: D400 First line should end with '.', not 'r'\n55: D205 Blank line missing between one-line summary and description\n55: D208 Docstring is over-indented\n73:5: E303 too many blank lines (2)\n73: D401 First line should be imperative: 'Draw', not 'Draws'\n73: D400 First line should end with '.', not 'r'\n73: D205 Blank line missing between one-line summary and description\n73: D208 Docstring is over-indented\n87: D401 First line should be imperative: 'Draw', not 'Draws'\n87: D400 First line should end with '.', not 'r'\n87: D205 Blank line missing between one-line summary and description\n87: D208 Docstring is over-indented\n99: D209 Put multi-line docstring closing quotes on separate line\n99: D400 First line should end with '.', not 'l'\n99: D205 Blank line missing between one-line summary and description\n99: D208 Docstring is over-indented\n112: D102 Docstring missing\n127: D401 First line should be imperative: 'Draw', not 'Draws'\n127: D400 First line should end with '.', not 'x'\n127: D205 Blank line missing between one-line summary and description\n127: D208 Docstring is over-indented\n146: D401 First line should be imperative: 'Draw', not 'Draws'\n146: D400 First line should end with '.', not 'x'\n146: D205 Blank line missing between one-line summary and description\n146: D208 Docstring is over-indented\n164: D401 First line should be imperative: 'Draw', not 'Draws'\n164: D400 First line should end with '.', not 's'\n164: D205 Blank line missing between one-line summary and description\n164: D208 Docstring is over-indented\n197: D401 First line should be imperative: 'Draw', not 'Draws'\n197: D400 First line should end with '.', not 't'\n197: D205 Blank line missing between one-line summary and description\n197: D208 Docstring is over-indented\n241:79: E502 the backslash is redundant between brackets\n242:74: E502 the backslash is redundant between brackets\n245:95: E502 the backslash is redundant between brackets\n246:86: E502 the backslash is redundant between brackets\n247:87: E502 the backslash is redundant between brackets\n254:5: E303 too many blank lines (2)\n254: D401 First line should be imperative: 'Draw', not 'Draws'\n254: D209 Put multi-line docstring closing quotes on separate line\n254: D400 First line should end with '.', not 'x'\n254: D205 Blank line missing between one-line summary and description\n254: D208 Docstring is over-indented\n259:9: F841 local variable '_' is assigned to but never used\n268:42: E261 at least two spaces before inline comment\n268:43: E262 inline comment should start with '# '\n272:31: F841 local variable 'e' is assigned to but never used\n280: D401 First line should be imperative: 'Return', not 'Returns'\n280: D400 First line should end with '.', not ':'\n280: D205 Blank line missing between one-line summary and description\n289:9: F841 local variable '_' is assigned to but never used\n294:18: E225 missing whitespace around operator\n296:18: E127 continuation line over-indented for visual indent\n299: D401 First line should be imperative: 'Output', not 'Outputs'\n299: D400 First line should end with '.', not 'o'\n306: D401 First line should be imperative: 'Output', not 'Outputs'\n306: D400 First line should end with '.', not 'o'\n313: D401 First line should be imperative: 'Output', not 'Outputs'\n313: D400 First line should end with '.', not 's'\n315:9: F841 local variable '_' is assigned to but never used\n322: D401 First line should be imperative: 'Print', not 'Prints'\n322: D209 Put multi-line docstring closing quotes on separate line\n322: D400 First line should end with '.', not 't'\n322: D205 Blank line missing between one-line summary and description\n322: D208 Docstring is over-indented\n336: D401 First line should be imperative: 'Print', not 'Prints'\n336: D400 First line should end with '.', not 'e'\n338:9: F841 local variable '_' is assigned to but never used\n343: D102 Docstring missing\n347: D400 First line should end with '.', not 'n'\n360:15: E221 multiple spaces before operator\n377: D401 First line should be imperative: 'Print', not 'Prints'\n377: D400 First line should end with '.', not ','\n377: D205 Blank line missing between one-line summary and description\n406: D102 Docstring missing\n408:22: E711 comparison to None should be 'if cond is not None:'\n415: D102 Docstring missing\n418: D102 Docstring missing\n424:21: E711 comparison to None should be 'if cond is not None:'\n429: D102 Docstring missing\n435:21: E711 comparison to None should be 'if cond is not None:'\n440: D102 Docstring missing\n443: D102 Docstring missing\n446: D400 First line should end with '.', not 'y'\n449:65: E502 the backslash is redundant between brackets\n451:46: E231 missing whitespace after ':'\n457:34: E127 continuation line over-indented for visual indent\n459: D102 Docstring missing\n467: D102 Docstring missing\n471: D102 Docstring missing\n474: D102 Docstring missing\n477: D102 Docstring missing\n483: D102 Docstring missing\n489: D401 First line should be imperative: 'construct', not 'constructs'\n489: D400 First line should end with '.', not 'r'\n492:26: E711 comparison to None should be 'if cond is None:'\n508:68: E502 the backslash is redundant between brackets\n510:49: E231 missing whitespace after ':'\n515:68: E502 the backslash is redundant between brackets\n517:49: E231 missing whitespace after ':'\n527: D102 Docstring missing\n534: D401 First line should be imperative: 'Write', not 'Writes'\n534: D400 First line should end with '.', not 's'\n578: D401 First line should be imperative: 'Create', not 'Creates'\n578: D205 Blank line missing between one-line summary and description\n603: D102 Docstring missing\n607: D400 First line should end with '.', not 'u'\n607: D208 Docstring is over-indented\n607: D200 One-line docstring should not occupy 3 lines\n620:70: E502 the backslash is redundant between brackets\n624:72: E502 the backslash is redundant between brackets\n625:38: E128 continuation line under-indented for visual indent\n626:38: E128 continuation line under-indented for visual indent\n627:38: E128 continuation line under-indented for visual indent\n628:70: E502 the backslash is redundant between brackets\n632:70: E502 the backslash is redundant between brackets\n636:73: E502 the backslash is redundant between brackets\n641:63: E203 whitespace before ','\n644:23: E711 comparison to None should be 'if cond is not None:'\n646:23: E126 continuation line over-indented for hanging indent\n654: D401 First line should be imperative: 'Convert', not 'Converts'\n654: D400 First line should end with '.', not 's'\n654: D205 Blank line missing between one-line summary and description\n665: D401 First line should be imperative: 'format', not 'formats'\n665: D400 First line should end with '.', not 't'\n665: D205 Blank line missing between one-line summary and description\n671:17: E711 comparison to None should be 'if cond is None:'\n675: D102 Docstring missing\n676:17: E711 comparison to None should be 'if cond is None:'\n680: D102 Docstring missing\n681:25: E711 comparison to None should be 'if cond is None:'\n684:16: E127 continuation line over-indented for visual indent\n685:16: E127 continuation line over-indented for visual indent\n687: D102 Docstring missing\n698: D400 First line should end with '.', not 'w'\n698: D205 Blank line missing between one-line summary and description\n698: D208 Docstring is over-indented\n710:21: E126 continuation line over-indented for hanging indent\n711:28: E203 whitespace before ':'\n712:17: E121 continuation line under-indented for hanging indent\n725:22: E203 whitespace before ':'\n726:28: E203 whitespace before ':'\n727:8: E122 continuation line missing indentation or outdented\n729: D400 First line should end with '.', not 'e'\n729: D205 Blank line missing between one-line summary and description\n750:16: E713 test for membership should be 'not in'"}}