Closed stefanv closed 1 year ago
Version: 0.11 (it would be nice to have cython-lint --version!)
cython-lint --version
Cython file:
def _read_string(GenericStream st, size_t n): cdef object obj = st.read_string(n, &d_ptr, True) # no-cython-lint
Output:
/tmp/foo.pyx:2:17: 'obj' defined but unused
thanks for the report! taking a look
have addressed both in version 0.12.0 - thanks for the report, much appreciated!
Thanks for the quick fix, @MarcoGorelli!
Version: 0.11 (it would be nice to have
cython-lint --version
!)Cython file:
Output: