From db2992f95bcd3e1364f36f26532267b06a78ebda Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 24 Aug 2024 20:33:14 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/wheel/bdist_wheel.py | 2 -- src/wheel/cli/tags.py | 2 +- src/wheel/metadata.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wheel/bdist_wheel.py b/src/wheel/bdist_wheel.py index 35824f4d..e406b095 100644 --- a/src/wheel/bdist_wheel.py +++ b/src/wheel/bdist_wheel.py @@ -1,7 +1,5 @@ from warnings import warn -from ._bdist_wheel import bdist_wheel - warn( "The 'wheel' package is no longer the canonical location of the 'bdist_wheel' " "command, and will be removed in a future release. Please update to setuptools " diff --git a/src/wheel/cli/tags.py b/src/wheel/cli/tags.py index 88d59218..69478b03 100644 --- a/src/wheel/cli/tags.py +++ b/src/wheel/cli/tags.py @@ -4,9 +4,9 @@ import itertools import os from email.parser import BytesParser +from typing import TYPE_CHECKING from ..wheelfile import WheelFile -from typing import TYPE_CHECKING if TYPE_CHECKING: from collections.abc import Iterable diff --git a/src/wheel/metadata.py b/src/wheel/metadata.py index 3b183255..8f64b6ff 100644 --- a/src/wheel/metadata.py +++ b/src/wheel/metadata.py @@ -10,7 +10,7 @@ import re import textwrap from email.parser import Parser -from typing import Generator, Iterable, Iterator, Literal, TYPE_CHECKING +from typing import TYPE_CHECKING, Generator, Iterable, Iterator, Literal from .vendored.packaging.requirements import Requirement