Skip to content

Commit e738e41

Browse files
authored
Merge branch 'main' into 0141-clog
2 parents 30c008c + 685bfea commit e738e41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: debug-statements
1616

1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.7.3
18+
rev: v0.7.4
1919
hooks:
2020
- id: ruff
2121
args: ["--fix", "--show-fixes"]
@@ -27,7 +27,7 @@ repos:
2727
- id: sp-repo-review
2828

2929
- repo: https://github.com/pre-commit/mirrors-mypy
30-
rev: 'v1.4.0'
30+
rev: 'v1.13.0'
3131
hooks:
3232
- id: mypy
3333
args: [--config-file, pyproject.toml]

numcodecs/compat_ext.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ from .compat import ensure_contiguous_ndarray
1212
cdef class Buffer:
1313
"""Convenience class for buffer interface."""
1414

15-
def __cinit__(self, obj, flags):
15+
def __cinit__(self, obj, int flags):
1616
PyObject_GetBuffer(obj, &(self.buffer), flags)
1717
self.acquired = True
1818
self.ptr = <char *> self.buffer.buf

0 commit comments

Comments
 (0)