Skip to content

remove trailing whitespaces #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ptests:
clean:
cd test && make clean
cd examples && make clean

build-clean: clean
rm -rf build
rm -rf src/pnetcdf.egg-info/
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
exclude = name in exclusions
# return True if (skip or exclude) else None # Can interfere with subsequent skip functions.
return True if exclude else None

def setup(app):
app.connect('autodoc-skip-member', autodoc_skip_member)
4 changes: 2 additions & 2 deletions include/PnetCDF.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ cdef extern from "pnetcdf.h":
int ncmpi_iget_varm(int ncid, int varid, const MPI_Offset start[], const MPI_Offset count[], const MPI_Offset stride[], \
const MPI_Offset imap[], void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil
int ncmpi_iget_varm(int ncid, int varid, const MPI_Offset start[], const MPI_Offset count[], const MPI_Offset stride[], \
const MPI_Offset imap[], void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil
const MPI_Offset imap[], void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil
int ncmpi_iget_varn(int ncid, int varid, int num, MPI_Offset* const starts[], MPI_Offset* const counts[],\
void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil

Expand All @@ -309,7 +309,7 @@ cdef extern from "pnetcdf.h":
int ncmpi_inq_var_fill(int ncid, int varid, int *no_fill, void *fill_value) nogil
# taken from numpy.pxi in numpy 1.0rc2.
cdef extern from "numpy/arrayobject.h":
ctypedef int npy_intp
ctypedef int npy_intp
ctypedef extern class numpy.ndarray [object PyArrayObject]:
pass
npy_intp PyArray_SIZE(ndarray arr) nogil
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
pnc_config = config.get("options", "pnetcdf_config")
HAS_PNCCONFIG = subprocess.call([pnc_config, '--libs'],
stdout=subprocess.PIPE) == 0
except: # TODO:Specify what type of error
except: # TODO:Specify what type of error
HAS_PNCCONFIG = False


Expand Down
4 changes: 2 additions & 2 deletions src/pnetcdf/_Dimension.pxd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###############################################################################
#
#
# Copyright (C) 2024, Northwestern University and Argonne National Laboratory
# See COPYRIGHT notice in top-level directory.
#
#
###############################################################################

from ._File cimport File
Expand Down
6 changes: 3 additions & 3 deletions src/pnetcdf/_Dimension.pyx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###############################################################################
#
#
# Copyright (C) 2024, Northwestern University and Argonne National Laboratory
# See COPYRIGHT notice in top-level directory.
#
#
###############################################################################

from ._File cimport File
Expand Down Expand Up @@ -112,7 +112,7 @@ cdef class Dimension:
isunlimited(self)

Returns `True` if the ``Dimension`` instance is unlimited, ``False`` otherwise.

:rtype: bool
"""
cdef int ierr, n, numunlimdims, ndims, nvars, ngatts, xdimid
Expand Down
4 changes: 2 additions & 2 deletions src/pnetcdf/_File.pxd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###############################################################################
#
#
# Copyright (C) 2024, Northwestern University and Argonne National Laboratory
# See COPYRIGHT notice in top-level directory.
#
#
###############################################################################

from ._Dimension cimport Dimension
Expand Down
Loading
Loading