Skip to content

Commit fdd5b89

Browse files
[pre-commit.ci] pre-commit autoupdate (#7)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 618b824 commit fdd5b89

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
additional_dependencies: [ "tomli>=2.0.1" ]
1717
args: [ "--in-place", "--config", "./pyproject.toml" ]
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: "v0.1.15"
19+
rev: "v0.2.0"
2020
hooks:
2121
- id: ruff-format
2222
- id: ruff

src/py_discovery/_discover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from abc import ABCMeta, abstractmethod
3+
from abc import ABC, abstractmethod
44
from typing import TYPE_CHECKING
55

66
if TYPE_CHECKING:
@@ -9,7 +9,7 @@
99
from py_discovery import PythonInfo
1010

1111

12-
class Discover(metaclass=ABCMeta):
12+
class Discover(ABC):
1313
"""Discover and provide the requested Python interpreter."""
1414

1515
@classmethod

0 commit comments

Comments
 (0)