File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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"]
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]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ from .compat import ensure_contiguous_ndarray
1212cdef 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
You can’t perform that action at this time.
0 commit comments