Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-py): bump the dev group with 3 updates #499

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
106 changes: 53 additions & 53 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ hugr = "^0.4.0"

[tool.poetry.group.dev.dependencies]
maturin = "^1.7.0"
pytest = "^8.2.2"
pytest = "^8.3.1"
pytest-cov = "^5.0.0"
ruff = "^0.5.1"
mypy = "^1.10.1"
ruff = "^0.5.4"
mypy = "^1.11.0"
hypothesis = "^6.108.2"
graphviz = "^0.20"
pre-commit = "^3.7.1"
Expand Down
4 changes: 2 additions & 2 deletions tket2-py/test/test_circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ def test_conversion():
tk2 = Tk2Circuit(tk1)
tk2_dot = render_circuit_dot(tk2)

assert type(tk2) == Tk2Circuit
assert type(tk2) is Tk2Circuit
assert tk1_dot == tk2_dot

tk1_back = tk2.to_tket1()

assert tk1_back == tk1
assert type(tk1_back) == Circuit
assert type(tk1_back) is Circuit
4 changes: 2 additions & 2 deletions tket2-py/test/test_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ def test_chunks():
c2 = circ_chunks.reassemble()

assert c2.depth() == 3
assert type(c2) == Circuit
assert type(c2) is Circuit

# Split and reassemble, with a tket2 circuit
tk2_chunks = chunks(Tk2Circuit(c2), 2)
tk2 = tk2_chunks.reassemble()

assert type(tk2) == Tk2Circuit
assert type(tk2) is Tk2Circuit


def test_cx_rule():
Expand Down
Loading