kou opened a new pull request, #46552:
URL: https://github.com/apache/arrow/pull/46552

   ### Rationale for this change
   
   We want to migrate to pre-commit from `archery lint`.
   
   ### What changes are included in this PR?
   
   Use pre-commit for `autoepep8`.
   
   The current `archery lint` configuration limits only the following patterns:
   
   
https://github.com/apache/arrow/blob/197afc02026d6ded3c45f25dcee15a94294cc5ca/dev/archery/archery/utils/lint.py#L190-L198
   
   ```python
       patterns = ["python/benchmarks/**/*.py",
                   "python/examples/**/*.py",
                   "python/pyarrow/**/*.py",
                   "python/pyarrow/**/*.pyx",
                   "python/pyarrow/**/*.pxd",
                   "python/pyarrow/**/*.pxi",
                   "dev/*.py",
                   "dev/archery/**/*.py",
                   "dev/release/**/*.py"]
   ```
   
   But this configuration targets all Python and Cython files under `c_glib/`, 
`dev/` and python/` except `python/pyarrow/vendored/**`.
   
   So this includes format fixes. 
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   No.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to