mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-07 03:00:26 -04:00
use class Foo: instead of class Foo(): (#1797)
* use class Foo: instead of class Foo(): * add ruff linter, copy settings from .flake8 to ruff.toml
This commit is contained in:
@@ -5,7 +5,7 @@ from tinygrad.helpers import dtypes
|
||||
from tinygrad.jit import CacheCollector
|
||||
from weakref import ref
|
||||
|
||||
class FakeDeviceBuffer():
|
||||
class FakeDeviceBuffer:
|
||||
def __init__(self, sz, dt, device):
|
||||
self.size = sz
|
||||
self.dtype = dt
|
||||
|
||||
Reference in New Issue
Block a user