fixed pylint, formatted python files iwth cblack on localhost (#204)

* fixed pylint, formatted python files iwth cblack on localhost

* Revert "fixed pylint, formatted python files iwth cblack on localhost"

This reverts commit 07e2b88466.

* dedented 4-spaces added linter

Co-authored-by: Iain Wong <iainwong@outlook.com>
This commit is contained in:
iainwo
2020-12-17 17:37:31 -05:00
committed by GitHub
parent 799ad5ba17
commit 56d44637f3
21 changed files with 130 additions and 138 deletions

View File

@@ -6,7 +6,7 @@ from .config import ANE
def tensors_allocated():
return sum([isinstance(x, Tensor) for x in gc.get_objects()])
class TestGC(unittest.TestCase):
device = Device.CPU
@@ -36,7 +36,7 @@ class TestGC(unittest.TestCase):
@unittest.skipUnless(GPU, "Requires GPU")
class TestGCGPU(TestGC):
device = Device.GPU
device = Device.GPU
@unittest.skipUnless(ANE, "Requires ANE")
class TestGCANE(TestGC):