)]}'
{"zuul/driver/gitea/giteaconnection.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5e46042d96ebbd3093a58cfa7b4607f6d8fddac6","unresolved":false,"context_lines":[{"line_number":477,"context_line":"        self.projects[project.name] \u003d project"},{"line_number":478,"context_line":""},{"line_number":479,"context_line":"    def getPullUrl(self, project: Project, number):"},{"line_number":480,"context_line":"        #TODO use API to be correct"},{"line_number":481,"context_line":"        return \u0027%s/pulls/%s\u0027 % (self.getGitwebUrl(project), number)"},{"line_number":482,"context_line":""},{"line_number":483,"context_line":"    def getGitwebUrl(self, project: Project, sha\u003dNone):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_e1e5550c","line":480,"updated":"2020-05-09 16:04:43.000000000","message":"linters: E265 block comment should start with \u0027# \u0027","commit_id":"fd4d1fb69f76ce28f409cff3d94324a4ff03cc84"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5e46042d96ebbd3093a58cfa7b4607f6d8fddac6","unresolved":false,"context_lines":[{"line_number":481,"context_line":"        return \u0027%s/pulls/%s\u0027 % (self.getGitwebUrl(project), number)"},{"line_number":482,"context_line":""},{"line_number":483,"context_line":"    def getGitwebUrl(self, project: Project, sha\u003dNone):"},{"line_number":484,"context_line":"        #TODO use API to be correct"},{"line_number":485,"context_line":"        url \u003d \u0027%s/%s\u0027 % (self.baseurl, project)"},{"line_number":486,"context_line":"        if sha is not None:"},{"line_number":487,"context_line":"            url +\u003d \u0027/commit/%s\u0027 % sha"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_c1e2d101","line":484,"updated":"2020-05-09 16:04:43.000000000","message":"linters: E265 block comment should start with \u0027# \u0027","commit_id":"fd4d1fb69f76ce28f409cff3d94324a4ff03cc84"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5e46042d96ebbd3093a58cfa7b4607f6d8fddac6","unresolved":false,"context_lines":[{"line_number":500,"context_line":"        return [branch.name for branch in branches]"},{"line_number":501,"context_line":""},{"line_number":502,"context_line":"    def getGitUrl(self, project: Project):"},{"line_number":503,"context_line":"        #TODO use API (https_url or ssh_url) to be correct"},{"line_number":504,"context_line":"        return \u0027%s/%s\u0027 % (self.cloneurl, project.name)"},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"    def getChange(self, event, refresh\u003dFalse):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_21f0edc9","line":503,"updated":"2020-05-09 16:04:43.000000000","message":"linters: E265 block comment should start with \u0027# \u0027","commit_id":"fd4d1fb69f76ce28f409cff3d94324a4ff03cc84"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5e46042d96ebbd3093a58cfa7b4607f6d8fddac6","unresolved":false,"context_lines":[{"line_number":564,"context_line":"        # gitea \u003d self.get_project_api_client(change.project.name)"},{"line_number":565,"context_line":"        # flag \u003d gitea.get_pr_flags(change.number, last\u003dTrue)"},{"line_number":566,"context_line":"        # return True if flag.get(\u0027status\u0027, \u0027\u0027) \u003d\u003d \u0027success\u0027 else False"},{"line_number":567,"context_line":"        # TODO(veecue) figure out how to do this (maybe need to get commit hash and then commit status)"},{"line_number":568,"context_line":"        return True"},{"line_number":569,"context_line":""},{"line_number":570,"context_line":"    def canMerge(self, change, allow_needs, event\u003dNone):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_01ede9ee","line":567,"updated":"2020-05-09 16:04:43.000000000","message":"linters: E501 line too long (103 \u003e 79 characters)","commit_id":"fd4d1fb69f76ce28f409cff3d94324a4ff03cc84"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5e46042d96ebbd3093a58cfa7b4607f6d8fddac6","unresolved":false,"context_lines":[{"line_number":589,"context_line":"        #    \u0027flag: %s threshold: %s\u0027, change.project.name, change.number,"},{"line_number":590,"context_line":"        #    mergeable, ci_flag, threshold)"},{"line_number":591,"context_line":""},{"line_number":592,"context_line":"        can_merge \u003d mergeable and ci_flag # and threshold"},{"line_number":593,"context_line":""},{"line_number":594,"context_line":"        log.info(\u0027Check PR %s#%s mergeability can_merge: %s\u0027,"},{"line_number":595,"context_line":"                 change.project.name, change.number, can_merge)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_61bb05e5","line":592,"updated":"2020-05-09 16:04:43.000000000","message":"linters: E261 at least two spaces before inline comment","commit_id":"fd4d1fb69f76ce28f409cff3d94324a4ff03cc84"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5e46042d96ebbd3093a58cfa7b4607f6d8fddac6","unresolved":false,"context_lines":[{"line_number":642,"context_line":"        owner, repo \u003d projectToOwnerAndName(project)"},{"line_number":643,"context_line":"        api.issue_create_comment(owner, repo, number,"},{"line_number":644,"context_line":"                                 body\u003dgiteapy.CreateIssueCommentOption("},{"line_number":645,"context_line":"                                    body\u003dmessage"},{"line_number":646,"context_line":"                                ))"},{"line_number":647,"context_line":"        self.log.info(\"Commented on PR %s#%s\", project, number)"},{"line_number":648,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_41c08151","line":645,"updated":"2020-05-09 16:04:43.000000000","message":"linters: E121 continuation line under-indented for hanging indent","commit_id":"fd4d1fb69f76ce28f409cff3d94324a4ff03cc84"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5e46042d96ebbd3093a58cfa7b4607f6d8fddac6","unresolved":false,"context_lines":[{"line_number":643,"context_line":"        api.issue_create_comment(owner, repo, number,"},{"line_number":644,"context_line":"                                 body\u003dgiteapy.CreateIssueCommentOption("},{"line_number":645,"context_line":"                                    body\u003dmessage"},{"line_number":646,"context_line":"                                ))"},{"line_number":647,"context_line":"        self.log.info(\"Commented on PR %s#%s\", project, number)"},{"line_number":648,"context_line":""},{"line_number":649,"context_line":"    def setCommitStatus(self, project: Project, number, state, url\u003d\u0027\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_a1b51df1","line":646,"updated":"2020-05-09 16:04:43.000000000","message":"linters: E122 continuation line missing indentation or outdented","commit_id":"fd4d1fb69f76ce28f409cff3d94324a4ff03cc84"}]}
