Skip to content

Commit d2bd392

Browse files
Remove trailing spaces and empty lines (#341)
1 parent 5c84aac commit d2bd392

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ to use whatever template makes sense.
1414

1515
#### Problem description
1616

17-
Explain why the current behavior is a problem, what the expected output/behaviour
17+
Explain why the current behavior is a problem, what the expected output/behaviour
1818
is, and why the expected output/behaviour is a better solution.
1919

2020
#### Version and installation information

.github/workflows/ci-osx.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ jobs:
5858
run: |
5959
conda activate env
6060
pytest -v --pyargs numcodecs
61-

LICENSE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22-

docs/release.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Maintenance
1717
* Fix spelling.
1818
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`336`.
1919

20+
* Remove trailing spaces and empty lines.
21+
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`341`.
22+
2023
.. _release_0.10.0:
2124

2225
0.10.0

numcodecs/_shuffle.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ cpdef void _doUnshuffle(const unsigned char[::1] src, unsigned char[::1] des, Py
2828
for byte_index in range(count):
2929
j = byte_index*element_size + i
3030
des[j] = src[offset+byte_index]
31-

numcodecs/blosc.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def decompress_partial(source, start, nitems, dest=None):
422422
cdef:
423423
int ret
424424
int encoding_size
425-
int nitems_bytes
425+
int nitems_bytes
426426
int start_bytes
427427
char *source_ptr
428428
char *dest_ptr
@@ -463,7 +463,7 @@ def decompress_partial(source, start, nitems, dest=None):
463463
if dest_buffer is not None:
464464
dest_buffer.release()
465465

466-
# ret refers to the number of bytes returned from blosc_getitem.
466+
# ret refers to the number of bytes returned from blosc_getitem.
467467
if ret <= 0:
468468
raise RuntimeError('error during blosc partial decompression: %d', ret)
469469

numcodecs/zstd.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class Zstd(Codec):
204204
codec_id = 'zstd'
205205

206206
# Note: unlike the LZ4 and Blosc codecs, there does not appear to be a (currently)
207-
# practical limit on the size of buffers that Zstd can process and so we don't
207+
# practical limit on the size of buffers that Zstd can process and so we don't
208208
# enforce a max_buffer_size option here.
209209

210210
def __init__(self, level=DEFAULT_CLEVEL):

pytest.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[pytest]
22
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS IGNORE_EXCEPTION_DETAIL
3-

0 commit comments

Comments
 (0)