raulcd commented on PR #46837: URL: https://github.com/apache/arrow/pull/46837#issuecomment-2983131737
We use [pre-commit](https://pre-commit.com/). As the error suggests you can try: ``` If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/python/pyarrow/_azurefs.pyx b/python/pyarrow/_azurefs.pyx index d5d0660f7f..2131824b85 100644 --- a/python/pyarrow/_azurefs.pyx +++ b/python/pyarrow/_azurefs.pyx @@ -122,7 +122,8 @@ cdef class AzureFileSystem(FileSystem): if (tenant_id or client_id or client_secret): if not (tenant_id and client_id and client_secret): - raise ValueError("All of tenant_id, client_id, and client_secret must be provided for ClientSecretCredential.") + raise ValueError( + "All of tenant_id, client_id, and client_secret must be provided for ClientSecretCredential.") options.ConfigureClientSecretCredential( tobytes(tenant_id), tobytes(client_id), tobytes(client_secret) ) ``` There seems to be some line length issues too: ``` Python Format............................................................Failed - hook id: autopep8 - files were modified by this hook Python Lint..............................................................Failed - hook id: flake8 - exit code: 1 python/pyarrow/tests/test_fs.py:1488:89: E501 line too long (108 > 88 characters) python/pyarrow/tests/test_fs.py:1495:89: E501 line too long (108 > 88 characters) python/pyarrow/tests/test_fs.py:1502:89: E501 line too long (108 > 88 characters) ``` -- 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]
