Add warning for unused imports

This commit is contained in:
James Westman 2024-04-06 14:30:48 -05:00
parent 729939ad93
commit 6a078ee075
13 changed files with 53 additions and 5 deletions

View file

@ -140,6 +140,10 @@ class DeprecatedWarning(CompileWarning):
pass
class UnusedWarning(CompileWarning):
pass
class UpgradeWarning(CompileWarning):
category = "upgrade"
color = Colors.PURPLE