pitrou commented on code in PR #13778:
URL: https://github.com/apache/arrow/pull/13778#discussion_r935901375
##########
dev/archery/archery/utils/command.py:
##########
@@ -24,7 +24,7 @@
def default_bin(name, default):
- assert(default)
+ assert (default)
Review Comment:
```suggestion
assert default
```
##########
python/pyarrow/tests/parquet/test_encryption.py:
##########
@@ -109,7 +109,7 @@ def write_encrypted_parquet(path, table, encryption_config,
kms_connection_config, crypto_factory):
file_encryption_properties = crypto_factory.file_encryption_properties(
kms_connection_config, encryption_config)
- assert(file_encryption_properties is not None)
+ assert (file_encryption_properties is not None)
Review Comment:
No need for parentheses around assert statements. Can you make the change in
other instances below as well?
```suggestion
assert file_encryption_properties is not None
```
--
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]