Skip to content

Commit c468a4e

Browse files
committed
Re-run ruff
1 parent c463175 commit c468a4e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@
3535
import winreg
3636
from collections.abc import MutableSequence
3737
from pathlib import Path
38-
from tempfile import gettempdir
39-
from typing import TYPE_CHECKING, Iterable
40-
4138
from setuptools import Extension, setup
39+
from setuptools._distutils import ccompiler
4240
from setuptools.command.build import build
4341
from setuptools.modified import newer_group
44-
from setuptools._distutils import ccompiler
42+
from tempfile import gettempdir
43+
from typing import TYPE_CHECKING, Iterable
4544

4645
# We must import from distutils directly at runtime
4746
# But this prevents typing issues across Python 3.11-3.12
@@ -67,8 +66,9 @@ def my_new_compiler(**kw):
6766
ccompiler.new_compiler = my_new_compiler # type: ignore[assignment] # Assuming the caller will always use only kwargs
6867

6968

70-
from setuptools.command.build_ext import build_ext # noqa: E402 # This has to be imported AFTER the compiler hack
71-
69+
from setuptools.command.build_ext import (
70+
build_ext, # noqa: E402 # This has to be imported AFTER the compiler hack
71+
)
7272

7373
build_id_patch = build_id
7474
if "." not in build_id_patch:

0 commit comments

Comments
 (0)