Skip to content

Commit

Permalink
chore(setup.py): Run ruff format setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam-Deacon committed Jan 12, 2024
1 parent 0dc2347 commit 8c9308c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# https://numpy.org/doc/stable/reference/distutils_status_migration.html#distutils-status-migration
try:
from numpy.distutils.core import Extension, setup
except ModuleNotFoundError as err:
except ModuleNotFoundError:
if tuple(sys.version_info[:2]) >= (3, 11):
raise NotImplementedError(
"numpy.distutils has been removed for python {}".format(
Expand All @@ -21,8 +21,6 @@
)
raise

import sys, os

try:
import py2exe
except ImportError:
Expand Down

0 comments on commit 8c9308c

Please sign in to comment.