Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Nov 15, 2023
1 parent a70e6c3 commit 698a19a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packaging/pep517_backend/hooks.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
"""PEP 517 build backend for optionally pre-building Cython."""

from contextlib import suppress as _suppress

from setuptools.build_meta import * # Re-exporting PEP 517 hooks # pylint: disable=unused-wildcard-import,wildcard-import

from ._backend import ( # noqa: WPS436 # Re-exporting PEP 517 hooks
build_sdist,
build_wheel,
get_requires_for_build_editable,
get_requires_for_build_wheel,
prepare_metadata_for_build_editable,
prepare_metadata_for_build_wheel,
)

with _suppress(ImportError): # Only succeeds w/ setuptools implementing PEP 660
from ._backend import ( # noqa: WPS436 # Re-exporting PEP 660 hooks
build_editable,
get_requires_for_build_editable,
prepare_metadata_for_build_editable,
)

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'build_editable' is not used.
Import of 'get_requires_for_build_editable' is not used.
Import of 'prepare_metadata_for_build_editable' is not used.

0 comments on commit 698a19a

Please sign in to comment.