Skip to content

Commit decb34d

Browse files
committed
Format-Lint
1 parent eb25c94 commit decb34d

3 files changed

Lines changed: 5 additions & 12 deletions

File tree

cpp/src/arrow/ipc/feather.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ class ARROW_EXPORT Reader {
6767
/// \param[in] source a RandomAccessFile instance
6868
/// \return the table reader
6969
/// \deprecated Deprecated in 25.0.0. Use arrow::ipc::RecordBatchFileReader instead.
70-
ARROW_DEPRECATED(
71-
"Deprecated in 25.0.0. Use arrow::ipc::RecordBatchFileReader instead.")
70+
ARROW_DEPRECATED("Deprecated in 25.0.0. Use arrow::ipc::RecordBatchFileReader instead.")
7271
static Result<std::shared_ptr<Reader>> Open(
7372
const std::shared_ptr<io::RandomAccessFile>& source);
7473

@@ -79,8 +78,7 @@ class ARROW_EXPORT Reader {
7978
/// \param[in] options IPC Read options
8079
/// \return the table reader
8180
/// \deprecated Deprecated in 25.0.0. Use arrow::ipc::RecordBatchFileReader instead.
82-
ARROW_DEPRECATED(
83-
"Deprecated in 25.0.0. Use arrow::ipc::RecordBatchFileReader instead.")
81+
ARROW_DEPRECATED("Deprecated in 25.0.0. Use arrow::ipc::RecordBatchFileReader instead.")
8482
static Result<std::shared_ptr<Reader>> Open(
8583
const std::shared_ptr<io::RandomAccessFile>& source, const IpcReadOptions& options);
8684

@@ -117,9 +115,6 @@ class ARROW_EXPORT Reader {
117115
std::shared_ptr<Table>* out) = 0;
118116
};
119117

120-
/// \struct WriteProperties
121-
/// \brief Options for writing Feather files
122-
///
123118
/// \note Deprecated in 25.0.0. Feather V2 is the Arrow IPC file format;
124119
/// use arrow::ipc::MakeFileWriter with arrow::ipc::IpcWriteOptions instead.
125120
struct ARROW_EXPORT WriteProperties {
@@ -156,8 +151,6 @@ struct ARROW_EXPORT WriteProperties {
156151
int compression_level = ::arrow::util::kUseDefaultCompressionLevel;
157152
};
158153

159-
/// \brief Write a Table to a Feather file
160-
///
161154
/// \deprecated Deprecated in 25.0.0. Feather V2 is the Arrow IPC file format;
162155
/// use arrow::ipc::MakeFileWriter instead.
163156
ARROW_DEPRECATED("Deprecated in 25.0.0. Use arrow::ipc::MakeFileWriter instead.")

python/pyarrow/includes/libarrow_feather.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ from pyarrow.includes.libarrow cimport (CCompressionType, CStatus, CTable,
2424

2525

2626
# NOTE: these feather C++ APIs are deprecated. Pyarrow still binds them,
27-
# the user-facing FutureWarning lives in pyarrow/feather.py (GH-49232).
27+
# the user-facing FutureWarning is in pyarrow/feather.py (GH-49232)
2828
cdef extern from "arrow/ipc/api.h" namespace "arrow::ipc" nogil:
2929
int kFeatherV1Version" arrow::ipc::feather::kFeatherV1Version"
3030
int kFeatherV2Version" arrow::ipc::feather::kFeatherV2Version"

r/src/feather.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ std::shared_ptr<arrow::Table> ipc___feather___Reader__Read(
8484
// [[arrow::export]]
8585
std::shared_ptr<arrow::ipc::feather::Reader> ipc___feather___Reader__Open(
8686
const std::shared_ptr<arrow::io::RandomAccessFile>& stream) {
87-
auto result = RunWithCapturedRIfPossible<std::shared_ptr<arrow::ipc::feather::Reader>>(
88-
[&]() {
87+
auto result =
88+
RunWithCapturedRIfPossible<std::shared_ptr<arrow::ipc::feather::Reader>>([&]() {
8989
ARROW_SUPPRESS_DEPRECATION_WARNING
9090
return arrow::ipc::feather::Reader::Open(stream);
9191
ARROW_UNSUPPRESS_DEPRECATION_WARNING

0 commit comments

Comments
 (0)