chore(formatter): upgrade to black v25

This commit is contained in:
wakonig_k 2025-05-01 15:19:33 +02:00
parent 77e9f9b2f8
commit 673be87a2d
10 changed files with 14 additions and 15 deletions

View File

@ -1,5 +1,4 @@
"""AreaDetector Devices
"""
"""AreaDetector Devices"""
# isort: skip_file
from ophyd import EpicsSignal, EpicsSignalRO, EpicsSignalWithRBV

View File

@ -1,4 +1,4 @@
""" Module for integrating the Stanford Research DG645 Delay Generator"""
"""Module for integrating the Stanford Research DG645 Delay Generator"""
import enum
import time

View File

@ -1,4 +1,4 @@
""" This module provides a range of protocols that describe the expected
"""This module provides a range of protocols that describe the expected
interface for different types of devices.
The protocols below can be used as teamplates for functionality to be implemeted

View File

@ -1,4 +1,4 @@
""" Module for simulated positioner devices. """
"""Module for simulated positioner devices."""
import threading
import time as ttime

View File

@ -1,4 +1,4 @@
""" Utilities to mock and test devices."""
"""Utilities to mock and test devices."""
from typing import TYPE_CHECKING
from unittest import mock

View File

@ -1,4 +1,4 @@
""" Utility class linked to BEC"""
"""Utility class linked to BEC"""
import time

View File

@ -1,4 +1,4 @@
"""Module for ophyd_devices specific errors. """
"""Module for ophyd_devices specific errors."""
class DeviceStopError(Exception):

View File

@ -31,7 +31,7 @@ dependencies = [
dev = [
"bec-server~=3.13",
"pillow ~= 11.1",
"black~=24.0",
"black~=25.0",
"isort~=5.13, >=5.13.2",
"coverage~=7.0",
"pylint~=3.0",

View File

@ -524,7 +524,7 @@ def test_proxy_config_and_props_stay_in_sync(h5proxy_fixture: tuple[H5ImageRepla
def test_stage_camera_proxy_image_moves_with_samx_and_samy(
stage_camera_proxy_fixture: tuple[StageCameraProxy, SimCamera, SimPositioner, SimPositioner]
stage_camera_proxy_fixture: tuple[StageCameraProxy, SimCamera, SimPositioner, SimPositioner],
):
"""Test camera stage proxy to compute readback from readback of positioner samx and samy"""
proxy, camera, samx, samy = stage_camera_proxy_fixture
@ -542,7 +542,7 @@ def test_stage_camera_proxy_image_moves_with_samx_and_samy(
def test_stage_camera_proxy_image_shape(
stage_camera_proxy_fixture: tuple[StageCameraProxy, SimCamera, SimPositioner, SimPositioner]
stage_camera_proxy_fixture: tuple[StageCameraProxy, SimCamera, SimPositioner, SimPositioner],
):
"""Make sure that the produced image has the same shape as the detector being proxied"""
proxy, camera, samx, samy = stage_camera_proxy_fixture