From bd8331460c4848dc5d6b6e5b190e369a28d13bc6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:29:44 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1aea8f7..20fa9d05 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: args: ["--py38-plus"] - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black From a8f0d3a9a06027f06561ccabd229f4090cc163e3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:30:32 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/calculate_symbol_versions.py | 1 + src/auditwheel/condatools.py | 1 + src/auditwheel/tmpdirs.py | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/calculate_symbol_versions.py b/scripts/calculate_symbol_versions.py index 39705798..edd9834a 100644 --- a/scripts/calculate_symbol_versions.py +++ b/scripts/calculate_symbol_versions.py @@ -3,6 +3,7 @@ defined version (.gnu.version_d) from libraries in lib_whitelist. This should be run inside a manylinux Docker container. """ + from __future__ import annotations import argparse diff --git a/src/auditwheel/condatools.py b/src/auditwheel/condatools.py index 4a4041a8..1af5a51d 100644 --- a/src/auditwheel/condatools.py +++ b/src/auditwheel/condatools.py @@ -1,6 +1,7 @@ """Context managers like those in wheeltools.py for unpacking conda packages. """ + from __future__ import annotations import os diff --git a/src/auditwheel/tmpdirs.py b/src/auditwheel/tmpdirs.py index 54c397d1..4fd233d5 100644 --- a/src/auditwheel/tmpdirs.py +++ b/src/auditwheel/tmpdirs.py @@ -1,5 +1,6 @@ """ Contexts for *with* statement providing temporary directories """ + from __future__ import annotations import os