Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 6d2b0c1 commit cdc03c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/auditwheel/elfutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
from typing import Iterator

from elftools.common.exceptions import ELFError
from elftools.elf.elffile import ELFFile
from elftools.elf.dynamic import DynamicSegment
from elftools.elf.elffile import ELFFile

from .libc import Libc
from .lddtree import parse_ld_paths
from .libc import Libc


def elf_read_dt_needed(fn: str) -> list[str]:
Expand Down
4 changes: 2 additions & 2 deletions src/auditwheel/policy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
from __future__ import annotations

import copy
import json
import logging
import platform as _platform_module
import re
import struct
import sys
import copy
from collections import defaultdict
from os.path import abspath, dirname, join
from pathlib import Path
from typing import Any, Generator

from auditwheel.elfutils import (
elf_get_platform_info,
filter_undefined_symbols,
is_subdir,
elf_get_platform_info,
)
from auditwheel.wheeltools import InWheelCtx

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_musllinux.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from unittest.mock import patch
from io import BytesIO
from unittest.mock import patch

from auditwheel.musllinux import find_musl_libc, get_musl_version

Expand Down

0 comments on commit cdc03c5

Please sign in to comment.