Skip to content

Commit 7cf70d5

Browse files
committedFeb 17, 2025
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1304143 commit 7cf70d5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
 

‎projectq/backends/_awsbraket/_awsbraket_boto3_client_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
""" Test for projectq.backends._awsbraket._awsbraket_boto3_client.py """
14+
"""Test for projectq.backends._awsbraket._awsbraket_boto3_client.py"""
1515

1616
import pytest
1717

@@ -282,7 +282,7 @@ def test_send_that_errors_are_caught(mocker, var_error, send_that_error_setup):
282282

283283

284284
@has_boto3
285-
@pytest.mark.parametrize("var_error", [('ResourceNotFoundException')])
285+
@pytest.mark.parametrize("var_error", ['ResourceNotFoundException'])
286286
def test_retrieve_error_arn_not_exist(mocker, var_error, arntask, creds):
287287
mock_boto3_client = mocker.MagicMock(spec=['get_quantum_task'])
288288
mock_boto3_client.get_quantum_task.side_effect = botocore.exceptions.ClientError(

‎projectq/backends/_awsbraket/_awsbraket_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
""" Test for projectq.backends._awsbraket._awsbraket.py"""
14+
"""Test for projectq.backends._awsbraket._awsbraket.py"""
1515

1616
import copy
1717
import math

‎projectq/backends/_circuits/_plot_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
"""
15-
Tests for projectq.backends._circuits._plot.py.
15+
Tests for projectq.backends._circuits._plot.py.
1616
17-
To generate the baseline images,
18-
run the tests with '--mpl-generate-path=baseline'
17+
To generate the baseline images,
18+
run the tests with '--mpl-generate-path=baseline'
1919
20-
Then run the tests simply with '--mpl'
20+
Then run the tests simply with '--mpl'
2121
"""
2222
from copy import deepcopy
2323

0 commit comments

Comments
 (0)