{"comment":{"url":"https://api.github.com/repos/jirikuncar/invenio/comments/12642999","html_url":"https://github.com/jirikuncar/invenio/commit/11d2127b6c1e730d9d0fb45d974238a7ff9e1a35#commitcomment-12642999","id":12642999,"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/oairepository/server.py","commit_id":"11d2127b6c1e730d9d0fb45d974238a7ff9e1a35","created_at":"2015-08-11T15:11:52Z","updated_at":"2015-08-11T15:11:52Z","body":"1: D400 First line should end with a period (not 's')\n22:1: E402 module level import not at top of file\n23:1: I100 Imports statements are in the wrong order. import os should be before from six.moves\n23:1: I201 Missing newline before sections or imports.\n23:1: E402 module level import not at top of file\n24:1: E402 module level import not at top of file\n25:1: E402 module level import not at top of file\n26:1: I100 Imports statements are in the wrong order. import tempfile should be before import time\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 tempfile\n27:1: E402 module level import not at top of file\n28:1: I100 Imports statements are in the wrong order. import datetime should be before import sys\n28:1: E402 module level import not at top of file\n33:1: I101 Imported names are in the wrong order. Should be abort, url_for\n33:1: E402 module level import not at top of file\n34:1: I201 Missing newline before sections or imports.\n34:1: E402 module level import not at top of file\n35:1: I201 Missing newline before sections or imports.\n35:1: E402 module level import not at top of file\n36:1: I201 Missing newline before sections or imports.\n36:1: E402 module level import not at top of file\n38:1: I100 Imports statements are in the wrong order. from invenio.config should be before from six\n38:1: E402 module level import not at top of file\n39:6: E126 continuation line over-indented for hanging indent\n64:1: I100 Imports statements are in the wrong order. from invenio.base.globals should be before from invenio.config\n64:1: F401 'cfg' imported but unused\n64:1: E402 module level import not at top of file\n65:1: E402 module level import not at top of file\n66:1: E402 module level import not at top of file\n67:1: I101 Imported names are in the wrong order. Should be datetime_format, run_sql, wash_table_column_name\n67:1: E402 module level import not at top of file\n69:1: E402 module level import not at top of file\n70:1: I101 Imported names are in the wrong order. Should be get_record, record_exists, search_unit_in_bibxxx\n70:1: E402 module level import not at top of file\n72:1: E402 module level import not at top of file\n73:1: I100 Imports statements are in the wrong order. from invenio.modules.search.api should be before from invenio_formatter\n73:1: I201 Missing newline before sections or imports.\n73:1: E402 module level import not at top of file\n74:1: E402 module level import not at top of file\n75:1: I101 Imported names are in the wrong order. Should be EscapedXMLString, X\n75:1: E402 module level import not at top of file\n78:25: E203 whitespace before ':'\n79:25: E203 whitespace before ':'\n80:25: E203 whitespace before ':'\n85:25: E203 whitespace before ':'\n89:25: E203 whitespace before ':'\n107: D205 1 blank line required between summary line and description (found 0)\n119: D400 First line should end with a period (not 'r')\n119: D200 One-line docstring should fit on one line with quotes (found 3)\n135:9: E266 too many leading '#' for block comment\n136:9: E266 too many leading '#' for block comment\n147:1: E302 expected 2 blank lines, found 1\n147: D202 No blank lines allowed after function docstring (found 1)\n147: D400 First line should end with a period (not 'r')\n147: D200 One-line docstring should fit on one line with quotes (found 3)\n169:1: E302 expected 2 blank lines, found 1\n169: D200 One-line docstring should fit on one line with quotes (found 3)\n179:1: E302 expected 2 blank lines, found 1\n179: D401 First line should be in imperative mood ('Get', not 'Gets')\n179: D202 No blank lines allowed after function docstring (found 1)\n179: D200 One-line docstring should fit on one line with quotes (found 3)\n187:9: E221 multiple spaces before operator\n192:1: E302 expected 2 blank lines, found 1\n192: D401 First line should be in imperative mood ('Return', not 'Returns')\n192: D205 1 blank line required between summary line and description (found 0)\n202:1: E302 expected 2 blank lines, found 1\n202: D400 First line should end with a period (not 'e')\n202: D205 1 blank line required between summary line and description (found 0)\n212:1: E302 expected 2 blank lines, found 1\n212: D400 First line should end with a period (not 'e')\n212: D205 1 blank line required between summary line and description (found 0)\n222:1: E302 expected 2 blank lines, found 1\n222: D209 Multi-line docstring closing quotes should be on a separate line\n222: D202 No blank lines allowed after function docstring (found 1)\n222: D400 First line should end with a period (not 'r')\n222: D205 1 blank line required between summary line and description (found 0)\n231:1: E302 expected 2 blank lines, found 1\n231: D400 First line should end with a period (not 'e')\n231: D205 1 blank line required between summary line and description (found 0)\n247:1: E302 expected 2 blank lines, found 1\n247: D400 First line should end with a period (not 't')\n247: D205 1 blank line required between summary line and description (found 0)\n279:85: E261 at least two spaces before inline comment\n279:86: E262 inline comment should start with '# '\n284:1: E302 expected 2 blank lines, found 1\n284: D200 One-line docstring should fit on one line with quotes (found 3)\n289:5: E266 too many leading '#' for block comment\n290:5: E266 too many leading '#' for block comment\n297:9: E116 unexpected indentation (comment)\n298:13: E116 unexpected indentation (comment)\n299:17: E116 unexpected indentation (comment)\n300:13: E116 unexpected indentation (comment)\n301:17: E116 unexpected indentation (comment)\n302:13: E116 unexpected indentation (comment)\n303:17: E116 unexpected indentation (comment)\n304:13: E116 unexpected indentation (comment)\n305:17: E116 unexpected indentation (comment)\n306:13: E116 unexpected indentation (comment)\n307:17: E116 unexpected indentation (comment)\n309:9: E116 unexpected indentation (comment)\n310:13: E116 unexpected indentation (comment)\n311:17: E116 unexpected indentation (comment)\n312:13: E116 unexpected indentation (comment)\n313:17: E116 unexpected indentation (comment)\n314:13: E116 unexpected indentation (comment)\n315:17: E116 unexpected indentation (comment)\n317:1: E302 expected 2 blank lines, found 1\n317: D401 First line should be in imperative mood ('Print', not 'Prints')\n317: D202 No blank lines allowed after function docstring (found 1)\n334:37: E713 test for membership should be 'not in'\n335:13: E266 too many leading '#' for block comment\n336:13: E266 too many leading '#' for block comment\n350:5: E266 too many leading '#' for block comment\n397:1: E302 expected 2 blank lines, found 1\n397: D401 First line should be in imperative mood ('Generate', not 'Generates')\n397: D202 No blank lines allowed after function docstring (found 1)\n416:1: E302 expected 2 blank lines, found 1\n416: D401 First line should be in imperative mood ('Generate', not 'Generates')\n416: D202 No blank lines allowed after function docstring (found 1)\n441:30: E261 at least two spaces before inline comment\n447:9: E266 too many leading '#' for block comment\n448:9: E266 too many leading '#' for block comment\n471:9: E266 too many leading '#' for block comment\n476:1: E302 expected 2 blank lines, found 1\n476: D401 First line should be in imperative mood ('List', not 'Lists')\n476: D202 No blank lines allowed after function docstring (found 1)\n476: D200 One-line docstring should fit on one line with quotes (found 3)\n497: D401 First line should be in imperative mood ('Return', not 'Returns')\n497: D202 No blank lines allowed after function docstring (found 1)\n513:12: E127 continuation line over-indented for visual indent\n522:1: E303 too many blank lines (3)\n522: D401 First line should be in imperative mood ('Generate', not 'Generates')\n522: D202 No blank lines allowed after function docstring (found 1)\n522: D208 Docstring is over-indented\n546:17: E128 continuation line under-indented for visual indent\n547:17: E128 continuation line under-indented for visual indent\n548:17: E128 continuation line under-indented for visual indent\n549:17: E128 continuation line under-indented for visual indent\n550:17: E128 continuation line under-indented for visual indent\n566:1: E302 expected 2 blank lines, found 1\n566: D200 One-line docstring should fit on one line with quotes (found 3)\n572:1: E302 expected 2 blank lines, found 1\n572: D200 One-line docstring should fit on one line with quotes (found 3)\n580:1: E302 expected 2 blank lines, found 1\n580: D401 First line should be in imperative mood ('Generate', not 'Generates')\n585:1: E302 expected 2 blank lines, found 1\n585: D401 First line should be in imperative mood ('Generate', not 'Generates')\n589:1: E302 expected 2 blank lines, found 1\n589: D401 First line should be in imperative mood ('Return', not 'Returns')\n589: D209 Multi-line docstring closing quotes should be on a separate line\n589: D400 First line should end with a period (not 'd')\n589: D205 1 blank line required between summary line and description (found 0)\n604: D401 First line should be in imperative mood ('Return', not 'Returns')\n604: D400 First line should end with a period (not 'C')\n604: D200 One-line docstring should fit on one line with quotes (found 3)\n618: D210 No whitespaces allowed surrounding docstring text\n632:29: E261 at least two spaces before inline comment\n632:30: E262 inline comment should start with '# '\n639:31: E261 at least two spaces before inline comment\n639:32: E262 inline comment should start with '# '\n650:1: E302 expected 2 blank lines, found 1\n650: D401 First line should be in imperative mood ('Return', not 'Returns')\n650: D200 One-line docstring should fit on one line with quotes (found 3)\n671:1: E302 expected 2 blank lines, found 1\n671: D401 First line should be in imperative mood ('Generate', not 'Generates')\n677:1: E302 expected 2 blank lines, found 1\n677: D400 First line should end with a period (not 'e')\n677: D205 1 blank line required between summary line and description (found 0)\n690:1: E302 expected 2 blank lines, found 1\n690: D200 One-line docstring should fit on one line with quotes (found 3)\n710: D200 One-line docstring should fit on one line with quotes (found 3)\n725:31: F841 local variable 'e' is assigned to but never used\n729:1: E302 expected 2 blank lines, found 1\n729: D200 One-line docstring should fit on one line with quotes (found 3)\n739:5: E266 too many leading '#' for block comment\n744:5: E266 too many leading '#' for block comment\n755:9: E266 too many leading '#' for block comment\n759:9: E266 too many leading '#' for block comment\n764:1: E302 expected 2 blank lines, found 1\n764: D400 First line should end with a period (not 's')\n764: D205 1 blank line required between summary line and description (found 0)\n771:5: E266 too many leading '#' for block comment\n776:39: E261 at least two spaces before inline comment\n776:40: E262 inline comment should start with '# '\n782:5: E266 too many leading '#' for block comment\n786:5: E266 too many leading '#' for block comment\n788:12: E713 test for membership should be 'not in'\n789:16: E126 continuation line over-indented for hanging indent\n792:18: E261 at least two spaces before inline comment\n794:5: E266 too many leading '#' for block comment\n796:12: E127 continuation line over-indented for visual indent\n803:5: E266 too many leading '#' for block comment\n805:12: E127 continuation line over-indented for visual indent\n813:12: E127 continuation line over-indented for visual indent\n826:12: E127 continuation line over-indented for visual indent\n827:12: E127 continuation line over-indented for visual indent\n831:5: E266 too many leading '#' for block comment\n833:12: E127 continuation line over-indented for visual indent\n834:36: E261 at least two spaces before inline comment\n838:5: E266 too many leading '#' for block comment\n840:12: E127 continuation line over-indented for visual indent\n844:12: E127 continuation line over-indented for visual indent\n847:5: E266 too many leading '#' for block comment\n849:12: E127 continuation line over-indented for visual indent\n852:5: E266 too many leading '#' for block comment\n854:12: E127 continuation line over-indented for visual indent\n859:1: E302 expected 2 blank lines, found 1\n859: D401 First line should be in imperative mood ('Run', not 'Runs')\n859: D400 First line should end with a period (not 'k')\n859: D200 One-line docstring should fit on one line with quotes (found 3)\n865:90: E203 whitespace before ':'\n865:91: E231 missing whitespace after ':'"}}