mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add warning for unused imports
This commit is contained in:
parent
729939ad93
commit
6a078ee075
13 changed files with 53 additions and 5 deletions
|
@ -140,6 +140,10 @@ class DeprecatedWarning(CompileWarning):
|
|||
pass
|
||||
|
||||
|
||||
class UnusedWarning(CompileWarning):
|
||||
pass
|
||||
|
||||
|
||||
class UpgradeWarning(CompileWarning):
|
||||
category = "upgrade"
|
||||
color = Colors.PURPLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue