Skip to content

Commit

Permalink
Bump black from 23.12.1 to 24.1.0 (#138)
Browse files Browse the repository at this point in the history
* Bump black from 23.12.1 to 24.1.0

Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.12.1...24.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* formatted using black

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: N.Sehrawat <[email protected]>
  • Loading branch information
dependabot[bot] and NischalQuTech authored Jan 26, 2024
1 parent 5e67d1a commit e8501ea
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 25 deletions.
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

0 comments on commit e8501ea

Please sign in to comment.