Skip to content

Commit 627a869

Browse files
committed
Attempt to avoid typing error
1 parent 4622b5a commit 627a869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/_normalization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def safer_best_effort_version(value: str) -> str:
156156
)
157157
except ImportError:
158158

159-
def _canonicalize_license_expression(expression: str) -> str:
159+
def _canonicalize_license_expression(expression: str) -> str: # type: ignore[misc] # pyright: ignore[reportAssignmentType]
160160
# Defer import error to affect only users that actually use it
161161
# https://github.com/pypa/setuptools/issues/4894
162162
raise ImportError(

0 commit comments

Comments
 (0)