mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-25 18:53:56 +08:00
* Adding pre-commit hook for cython static analysis
* Adding changes to cython files to pass static analysis
* Revert "Adding changes to cython files to pass static analysis"
This reverts commit 9a0eb733199abd9eef1eac3d024ef2760348d67c.
* Adding ignore rule for indentation of 4 spaces (E111)
* Fixes for cython-lint static analysis
* Revert "Fixes for cython-lint static analysis"
This reverts commit 972741735b2bdc73460d65a4d7ea167dfc0f4644.
* Adding two new rules into ignore list (2 new lines after difinition of class)
* Adding fixes for cython static analysis
old-commit-hash: 69fb3c2ed5
14 lines
269 B
Cython
14 lines
269 B
Cython
# distutils: language = c++
|
|
|
|
from cereal.visionipc.visionipc cimport cl_mem
|
|
from cereal.visionipc.visionipc_pyx cimport CLContext as BaseCLContext
|
|
|
|
cdef class CLContext(BaseCLContext):
|
|
pass
|
|
|
|
cdef class CLMem:
|
|
cdef cl_mem * mem
|
|
|
|
@staticmethod
|
|
cdef create(void*)
|