)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7102,"name":"Thomas Bechtold","email":"thomas.bechtold@chainguard.dev","username":"toabctl"},"change_message_id":"a50cc88fa0e70bbd0ec0294e911d66d5c8f1ae00","unresolved":false,"context_lines":[{"line_number":14,"context_line":"implicitly, this upsets pylint."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"pylint is quite inflexible in the way it handles"},{"line_number":17,"context_line":"ignores in code. We can add ignore statements all"},{"line_number":18,"context_line":"over the test code, but that is quite infeasible."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"So, this change lets us run pylint separately"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9fdfeff1_2d53763b","line":17,"updated":"2019-02-25 06:59:41.000000000","message":"maybe we should just not run pylint at all ;)","commit_id":"e3199dc4cb0e63e09bc40878e997be46391b680e"}],"tools/coding-checks.sh":[{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"f0460fba037fd09bb9d7f71e3af08951efdfb9a8","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        test_files\u003d$(git diff --name-only --diff-filter\u003dACMRU HEAD~1 \u0027manila/tests/*.py\u0027)"},{"line_number":40,"context_line":"    fi"},{"line_number":41,"context_line":"    if [[ -z \"${files}\" || -z \"${test_files}\" ]]; then"},{"line_number":42,"context_line":"        echo \"No python changes in this commit, pylint check not required.\""},{"line_number":43,"context_line":"        exit 0"},{"line_number":44,"context_line":"    fi"},{"line_number":45,"context_line":"    if [[ -n \"${files}\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":1,"id":"9fdfeff1_5303c642","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":74},"updated":"2019-02-27 07:18:46.000000000","message":"Maybe this requires a separate commit, but I think we need an option to run pylint on a specific file or directory EVEN IF nothing changed / the changes have not been committed / been committed locally (maybe pass an additional flag?).\nThis can be be very useful during the development phase.","commit_id":"e3199dc4cb0e63e09bc40878e997be46391b680e"},{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"8e2f9fad7e3ff50028ed0d0381aba7569c73dcd5","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        test_files\u003d$(git diff --name-only --diff-filter\u003dACMRU HEAD~1 \u0027manila/tests/*.py\u0027)"},{"line_number":40,"context_line":"    fi"},{"line_number":41,"context_line":"    if [[ -z \"${files}\" || -z \"${test_files}\" ]]; then"},{"line_number":42,"context_line":"        echo \"No python changes in this commit, pylint check not required.\""},{"line_number":43,"context_line":"        exit 0"},{"line_number":44,"context_line":"    fi"},{"line_number":45,"context_line":"    if [[ -n \"${files}\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":1,"id":"9fdfeff1_2f51d7d9","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":74},"in_reply_to":"9fdfeff1_2c4ecf6e","updated":"2019-02-28 07:58:17.000000000","message":"This sounds good. Do you think this should come along with an additional flag (e.g. --ignore-on-no-changes)? A regex is even better than what I had in mind :) I was thinking of just passing a list of filenames / directories.","commit_id":"e3199dc4cb0e63e09bc40878e997be46391b680e"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"4abadec4f9a55f32742f73164645a12c0ca500f5","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        test_files\u003d$(git diff --name-only --diff-filter\u003dACMRU HEAD~1 \u0027manila/tests/*.py\u0027)"},{"line_number":40,"context_line":"    fi"},{"line_number":41,"context_line":"    if [[ -z \"${files}\" || -z \"${test_files}\" ]]; then"},{"line_number":42,"context_line":"        echo \"No python changes in this commit, pylint check not required.\""},{"line_number":43,"context_line":"        exit 0"},{"line_number":44,"context_line":"    fi"},{"line_number":45,"context_line":"    if [[ -n \"${files}\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":1,"id":"9fdfeff1_2c4ecf6e","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":74},"in_reply_to":"9fdfeff1_5303c642","updated":"2019-02-27 20:27:27.000000000","message":"Agree, maybe we can enhance this script to make the {postargs} ($target here) accept a path regex to run stuff with, besides \"all\", right now it just ignores everything else... what do you think?","commit_id":"e3199dc4cb0e63e09bc40878e997be46391b680e"}]}
