)]}'
{"hacking/core.py":[{"author":{"_account_id":6623,"name":"Roman Prykhodchenko","email":"me@romcheg.me","username":"prykhodchenko"},"change_message_id":"7105cc43171581d39ede0c1bc0c2ce1a9f2719f4","unresolved":false,"context_lines":[{"line_number":234,"context_line":""},{"line_number":235,"context_line":"    H104 empty file with only comments"},{"line_number":236,"context_line":"    \"\"\""},{"line_number":237,"context_line":"    if line_number \u003d\u003d 1 and all(map(lambda line: line.startswith(\u0027#\u0027), lines)):"},{"line_number":238,"context_line":"        return (0, \"H104: File with only comments\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BOHE%3D","line":237,"updated":"2013-11-28 19:07:04.000000000","message":"I think using a list comprehension would be better.","commit_id":"75866868c6b5dc4951c1be2563352555b34f455f"},{"author":{"_account_id":6623,"name":"Roman Prykhodchenko","email":"me@romcheg.me","username":"prykhodchenko"},"change_message_id":"21dd2cf6556cae63417f2af6cf5d2e57746ffbc1","unresolved":false,"context_lines":[{"line_number":234,"context_line":""},{"line_number":235,"context_line":"    H104 empty file with only comments"},{"line_number":236,"context_line":"    \"\"\""},{"line_number":237,"context_line":"    if line_number \u003d\u003d 1 and all(map(lambda line: line.startswith(\u0027#\u0027), lines)):"},{"line_number":238,"context_line":"        return (0, \"H104: File with only comments\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BNAc%3D","line":237,"in_reply_to":"AAAATn%2F%2BNCw%3D","updated":"2013-11-29 08:23:04.000000000","message":"In my opinion lambda is more clear for new developers who will be working with the code.\n\nall([line for line in lines if line.startswith(\u0027#\u0027)]) vs all(map(lambda line: line.startswith(\u0027#\u0027), lines))\n\nAnyway, this is just my personal opinion so I think I should remove my -1.","commit_id":"75866868c6b5dc4951c1be2563352555b34f455f"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"abaa76a2bcbccac6cfeab90b672ed153d49446ed","unresolved":false,"context_lines":[{"line_number":234,"context_line":""},{"line_number":235,"context_line":"    H104 empty file with only comments"},{"line_number":236,"context_line":"    \"\"\""},{"line_number":237,"context_line":"    if line_number \u003d\u003d 1 and all(map(lambda line: line.startswith(\u0027#\u0027), lines)):"},{"line_number":238,"context_line":"        return (0, \"H104: File with only comments\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2BNCw%3D","line":237,"in_reply_to":"AAAATn%2F%2BOHE%3D","updated":"2013-11-29 08:01:29.000000000","message":"Unless you have a compelling argument, I don\u0027t think so.","commit_id":"75866868c6b5dc4951c1be2563352555b34f455f"},{"author":{"_account_id":6623,"name":"Roman Prykhodchenko","email":"me@romcheg.me","username":"prykhodchenko"},"change_message_id":"d3abaa4d5664916a05d159c9f6c3c5ca13de44b4","unresolved":false,"context_lines":[{"line_number":235,"context_line":"    H104 empty file with only comments"},{"line_number":236,"context_line":"    \"\"\""},{"line_number":237,"context_line":"    if line_number \u003d\u003d 1 and all(map(lambda line: line.startswith(\u0027#\u0027), lines)):"},{"line_number":238,"context_line":"        return (0, \"H104: File with only comments\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"@flake8ext"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAATn%2F%2BMm4%3D","line":238,"updated":"2013-11-29 10:29:42.000000000","message":"Maybe \"H104: File contains nothing but comments\"?","commit_id":"8aa4842c8f9511d8c79cc4743263ea618a248b5f"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"a4d46ea9eecc4234dc723fc290e4c8632c525943","unresolved":false,"context_lines":[{"line_number":235,"context_line":"    H104 empty file with only comments"},{"line_number":236,"context_line":"    \"\"\""},{"line_number":237,"context_line":"    if line_number \u003d\u003d 1 and all(map(lambda line: line.startswith(\u0027#\u0027), lines)):"},{"line_number":238,"context_line":"        return (0, \"H104: File with only comments\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"@flake8ext"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAATn%2F%2BMlA%3D","line":238,"in_reply_to":"AAAATn%2F%2BMm4%3D","updated":"2013-11-29 10:38:24.000000000","message":"Done","commit_id":"8aa4842c8f9511d8c79cc4743263ea618a248b5f"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"beb4acbc3b4bbf21ecbd81cd69a1fc73ccc1c781","unresolved":false,"context_lines":[{"line_number":235,"context_line":"    H104 empty file with only comments"},{"line_number":236,"context_line":"    \"\"\""},{"line_number":237,"context_line":"    if line_number \u003d\u003d 1 and all(map(lambda line: line.startswith(\u0027#\u0027), lines)):"},{"line_number":238,"context_line":"        return (0, \"H104: File contains nothing but comments\")"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"@flake8ext"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAATn%2F%2BLiI%3D","line":238,"updated":"2013-11-29 16:05:06.000000000","message":"this won\u0027t catch a file that has just comments and blank lines, it also won\u0027t catch one that only has comments, but put a space in front of #.\n\nI think you need to regex for both of those cases.","commit_id":"6ca42070eeb4295ee0865f145f7789b9cb37d187"},{"author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"change_message_id":"891b24444f512b56ef593588b2c3c98d37a13070","unresolved":false,"context_lines":[{"line_number":232,"context_line":""},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"@flake8ext"},{"line_number":235,"context_line":"def hacking_has_only_comments(physical_line, filename, lines, line_number):"},{"line_number":236,"context_line":"    \"\"\"Check for empty files with only comments"},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    H104 empty file with only comments"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAATn%2F9ogo%3D","line":235,"updated":"2013-12-09 14:15:19.000000000","message":"I don\u0027t think we need the filename, but we have the same issue in the function above, so ok","commit_id":"d4e830d1880ec72892f784a91f03ea69aa78b1f0"}],"hacking/tests/test_doctest.py":[{"author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"change_message_id":"891b24444f512b56ef593588b2c3c98d37a13070","unresolved":false,"context_lines":[{"line_number":67,"context_line":"def load_tests(loader, tests, pattern):"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    flake8_style \u003d engine.get_style_guide(parse_argv\u003dFalse,"},{"line_number":70,"context_line":"                                          ignore\u003d(\u0027F\u0027, \u0027H104\u0027))"},{"line_number":71,"context_line":"    options \u003d flake8_style.options"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    for name, check in hacking.core.__dict__.items():"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAATn%2F9ogI%3D","line":70,"updated":"2013-12-09 14:15:19.000000000","message":"why ignore this? A comment would be nice","commit_id":"d4e830d1880ec72892f784a91f03ea69aa78b1f0"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"69ca8606b95875a3dc6a5e5f171403c9af6f6466","unresolved":false,"context_lines":[{"line_number":67,"context_line":"def load_tests(loader, tests, pattern):"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    flake8_style \u003d engine.get_style_guide(parse_argv\u003dFalse,"},{"line_number":70,"context_line":"                                          ignore\u003d(\u0027F\u0027, \u0027H104\u0027))"},{"line_number":71,"context_line":"    options \u003d flake8_style.options"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    for name, check in hacking.core.__dict__.items():"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAATn%2F9oXo%3D","line":70,"in_reply_to":"AAAATn%2F9ogI%3D","updated":"2013-12-09 14:35:39.000000000","message":"Done","commit_id":"d4e830d1880ec72892f784a91f03ea69aa78b1f0"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"21544ef9eb34a038a8f5d830b5792a485d38c09d","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    flake8_style \u003d engine.get_style_guide(parse_argv\u003dFalse,"},{"line_number":70,"context_line":"                                          # Ignore H104 otherwise it\u0027s"},{"line_number":71,"context_line":"                                          # raised on doctests."},{"line_number":72,"context_line":"                                          ignore\u003d(\u0027F\u0027, \u0027H104\u0027))"},{"line_number":73,"context_line":"    options \u003d flake8_style.options"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAATn%2F9oWY%3D","line":71,"updated":"2013-12-09 14:39:08.000000000","message":"Thanks for good comment.","commit_id":"0ffdb453f3afa408863a0954ea5c63ecd6bf2cce"},{"author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"change_message_id":"70b616ed7d928470a03f28dbd8e2f9e67aade46f","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    flake8_style \u003d engine.get_style_guide(parse_argv\u003dFalse,"},{"line_number":70,"context_line":"                                          # Ignore H104 otherwise it\u0027s"},{"line_number":71,"context_line":"                                          # raised on doctests."},{"line_number":72,"context_line":"                                          ignore\u003d(\u0027F\u0027, \u0027H104\u0027))"},{"line_number":73,"context_line":"    options \u003d flake8_style.options"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAATn%2F9cZY%3D","line":71,"in_reply_to":"AAAATn%2F9oWY%3D","updated":"2013-12-11 13:42:44.000000000","message":"nit: I was looking for something like H104 was incorrectly raised on the doctests  because each doctest is treated as a separate file, and some have doctests are comments only","commit_id":"0ffdb453f3afa408863a0954ea5c63ecd6bf2cce"}]}
