Skip to content

Commit f11b87f

Browse files
jaracowebknjaz
andauthored
Make warning a DistDeprecationWarning
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
1 parent ccb0b97 commit f11b87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/dist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def assert_bool(dist, attr, value):
291291

292292
def invalid_ignored_if_false(dist, attr, value):
293293
if not value:
294-
warnings.warn("{attr} is ignored")
294+
warnings.warn("{attr} is ignored", DistDeprecationWarning)
295295
return
296296
raise DistutilsSetupError(f"{attr} is invalid if it is set to a true value.")
297297

0 commit comments

Comments
 (0)