pachadotdev edited a comment on pull request #10650:
URL: https://github.com/apache/arrow/pull/10650#issuecomment-882700364


   I'm unsure on how to push to a specific branch
   
https://github.com/pachadotdev/arrow/blob/patch-2/dev/archery/archery/crossbow/cli.py#L237-L257
   
   my idea:
   ```python
   file_path = temp.name
   # now commit and push the json contents
   branch_name = 'json-report' + job_name + datetime.utcnow()
   branch = self.create_branch(branch_name, file_path)
   return branch
   ```
   
   however, this won't work because
   ```bash
   $ archery lint --python --fix
   INFO:archery:Running Python formatter (autopep8)
   INFO:archery:Running Python linter (flake8)
   /home/pacha/github/arrow/dev/archery/archery/crossbow/cli.py:262:14: F821 
undefined name 'self'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to