mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
add mypy check for return-any (#24379)
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
This commit is contained in:
@@ -6,7 +6,7 @@ from multiprocessing import Process
|
||||
from setproctitle import setproctitle # pylint: disable=no-name-in-module
|
||||
|
||||
def waste(core):
|
||||
os.sched_setaffinity(0, [core,])
|
||||
os.sched_setaffinity(0, [core,]) # pylint: disable=no-member
|
||||
|
||||
m1 = np.zeros((200, 200)) + 0.8
|
||||
m2 = np.zeros((200, 200)) + 1.2
|
||||
|
||||
Reference in New Issue
Block a user