Skip to content

Commit

Permalink
Try to make isort and flake8 both happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Aug 11, 2020
1 parent 113e679 commit ecf870b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ucp/_libs/utils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@


from cpython.memoryview cimport PyMemoryView_GET_BUFFER
from cython cimport boundscheck, wraparound
from libc.stdint cimport uintptr_t
cimport cython


cpdef uintptr_t get_buffer_data(buffer, bint check_writable=False) except *:
Expand Down Expand Up @@ -37,8 +37,8 @@ cpdef uintptr_t get_buffer_data(buffer, bint check_writable=False) except *:
return data_ptr


@cython.boundscheck(False)
@cython.wraparound(False)
@boundscheck(False)
@wraparound(False)
cpdef Py_ssize_t get_buffer_nbytes(buffer, check_min_size, bint cuda_support) except *:
"""
Returns the size of the buffer in bytes. Returns ValueError
Expand Down

0 comments on commit ecf870b

Please sign in to comment.