Skip to content

Commit ce088a4

Browse files
committed
Revert "fix python lint"
This reverts commit 7af662ec7128bf70e08b461cf2fab4dcdbf22217.
1 parent 4f140c0 commit ce088a4

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

‎python/pyarrow/parquet/__init__.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ def _check_filters(filters, check_null_strings=True):
109109
return filters
110110

111111

112-
_DNF_filter_doc = """Predicates are expressed in disjunctive normal form (DNF),
113-
like ``[[('x', '=', 0), ...], ...]``. DNF allows arbitrary boolean logical
112+
_DNF_filter_doc = """Predicates are expressed in disjunctive normal form (DNF), like
113+
``[[('x', '=', 0), ...], ...]``. DNF allows arbitrary boolean logical
114114
combinations of single column predicates. The innermost tuples each
115115
describe a single column predicate. The list of inner predicates is
116-
interpreted as a conjunction (AND), forming a more selective and multiple
117-
column predicate. Finally, the most outer list combines these filters as a
118-
disjunction (OR).
116+
interpreted as a conjunction (AND), forming a more selective and
117+
multiple column predicate. Finally, the most outer list combines these
118+
filters as a disjunction (OR).
119119
120120
Predicates may also be passed as List[Tuple]. This form is interpreted
121121
as a single conjunction. To express OR in predicates, one must

‎python/pyarrow/tests/parquet/encryption.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121

2222
class InMemoryKmsClient(pe.KmsClient):
23-
"""This is a mock class implementation of KmsClient, built for testing
24-
only.
23+
"""This is a mock class implementation of KmsClient, built for testing only.
2524
"""
2625

2726
def __init__(self, config):

‎python/pyarrow/tests/test_ipc.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,8 @@ def run(self):
848848
connection.close()
849849

850850
def get_result(self):
851-
return (self._schema, self._table if self._do_read_all
852-
else self._batches)
851+
return(self._schema, self._table if self._do_read_all
852+
else self._batches)
853853

854854

855855
class SocketStreamFixture(IpcFixture):

0 commit comments

Comments
 (0)