From a15af88d2140e69887d5368b8be289c4384f380f Mon Sep 17 00:00:00 2001 From: thomashopkins32 Date: Tue, 10 Dec 2024 14:40:43 -0500 Subject: [PATCH] Fix black formatting --- ophyd/_dummy_shim.py | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/ophyd/_dummy_shim.py b/ophyd/_dummy_shim.py index 82c0ea12f..3a20eeee0 100644 --- a/ophyd/_dummy_shim.py +++ b/ophyd/_dummy_shim.py @@ -6,8 +6,7 @@ class DummyDispatcherThreadContext: event_type = None event_thread = None - def run(self, *args, **kwargs): - ... + def run(self, *args, **kwargs): ... __call__ = run @@ -19,11 +18,9 @@ class DummyDispatcher: timeout = 0.1 threads = {} - def stop(self): - ... + def stop(self): ... - def schedule_utility_task(self, callback, *args, **kwargs): - ... + def schedule_utility_task(self, callback, *args, **kwargs): ... def get_thread_context(self, name): return DummyDispatcherThreadContext() @@ -35,24 +32,31 @@ def get_thread_context(self, name): _dispatcher = DummyDispatcher() -def setup(logger): - ... +def setup(logger): ... def caget(*args, **kwargs): - raise NotImplementedError("Dummy control layer in-use. Try installing either pyepics or caproto.") + raise NotImplementedError( + "Dummy control layer in-use. Try installing either pyepics or caproto." + ) def caput(*args, **kwargs): - raise NotImplementedError("Dummy control layer in-use. Try installing either pyepics or caproto.") + raise NotImplementedError( + "Dummy control layer in-use. Try installing either pyepics or caproto." + ) def get_pv(*args, **kwargs): - raise NotImplementedError("Dummy control layer in-use. Try installing either pyepics or caproto.") + raise NotImplementedError( + "Dummy control layer in-use. Try installing either pyepics or caproto." + ) def release_pvs(*args, **kwargs): - raise NotImplementedError("Dummy control layer in-use. Try installing either pyepics or caproto.") + raise NotImplementedError( + "Dummy control layer in-use. Try installing either pyepics or caproto." + ) def get_dispatcher():