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:
Dylan Herman
2022-05-12 07:59:00 -05:00
committed by GitHub
parent f69d9c7326
commit 2dfba97175
22 changed files with 64 additions and 49 deletions

View File

@@ -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