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

Bump black from 23.12.1 to 24.1.0 #138

Merged
merged 2 commits into from
Jan 26, 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
1 change: 1 addition & 0 deletions examples/qaoa.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
The algorithm is the Quantum Approximate Optimization Algorithm, as documented on
https://www.quantuminspire.com/kbase/qaoa/
"""

from concurrent.futures import ThreadPoolExecutor
from typing import Any, Callable, Dict, List

Expand Down
48 changes: 24 additions & 24 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ mypy = "^1.8"
docformatter = "1.7.5"
pytest-mock = "^3.12.0"
isort = "^5.13.2"
black = "^23.12.1"
black = "^24.1.0"
pytest-asyncio = "^0.23.3"


Expand Down
1 change: 1 addition & 0 deletions quantuminspire/cli/command_list.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing the commands for the Quantum Inspire 2 CLI."""

from enum import Enum
from pathlib import Path
from typing import Optional
Expand Down
1 change: 1 addition & 0 deletions quantuminspire/sdk/models/base_algorithm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing the Abstract Base Class for Algorithm classes."""

from abc import ABC, abstractmethod


Expand Down
1 change: 1 addition & 0 deletions quantuminspire/sdk/models/circuit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing the Quantum Circuit class."""

from pathlib import Path
from types import TracebackType
from typing import List, Optional, Type
Expand Down
1 change: 1 addition & 0 deletions quantuminspire/sdk/models/hybrid_algorithm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing the Hybrid Quantum/Classical Algorithm class."""

from pathlib import Path

from compute_api_client import AlgorithmType, CompileStage
Expand Down
1 change: 1 addition & 0 deletions quantuminspire/util/api/local_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License.
"""

import importlib
import sys
import types
Expand Down