{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/17280","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/17280/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/17280/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/17280/events","html_url":"https://github.com/grpc/grpc/pull/17280","id":383320287,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyODE4MTU1","number":17280,"title":"Rely on YAPF formatting and remove indent checking of Pylint","user":{"login":"lidizheng","id":7394928,"node_id":"MDQ6VXNlcjczOTQ5Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/7394928?v=4","gravatar_id":"","url":"https://api.github.com/users/lidizheng","html_url":"https://github.com/lidizheng","followers_url":"https://api.github.com/users/lidizheng/followers","following_url":"https://api.github.com/users/lidizheng/following{/other_user}","gists_url":"https://api.github.com/users/lidizheng/gists{/gist_id}","starred_url":"https://api.github.com/users/lidizheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidizheng/subscriptions","organizations_url":"https://api.github.com/users/lidizheng/orgs","repos_url":"https://api.github.com/users/lidizheng/repos","events_url":"https://api.github.com/users/lidizheng/events{/privacy}","received_events_url":"https://api.github.com/users/lidizheng/received_events","type":"User","site_admin":false},"labels":[{"id":155504844,"node_id":"MDU6TGFiZWwxNTU1MDQ4NDQ=","url":"https://api.github.com/repos/grpc/grpc/labels/kind/enhancement","name":"kind/enhancement","color":"93732c","default":false},{"id":168238186,"node_id":"MDU6TGFiZWwxNjgyMzgxODY=","url":"https://api.github.com/repos/grpc/grpc/labels/lang/Python","name":"lang/Python","color":"fad8c7","default":false},{"id":961832073,"node_id":"MDU6TGFiZWw5NjE4MzIwNzM=","url":"https://api.github.com/repos/grpc/grpc/labels/release%20notes:%20no","name":"release notes: no","color":"0f5f75","default":false}],"state":"open","locked":false,"assignee":{"login":"ericgribkoff","id":5067076,"node_id":"MDQ6VXNlcjUwNjcwNzY=","avatar_url":"https://avatars2.githubusercontent.com/u/5067076?v=4","gravatar_id":"","url":"https://api.github.com/users/ericgribkoff","html_url":"https://github.com/ericgribkoff","followers_url":"https://api.github.com/users/ericgribkoff/followers","following_url":"https://api.github.com/users/ericgribkoff/following{/other_user}","gists_url":"https://api.github.com/users/ericgribkoff/gists{/gist_id}","starred_url":"https://api.github.com/users/ericgribkoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericgribkoff/subscriptions","organizations_url":"https://api.github.com/users/ericgribkoff/orgs","repos_url":"https://api.github.com/users/ericgribkoff/repos","events_url":"https://api.github.com/users/ericgribkoff/events{/privacy}","received_events_url":"https://api.github.com/users/ericgribkoff/received_events","type":"User","site_admin":false},"assignees":[{"login":"ericgribkoff","id":5067076,"node_id":"MDQ6VXNlcjUwNjcwNzY=","avatar_url":"https://avatars2.githubusercontent.com/u/5067076?v=4","gravatar_id":"","url":"https://api.github.com/users/ericgribkoff","html_url":"https://github.com/ericgribkoff","followers_url":"https://api.github.com/users/ericgribkoff/followers","following_url":"https://api.github.com/users/ericgribkoff/following{/other_user}","gists_url":"https://api.github.com/users/ericgribkoff/gists{/gist_id}","starred_url":"https://api.github.com/users/ericgribkoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericgribkoff/subscriptions","organizations_url":"https://api.github.com/users/ericgribkoff/orgs","repos_url":"https://api.github.com/users/ericgribkoff/repos","events_url":"https://api.github.com/users/ericgribkoff/events{/privacy}","received_events_url":"https://api.github.com/users/ericgribkoff/received_events","type":"User","site_admin":false},{"login":"lidizheng","id":7394928,"node_id":"MDQ6VXNlcjczOTQ5Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/7394928?v=4","gravatar_id":"","url":"https://api.github.com/users/lidizheng","html_url":"https://github.com/lidizheng","followers_url":"https://api.github.com/users/lidizheng/followers","following_url":"https://api.github.com/users/lidizheng/following{/other_user}","gists_url":"https://api.github.com/users/lidizheng/gists{/gist_id}","starred_url":"https://api.github.com/users/lidizheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidizheng/subscriptions","organizations_url":"https://api.github.com/users/lidizheng/orgs","repos_url":"https://api.github.com/users/lidizheng/repos","events_url":"https://api.github.com/users/lidizheng/events{/privacy}","received_events_url":"https://api.github.com/users/lidizheng/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-11-21T22:57:18Z","updated_at":"2018-11-22T05:43:03Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/grpc/grpc/pulls/17280","html_url":"https://github.com/grpc/grpc/pull/17280","diff_url":"https://github.com/grpc/grpc/pull/17280.diff","patch_url":"https://github.com/grpc/grpc/pull/17280.patch"},"body":"There was a long-live bug in Pylint when it encounters complicated Python `with` statement, see [details](https://github.com/grpc/grpc/issues/15768#issuecomment-433220091). With the introduction of `Channel.close()`, developers of gRPC Python are expected to use the `with` statement more frequently. \r\n\r\nSo, in this PR, I disabled the indent checking of Pylint. It won't affect format checking because `YAPF` is still guarding the format of Python code, and it still keeps the Pylint ability of running grammar checks.\r\n\r\nAlso, I added the examples into the check list of Pylint, for https://github.com/grpc/grpc/issues/15768."},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/440919176","html_url":"https://github.com/grpc/grpc/pull/17280#issuecomment-440919176","issue_url":"https://api.github.com/repos/grpc/grpc/issues/17280","id":440919176,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDkxOTE3Ng==","user":{"login":"grpc-testing","id":28024233,"node_id":"MDQ6VXNlcjI4MDI0MjMz","avatar_url":"https://avatars1.githubusercontent.com/u/28024233?v=4","gravatar_id":"","url":"https://api.github.com/users/grpc-testing","html_url":"https://github.com/grpc-testing","followers_url":"https://api.github.com/users/grpc-testing/followers","following_url":"https://api.github.com/users/grpc-testing/following{/other_user}","gists_url":"https://api.github.com/users/grpc-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc-testing/subscriptions","organizations_url":"https://api.github.com/users/grpc-testing/orgs","repos_url":"https://api.github.com/users/grpc-testing/repos","events_url":"https://api.github.com/users/grpc-testing/events{/privacy}","received_events_url":"https://api.github.com/users/grpc-testing/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T05:43:03Z","updated_at":"2018-11-22T05:43:03Z","author_association":"NONE","body":"```\nCorrupt JSON data (indicates timeout or crash): \n    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10\n    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10\n\n\n[microbenchmarks] No significant performance differences\n```"}}
{"actor":{"display_login":"grpc-testing"}}