Skip to content

Commit 376fa67

Browse files
authored
Merge pull request #35 from wkliao/white_space
remove trailing whitespaces
2 parents 85b7304 + 858c6ad commit 376fa67

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+797
-797
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ptests:
1414
clean:
1515
cd test && make clean
1616
cd examples && make clean
17-
17+
1818
build-clean: clean
1919
rm -rf build
2020
rm -rf src/pnetcdf.egg-info/

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
5454
exclude = name in exclusions
5555
# return True if (skip or exclude) else None # Can interfere with subsequent skip functions.
5656
return True if exclude else None
57-
57+
5858
def setup(app):
5959
app.connect('autodoc-skip-member', autodoc_skip_member)

include/PnetCDF.pxi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ cdef extern from "pnetcdf.h":
289289
int ncmpi_iget_varm(int ncid, int varid, const MPI_Offset start[], const MPI_Offset count[], const MPI_Offset stride[], \
290290
const MPI_Offset imap[], void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil
291291
int ncmpi_iget_varm(int ncid, int varid, const MPI_Offset start[], const MPI_Offset count[], const MPI_Offset stride[], \
292-
const MPI_Offset imap[], void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil
292+
const MPI_Offset imap[], void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil
293293
int ncmpi_iget_varn(int ncid, int varid, int num, MPI_Offset* const starts[], MPI_Offset* const counts[],\
294294
void *buf, MPI_Offset bufcount, MPI_Datatype buftype, int *request) nogil
295295

@@ -309,7 +309,7 @@ cdef extern from "pnetcdf.h":
309309
int ncmpi_inq_var_fill(int ncid, int varid, int *no_fill, void *fill_value) nogil
310310
# taken from numpy.pxi in numpy 1.0rc2.
311311
cdef extern from "numpy/arrayobject.h":
312-
ctypedef int npy_intp
312+
ctypedef int npy_intp
313313
ctypedef extern class numpy.ndarray [object PyArrayObject]:
314314
pass
315315
npy_intp PyArray_SIZE(ndarray arr) nogil

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
pnc_config = config.get("options", "pnetcdf_config")
4343
HAS_PNCCONFIG = subprocess.call([pnc_config, '--libs'],
4444
stdout=subprocess.PIPE) == 0
45-
except: # TODO:Specify what type of error
45+
except: # TODO:Specify what type of error
4646
HAS_PNCCONFIG = False
4747

4848

src/pnetcdf/_Dimension.pxd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
###############################################################################
2-
#
2+
#
33
# Copyright (C) 2024, Northwestern University and Argonne National Laboratory
44
# See COPYRIGHT notice in top-level directory.
5-
#
5+
#
66
###############################################################################
77

88
from ._File cimport File

src/pnetcdf/_Dimension.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
###############################################################################
2-
#
2+
#
33
# Copyright (C) 2024, Northwestern University and Argonne National Laboratory
44
# See COPYRIGHT notice in top-level directory.
5-
#
5+
#
66
###############################################################################
77

88
from ._File cimport File
@@ -112,7 +112,7 @@ cdef class Dimension:
112112
isunlimited(self)
113113
114114
Returns `True` if the ``Dimension`` instance is unlimited, ``False`` otherwise.
115-
115+
116116
:rtype: bool
117117
"""
118118
cdef int ierr, n, numunlimdims, ndims, nvars, ngatts, xdimid

src/pnetcdf/_File.pxd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
###############################################################################
2-
#
2+
#
33
# Copyright (C) 2024, Northwestern University and Argonne National Laboratory
44
# See COPYRIGHT notice in top-level directory.
5-
#
5+
#
66
###############################################################################
77

88
from ._Dimension cimport Dimension

0 commit comments

Comments
 (0)