{"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/comments/11678566","html_url":"https://github.com/jirikuncar/invenio/commit/1d6bec284bb0722bcb7cc61c1d570a51f0474aa4#commitcomment-11678566","id":11678566,"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/websession/inveniogc.py","commit_id":"1d6bec284bb0722bcb7cc61c1d570a51f0474aa4","created_at":"2015-06-15T11:56:44Z","updated_at":"2015-06-15T11:56:44Z","body":"1: D100 Missing docstring in public module\n28:1: F401 'sys' imported but unused\n28:1: E402 module level import not at top of file\n29:1: I100 Imports statements are in the wrong order. import datetime should be before import sys\n29:1: E402 module level import not at top of file\n30:1: E402 module level import not at top of file\n31:1: I100 Imports statements are in the wrong order. import os should be before import time\n31:1: E402 module level import not at top of file\n33:1: E402 module level import not at top of file\n34:1: I101 Imported names are in the wrong order. Should be CFG_CACHEDIR, CFG_INSPIRE_SITE, CFG_LOGDIR, CFG_TMPDIR, CFG_TMPDIR, CFG_TMPSHAREDDIR, CFG_WEBSEARCH_RSS_TTL, CFG_WEBSESSION_NOT_CONFIRMED_EMAIL_ADDRESS_EXPIRE_IN_DAYS\n34:1: I100 Imports statements are in the wrong order. from invenio.config should be before from invenio.legacy.dbquery\n34:1: F999 redefinition of unused 'CFG_TMPDIR' from line 34\n34:1: F401 'CFG_LOGDIR' imported but unused\n34:1: E402 module level import not at top of file\n35:9: E126 continuation line over-indented for hanging indent\n38:1: I101 Imported names are in the wrong order. Should be task_get_option, task_init, task_set_option, write_message, write_messages\n38:1: E402 module level import not at top of file\n39:10: E126 continuation line over-indented for hanging indent\n40:1: E402 module level import not at top of file\n41:1: E402 module level import not at top of file\n42:1: I100 Imports statements are in the wrong order. from invenio.legacy.bibdocfile.api should be before from invenio.modules.access.mailcookie\n42:1: E402 module level import not at top of file\n43:1: E402 module level import not at top of file\n44:1: E402 module level import not at top of file\n45:1: E402 module level import not at top of file\n46:1: I100 Imports statements are in the wrong order. from intbitset should be before from invenio.utils.date\n46:1: I201 Missing newline before sections or imports.\n46:1: E402 module level import not at top of file\n94:1: E302 expected 2 blank lines, found 1\n94: D210 No whitespaces allowed surrounding docstring text\n101:1: E302 expected 2 blank lines, found 1\n101: D210 No whitespaces allowed surrounding docstring text\n105:13: E128 continuation line under-indented for visual indent\n108:9: E128 continuation line under-indented for visual indent\n108:42: E502 the backslash is redundant between brackets\n109:13: E128 continuation line under-indented for visual indent\n111:9: E128 continuation line under-indented for visual indent\n111:44: E502 the backslash is redundant between brackets\n112:13: E128 continuation line under-indented for visual indent\n114:9: E128 continuation line under-indented for visual indent\n114:46: E502 the backslash is redundant between brackets\n115:13: E128 continuation line under-indented for visual indent\n118:1: E302 expected 2 blank lines, found 1\n118: D210 No whitespaces allowed surrounding docstring text\n122:13: E128 continuation line under-indented for visual indent\n126:13: E128 continuation line under-indented for visual indent\n128:9: E128 continuation line under-indented for visual indent\n128:33: E502 the backslash is redundant between brackets\n129:13: E128 continuation line under-indented for visual indent\n131:9: E128 continuation line under-indented for visual indent\n131:33: E502 the backslash is redundant between brackets\n132:13: E128 continuation line under-indented for visual indent\n135:9: E128 continuation line under-indented for visual indent\n135:46: E502 the backslash is redundant between brackets\n136:13: E128 continuation line under-indented for visual indent\n136:46: E502 the backslash is redundant between brackets\n139:9: E128 continuation line under-indented for visual indent\n139:45: E502 the backslash is redundant between brackets\n140:13: E128 continuation line under-indented for visual indent\n140:46: E502 the backslash is redundant between brackets\n144:13: E128 continuation line under-indented for visual indent\n146:9: E128 continuation line under-indented for visual indent\n146:44: E502 the backslash is redundant between brackets\n147:13: E128 continuation line under-indented for visual indent\n152:9: E128 continuation line under-indented for visual indent\n152:44: E502 the backslash is redundant between brackets\n153:13: E128 continuation line under-indented for visual indent\n153:46: E502 the backslash is redundant between brackets\n158:9: E128 continuation line under-indented for visual indent\n158:44: E502 the backslash is redundant between brackets\n159:13: E128 continuation line under-indented for visual indent\n159:46: E502 the backslash is redundant between brackets\n165:13: E128 continuation line under-indented for visual indent\n165:48: E502 the backslash is redundant between brackets\n166:17: E128 continuation line under-indented for visual indent\n166:50: E502 the backslash is redundant between brackets\n167:17: E128 continuation line under-indented for visual indent\n171:13: E128 continuation line under-indented for visual indent\n171:48: E502 the backslash is redundant between brackets\n172:17: E128 continuation line under-indented for visual indent\n172:50: E502 the backslash is redundant between brackets\n173:17: E128 continuation line under-indented for visual indent\n177:9: E128 continuation line under-indented for visual indent\n177:44: E502 the backslash is redundant between brackets\n178:13: E128 continuation line under-indented for visual indent\n183:9: E128 continuation line under-indented for visual indent\n183:44: E502 the backslash is redundant between brackets\n184:13: E128 continuation line under-indented for visual indent\n189:1: E302 expected 2 blank lines, found 1\n233: D205 1 blank line required between summary line and description (found 0)\n250:69: E502 the backslash is redundant between brackets\n251:25: E128 continuation line under-indented for visual indent\n256:69: E502 the backslash is redundant between brackets\n257:25: E127 continuation line over-indented for visual indent\n260:72: E502 the backslash is redundant between brackets\n264:1: E302 expected 2 blank lines, found 1\n264: D209 Multi-line docstring closing quotes should be on a separate line\n264: D400 First line should end with a period (not 'n')\n264: D205 1 blank line required between summary line and description (found 0)\n280:1: E302 expected 2 blank lines, found 1\n280: D400 First line should end with a period (not 'e')\n280: D205 1 blank line required between summary line and description (found 0)\n291:71: E261 at least two spaces before inline comment\n293:1: E302 expected 2 blank lines, found 1\n293: D400 First line should end with a period (not 'B')\n293: D205 1 blank line required between summary line and description (found 0)\n305:74: E261 at least two spaces before inline comment\n307:1: E302 expected 2 blank lines, found 1\n307: D401 First line should be in imperative mood ('Delete', not 'Deletes')\n307: D200 One-line docstring should fit on one line with quotes (found 3)\n322:1: E302 expected 2 blank lines, found 1\n322: D401 First line should be in imperative mood ('Delete', not 'Deletes')\n322: D400 First line should end with a period (not 's')\n328:1: E302 expected 2 blank lines, found 1\n328: D209 Multi-line docstring closing quotes should be on a separate line\n328: D202 No blank lines allowed after function docstring (found 1)\n328: D400 First line should end with a period (not 'r')\n328: D208 Docstring is over-indented\n360:34: E203 whitespace before ':'\n368:9: E128 continuation line under-indented for visual indent\n370:9: E128 continuation line under-indented for visual indent\n373:5: E303 too many blank lines (2)\n391:26: E701 multiple statements on one line (colon)\n396:17: E128 continuation line under-indented for visual indent\n398:17: E128 continuation line under-indented for visual indent\n401:5: E303 too many blank lines (2)\n405:9: E128 continuation line under-indented for visual indent\n422:9: E128 continuation line under-indented for visual indent\n445:5: E303 too many blank lines (2)\n455:5: B901 blind except: statement\n474:5: B901 blind except: statement\n500:5: E266 too many leading '#' for block comment\n526:1: E302 expected 2 blank lines, found 1\n542:13: E128 continuation line under-indented for visual indent\n543:13: E128 continuation line under-indented for visual indent\n544:17: E127 continuation line over-indented for visual indent\n555:13: E128 continuation line under-indented for visual indent\n556:13: E128 continuation line under-indented for visual indent\n557:13: E128 continuation line under-indented for visual indent\n558:13: E128 continuation line under-indented for visual indent\n559:13: E128 continuation line under-indented for visual indent\n561:1: E302 expected 2 blank lines, found 1\n561: D103 Missing docstring in public function\n576:1: E302 expected 2 blank lines, found 1\n576: D210 No whitespaces allowed surrounding docstring text\n576: D400 First line should end with a period (not 'e')\n576: D205 1 blank line required between summary line and description (found 0)\n633:1: E302 expected 2 blank lines, found 1\n633: D210 No whitespaces allowed surrounding docstring text"}}