Commit 4f79aa79 authored by Robert Sokolewicz's avatar Robert Sokolewicz
Browse files

fix: pyright and ruff

parent c4f6a8d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

### 🐛 Bug Fixes and Closed Issues

- Fix: fix failing tests in preperation before 0.27 release ([!1315](https://gitlab.com/quantify-os/quantify-scheduler/-/merge_requests/1315) by [@Robert Sokolewicz](https://gitlab.com/rsokolewicz))
- Fix: fix failing tests in preparation before 0.27 release ([!1315](https://gitlab.com/quantify-os/quantify-scheduler/-/merge_requests/1315) by [@Robert Sokolewicz](https://gitlab.com/rsokolewicz))
- Fix the dependency issue of pydantic when testing unified quantify with python 3.14 ([!1306](https://gitlab.com/quantify-os/quantify-scheduler/-/merge_requests/1306) by [@Mahmut Çetin](https://gitlab.com/cetin-oqs))
- Fix: unset properties for operations do not raise an error in hardware compilation ([!1305](https://gitlab.com/quantify-os/quantify-scheduler/-/merge_requests/1305) by [@Gábor Oszkár Dénes](https://gitlab.com/gdenes))

+2 −2
Original line number Diff line number Diff line
@@ -716,9 +716,9 @@ def hardware_compile(

    if hardware_cfg.hardware_options.latency_corrections is not None:  # type: ignore[reportOptionalMemberAccess]
        # Subtract minimum latency to allow for negative latency corrections
        hardware_cfg.hardware_options.latency_corrections = determine_relative_latency_corrections(  # type: ignore[reportOptionalMemberAccess,reportArgumentType]
        hardware_cfg.hardware_options.latency_corrections = determine_relative_latency_corrections(  # type: ignore[reportOptionalMemberAccess]
            schedule=schedule,
            hardware_cfg=hardware_cfg,
            hardware_cfg=hardware_cfg,  # type: ignore[reportArgumentType]
        )

    # Apply software distortion corrections. Hardware distortion corrections are