chore(formatter): upgrade to black v25

This commit is contained in:
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 # isort: skip_file
from ophyd import EpicsSignal, EpicsSignalRO, EpicsSignalWithRBV from ophyd import EpicsSignal, EpicsSignalRO, EpicsSignalWithRBV

View File

@@ -31,7 +31,7 @@ dependencies = [
dev = [ dev = [
"bec-server~=3.13", "bec-server~=3.13",
"pillow ~= 11.1", "pillow ~= 11.1",
"black~=24.0", "black~=25.0",
"isort~=5.13, >=5.13.2", "isort~=5.13, >=5.13.2",
"coverage~=7.0", "coverage~=7.0",
"pylint~=3.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( 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""" """Test camera stage proxy to compute readback from readback of positioner samx and samy"""
proxy, camera, samx, samy = stage_camera_proxy_fixture 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( 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""" """Make sure that the produced image has the same shape as the detector being proxied"""
proxy, camera, samx, samy = stage_camera_proxy_fixture proxy, camera, samx, samy = stage_camera_proxy_fixture