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 Nov 29, 2023
1 parent e8d6946 commit d47ffa2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packaging/pep517_backend/_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
build_wheel,
)


try:
from setuptools.build_meta import build_editable as _setuptools_build_editable
from setuptools.build_meta import (
build_editable as _setuptools_build_editable,
)
except ImportError:
_setuptools_build_editable = None # type: ignore[assignment]

Expand Down
1 change: 1 addition & 0 deletions packaging/pep517_backend/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Re-exporting PEP 517 hooks
from ._backend import build_wheel # noqa: WPS436


with _suppress(ImportError): # Only succeeds w/ setuptools implementing PEP 660
# Re-exporting PEP 660 hooks
from ._backend import ( # type: ignore[assignment] # noqa: WPS436
Expand Down

0 comments on commit d47ffa2

Please sign in to comment.