Skip to content

Commit

Permalink
Revert "fix python lint"
Browse files Browse the repository at this point in the history
This reverts commit 7af662e.
  • Loading branch information
assignUser committed Aug 5, 2022
1 parent 4f140c0 commit ce088a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions python/pyarrow/parquet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ def _check_filters(filters, check_null_strings=True):
return filters


_DNF_filter_doc = """Predicates are expressed in disjunctive normal form (DNF),
like ``[[('x', '=', 0), ...], ...]``. DNF allows arbitrary boolean logical
_DNF_filter_doc = """Predicates are expressed in disjunctive normal form (DNF), like
``[[('x', '=', 0), ...], ...]``. DNF allows arbitrary boolean logical
combinations of single column predicates. The innermost tuples each
describe a single column predicate. The list of inner predicates is
interpreted as a conjunction (AND), forming a more selective and multiple
column predicate. Finally, the most outer list combines these filters as a
disjunction (OR).
interpreted as a conjunction (AND), forming a more selective and
multiple column predicate. Finally, the most outer list combines these
filters as a disjunction (OR).
Predicates may also be passed as List[Tuple]. This form is interpreted
as a single conjunction. To express OR in predicates, one must
Expand Down
3 changes: 1 addition & 2 deletions python/pyarrow/tests/parquet/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@


class InMemoryKmsClient(pe.KmsClient):
"""This is a mock class implementation of KmsClient, built for testing
only.
"""This is a mock class implementation of KmsClient, built for testing only.
"""

def __init__(self, config):
Expand Down
4 changes: 2 additions & 2 deletions python/pyarrow/tests/test_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,8 @@ def run(self):
connection.close()

def get_result(self):
return (self._schema, self._table if self._do_read_all
else self._batches)
return(self._schema, self._table if self._do_read_all
else self._batches)


class SocketStreamFixture(IpcFixture):
Expand Down

0 comments on commit ce088a4

Please sign in to comment.