Skip to content

Commit

Permalink
Fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashopkins32 committed Dec 10, 2024
1 parent 1093e6b commit a15af88
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions ophyd/_dummy_shim.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ class DummyDispatcherThreadContext:
event_type = None
event_thread = None

def run(self, *args, **kwargs):
...
def run(self, *args, **kwargs): ...

__call__ = run

Expand All @@ -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()
Expand All @@ -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():
Expand Down

0 comments on commit a15af88

Please sign in to comment.