Skip to content

Commit

Permalink
Make warning a DistDeprecationWarning
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
jaraco and webknjaz authored Sep 7, 2021
1 parent ccb0b97 commit f11b87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def assert_bool(dist, attr, value):

def invalid_ignored_if_false(dist, attr, value):
if not value:
warnings.warn("{attr} is ignored")
warnings.warn("{attr} is ignored", DistDeprecationWarning)
return
raise DistutilsSetupError(f"{attr} is invalid if it is set to a true value.")

Expand Down

0 comments on commit f11b87f

Please sign in to comment.