raulcd commented on code in PR #46552: URL: https://github.com/apache/arrow/pull/46552#discussion_r2104179243
########## .pre-commit-config.yaml: ########## @@ -121,6 +110,43 @@ repos: alias: matlab-cpp-format files: >- ^matlab/src/cpp/ + - repo: https://github.com/hhatto/autopep8 + rev: v2.3.2 + hooks: + - id: autopep8 + name: Python Format + alias: python-format + args: + - "--global-config" + - "python/setup.cfg" + - "--ignore-local-config" + - "--in-place" Review Comment: should we use `--diff` instead of `--in-place`? > -d, --diff print the diff for the fixed source > -i, --in-place make changes to files in place ```suggestion - "--diff" ``` -- 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