From 936e412b17ad804caef3867aa70256680e51eb1f Mon Sep 17 00:00:00 2001 From: brandon-b-miller Date: Fri, 31 May 2024 09:09:24 -0700 Subject: [PATCH] style --- .../cudf/cudf/_lib/pylibcudf/libcudf/strings/regex_flags.pxd | 3 ++- python/cudf/cudf/_lib/pylibcudf/strings/regex_flags.pyx | 3 ++- python/cudf/cudf/_lib/pylibcudf/strings/regex_program.pxd | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python/cudf/cudf/_lib/pylibcudf/libcudf/strings/regex_flags.pxd b/python/cudf/cudf/_lib/pylibcudf/libcudf/strings/regex_flags.pxd index e91ca8459fa..41617f157b7 100644 --- a/python/cudf/cudf/_lib/pylibcudf/libcudf/strings/regex_flags.pxd +++ b/python/cudf/cudf/_lib/pylibcudf/libcudf/strings/regex_flags.pxd @@ -1,7 +1,8 @@ -# Copyright (c) 2022, NVIDIA CORPORATION. +# Copyright (c) 2022-2024, NVIDIA CORPORATION. from libc.stdint cimport int32_t + cdef extern from "cudf/strings/regex/flags.hpp" \ namespace "cudf::strings" nogil: diff --git a/python/cudf/cudf/_lib/pylibcudf/strings/regex_flags.pyx b/python/cudf/cudf/_lib/pylibcudf/strings/regex_flags.pyx index a56f39053ad..903c2ddd503 100644 --- a/python/cudf/cudf/_lib/pylibcudf/strings/regex_flags.pyx +++ b/python/cudf/cudf/_lib/pylibcudf/strings/regex_flags.pyx @@ -1,3 +1,4 @@ # Copyright (c) 2024, NVIDIA CORPORATION. -from cudf._lib.pylibcudf.libcudf.strings.regex_flags import regex_flags as RegexFlags # no-cython-lint +from cudf._lib.pylibcudf.libcudf.strings.regex_flags import \ + regex_flags as RegexFlags # no-cython-lint diff --git a/python/cudf/cudf/_lib/pylibcudf/strings/regex_program.pxd b/python/cudf/cudf/_lib/pylibcudf/strings/regex_program.pxd index 636ffe1e644..61ed268fb2d 100644 --- a/python/cudf/cudf/_lib/pylibcudf/strings/regex_program.pxd +++ b/python/cudf/cudf/_lib/pylibcudf/strings/regex_program.pxd @@ -1,8 +1,10 @@ # Copyright (c) 2024, NVIDIA CORPORATION. -from libcpp.string cimport string from libcpp.memory cimport unique_ptr +from libcpp.string cimport string + from cudf._lib.pylibcudf.libcudf.strings.regex_program cimport regex_program + cdef class RegexProgram: cdef unique_ptr[regex_program] c_obj