diff --git a/examples/common.py b/examples/common.py index 4b44345..6590cfd 100644 --- a/examples/common.py +++ b/examples/common.py @@ -38,8 +38,7 @@ def get_arg_number(arg): class Timer(Protocol): - def start(self): - ... + def start(self): ... def stop(self): """ @@ -105,14 +104,11 @@ def stop(self): # manager so that we can run both CuPy and SciPy # programs with resource scoping. class DummyScope: - def __init__(self): - ... + def __init__(self): ... - def __enter__(self): - ... + def __enter__(self): ... - def __exit__(self, _, __, ___): - ... + def __exit__(self, _, __, ___): ... def __getitem__(self, item): return self diff --git a/legate_sparse/coverage.py b/legate_sparse/coverage.py index a9b494d..8d4df96 100644 --- a/legate_sparse/coverage.py +++ b/legate_sparse/coverage.py @@ -43,8 +43,7 @@ def should_wrap(obj: object) -> bool: class AnyCallable(Protocol): - def __call__(self, *args: Any, **kwargs: Any) -> Any: - ... + def __call__(self, *args: Any, **kwargs: Any) -> Any: ... def wrap(func: AnyCallable) -> Any: