Skip to content

Commit

Permalink
🎨 pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2023
1 parent d6caed6 commit 4d1b4e9
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 9 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Sphinx configuration file."""

from __future__ import annotations

import warnings
Expand Down
1 change: 1 addition & 0 deletions src/mqt/qmap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This file is part of the MQT QMAP library released under the MIT license.
See README.md or go to https://github.com/cda-tum/qmap for more information.
"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/mqt/qmap/compile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Main entry point for the compilation module."""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
18 changes: 9 additions & 9 deletions src/mqt/qmap/pyqmap.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Arch:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand Down Expand Up @@ -97,7 +97,7 @@ class CommanderGrouping:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand Down Expand Up @@ -152,7 +152,7 @@ class Encoding:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand All @@ -175,7 +175,7 @@ class InitialLayout:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand All @@ -200,7 +200,7 @@ class Layering:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand Down Expand Up @@ -234,7 +234,7 @@ class Method:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand All @@ -258,7 +258,7 @@ class SwapReduction:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand All @@ -283,7 +283,7 @@ class TargetMetric:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand All @@ -310,7 +310,7 @@ class Verbosity:
def __eq__(self, other: object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ... # noqa: PLW3201
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __setstate__(self, state: int) -> None: ...
Expand Down
1 change: 1 addition & 0 deletions test/python/test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A simple example of using QMAP."""

from __future__ import annotations

from qiskit import QuantumCircuit
Expand Down
1 change: 1 addition & 0 deletions test/python/test_compile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the compilation of circuits."""

from __future__ import annotations

from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions test/python/test_exact_mapper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the exact mapper."""

from __future__ import annotations

from qiskit import QuantumCircuit
Expand Down
1 change: 1 addition & 0 deletions test/python/test_heuristic_mapper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the heuristic mapper."""

from __future__ import annotations

from qiskit import QuantumCircuit
Expand Down
1 change: 1 addition & 0 deletions test/python/test_qiskit_backend_imports.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the Qiskit backend imports."""

from __future__ import annotations

import pytest
Expand Down

0 comments on commit 4d1b4e9

Please sign in to comment.