Skip to content

Commit f3e105e

Browse files
⬆️🪝 update pre-commit hooks (#546)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f253395 commit f3e105e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ repos:
5353

5454
# Python linting using ruff
5555
- repo: https://github.com/astral-sh/ruff-pre-commit
56-
rev: v0.1.14
56+
rev: v0.2.0
5757
hooks:
5858
- id: ruff
5959
args: ["--fix", "--show-fixes"]

src/mqt/core/_core/operations.pyi

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from abc import ABCMeta, abstractmethod
1+
from abc import ABC, abstractmethod
22
from collections.abc import Mapping, Sequence
33
from typing import ClassVar, overload
44

@@ -90,7 +90,7 @@ class OpType:
9090
def __ne__(self: Self, other: object) -> bool: ...
9191
def __setstate__(self: Self, state: int) -> None: ...
9292

93-
class Operation(metaclass=ABCMeta):
93+
class Operation(ABC):
9494
type_: OpType
9595
controls: set[Control]
9696
num_qubits: int

0 commit comments

Comments
 (0)