From d841597258d04f10346fbcc0ce95f9278b38ef08 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 23:33:47 +0300 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#635) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.6.9) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- tests/cli/test_pack.py | 1 + tests/cli/test_tags.py | 1 + tests/cli/test_unpack.py | 1 + tests/test_bdist_wheel.py | 1 + tests/test_macosx_libfile.py | 1 + tests/test_wheelfile.py | 1 + 7 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b45eb331..ce5da10f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: ^src/wheel/vendored repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -18,7 +18,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.0 + rev: v0.6.9 hooks: - id: ruff args: [--fix, --show-fixes] diff --git a/tests/cli/test_pack.py b/tests/cli/test_pack.py index f0363bcf..31f28de1 100644 --- a/tests/cli/test_pack.py +++ b/tests/cli/test_pack.py @@ -7,6 +7,7 @@ from zipfile import ZipFile import pytest + from wheel.cli.pack import pack THISDIR = os.path.dirname(__file__) diff --git a/tests/cli/test_tags.py b/tests/cli/test_tags.py index 6940b10a..4d4dfa15 100644 --- a/tests/cli/test_tags.py +++ b/tests/cli/test_tags.py @@ -6,6 +6,7 @@ from zipfile import ZipFile import pytest + from wheel.cli import main, parser from wheel.cli.tags import tags from wheel.wheelfile import WheelFile diff --git a/tests/cli/test_unpack.py b/tests/cli/test_unpack.py index be93a3b2..ae584af0 100644 --- a/tests/cli/test_unpack.py +++ b/tests/cli/test_unpack.py @@ -4,6 +4,7 @@ import stat import pytest + from wheel.cli.unpack import unpack from wheel.wheelfile import WheelFile diff --git a/tests/test_bdist_wheel.py b/tests/test_bdist_wheel.py index bb1457a8..fcb2dfc4 100644 --- a/tests/test_bdist_wheel.py +++ b/tests/test_bdist_wheel.py @@ -16,6 +16,7 @@ import pytest import setuptools + from wheel._bdist_wheel import ( bdist_wheel, get_abi_tag, diff --git a/tests/test_macosx_libfile.py b/tests/test_macosx_libfile.py index 5dcf4108..6e5a8165 100644 --- a/tests/test_macosx_libfile.py +++ b/tests/test_macosx_libfile.py @@ -5,6 +5,7 @@ import sysconfig import pytest + from wheel._bdist_wheel import get_platform from wheel.macosx_libfile import extract_macosx_min_system_version diff --git a/tests/test_wheelfile.py b/tests/test_wheelfile.py index cbc8e802..b5878214 100644 --- a/tests/test_wheelfile.py +++ b/tests/test_wheelfile.py @@ -5,6 +5,7 @@ from zipfile import ZIP_DEFLATED, ZipFile import pytest + from wheel.cli import WheelError from wheel.wheelfile import WheelFile