kou opened a new pull request, #46581: URL: https://github.com/apache/arrow/pull/46581
### 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 lintr against `r/`. This doesn't use https://github.com/lorenzwalthert/precommit because it doesn't include cyclocomp that we need. ### 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