Skip to content
6 changes: 4 additions & 2 deletions cirq-core/cirq/contrib/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ def _class_resolver_dictionary() -> dict[str, ObjectFactory]:
{
'DEFAULT_CONTRIB_RESOLVERS': (
'v1.8',
'DEFAULT_CONTRIB_RESOLVERS is no longer necessary as contrib classes are now '
'automatically recognized and resolved with an import of cirq.contrib.',
(
'DEFAULT_CONTRIB_RESOLVERS is no longer necessary as contrib classes are now '
'automatically recognized and resolved with an import of cirq.contrib.'
),
)
},
)
12 changes: 8 additions & 4 deletions cirq-core/cirq/transformers/dynamical_decoupling_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,17 @@ def test_pull_through_h_gate_case2(single_qubit_gate_moments_only: bool) -> None
([X], 'Invalid dynamical decoupling sequence. Expect more than one gates.'),
(
[X, Y],
'Invalid dynamical decoupling sequence. Expect sequence product equals identity'
' up to a global phase, got',
(
'Invalid dynamical decoupling sequence. Expect sequence product equals identity'
' up to a global phase, got'
),
),
(
[H, H],
'Dynamical decoupling sequence should only contain gates that are essentially'
' Pauli gates.',
(
'Dynamical decoupling sequence should only contain gates that are essentially'
' Pauli gates.'
),
),
],
)
Expand Down
18 changes: 11 additions & 7 deletions cirq-google/cirq_google/engine/engine_client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,11 @@ def test_list_program(client_constructor, default_engine_client):
),
('labels.color:red AND labels.shape:*', None, None, {'color': 'red', 'shape': '*'}),
(
'create_time >= 2020-08-01 AND '
'create_time <= 1598918400 AND '
'labels.color:red AND labels.shape:*',
(
'create_time >= 2020-08-01 AND '
'create_time <= 1598918400 AND '
'labels.color:red AND labels.shape:*'
),
datetime.date(2020, 8, 1),
datetime.datetime(2020, 9, 1, tzinfo=datetime.timezone.utc),
{'color': 'red', 'shape': '*'},
Expand Down Expand Up @@ -1312,10 +1314,12 @@ def test_list_jobs(client_constructor, default_engine_client):
None,
),
(
'create_time >= 2020-08-01 AND '
'create_time <= 1598918400 AND '
'labels.color:red AND labels.shape:* AND '
'(execution_status.state = SUCCESS)',
(
'create_time >= 2020-08-01 AND '
'create_time <= 1598918400 AND '
'labels.color:red AND labels.shape:* AND '
'(execution_status.state = SUCCESS)'
),
datetime.date(2020, 8, 1),
datetime.datetime(2020, 9, 1, tzinfo=datetime.timezone.utc),
{'color': 'red', 'shape': '*'},
Expand Down
8 changes: 5 additions & 3 deletions dev_tools/notebooks/isolated_notebook_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,11 @@ def test_ensure_unreleased_notebooks_install_cirq_pre(notebook_path) -> None:
content = notebook.read()
mandatory_matches = [
r"!pip install --upgrade --quiet cirq(-google)?~=1.0.dev",
r"Note: this notebook relies on unreleased Cirq features\. "
r"If you want to try these features, make sure you install cirq(-google)? via "
r"`pip install --upgrade cirq(-google)?~=1.0.dev`\.",
(
r"Note: this notebook relies on unreleased Cirq features\. "
r"If you want to try these features, make sure you install cirq(-google)? via "
r"`pip install --upgrade cirq(-google)?~=1.0.dev`\."
),
]

for m in mandatory_matches:
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/requirements/deps/format.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
black[jupyter]==25.11.0
black[jupyter]==25.12.0
isort[colors]~=7.0.0
2 changes: 1 addition & 1 deletion dev_tools/requirements/deps/mypy.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# the mypy dependency file
mypy==1.19.0
mypy==1.19.1

# packages with stub types for various libraries
types-protobuf>=5.26.1, <7.0dev
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/requirements/deps/ruff.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruff==0.14.7
ruff==0.14.10
Loading