Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hugr-py/src/hugr/passes/_composable_pass.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .composable_pass import *
1 change: 1 addition & 0 deletions hugr-py/tests/test_passes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest

from hugr.hugr.base import Hugr
from hugr.passes._composable_pass import *
Copy link
Contributor Author

@CalMacCQ CalMacCQ Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this extra line to test that you can actually use both import paths.

from hugr.passes.composable_pass import (
ComposablePass,
ComposedPass,
Expand Down
2 changes: 2 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ ignore = [

[lint.per-file-ignores]
"hugr-py/tests/**" = ["D"]
"hugr-py/tests/test_passes.py" = ["F403"]
"hugr-py/src/hugr/passes/_composable_pass.py" = ["F403"]
"hugr-py/docs/**" = ["D"]
"hugr-py/src/hugr/_serialization/**" = ["D"]
"scripts/*" = ["T201", "EXE001", "D"]
Expand Down
Loading