Fix warning_count not defined

This commit is contained in:
Kayou 2020-06-13 00:09:36 +02:00 committed by GitHub
parent 0b0b40008d
commit e7bf7580c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -941,7 +941,7 @@ def main():
elif len(warnings) > 3: elif len(warnings) > 3:
print("Still some warnings to be fixed :s") print("Still some warnings to be fixed :s")
elif len(warnings) > 0: elif len(warnings) > 0:
print("Only %s warning remaining! You can do it!" % warning_count) print("Only %s warning remaining! You can do it!" % len(warnings))
else: else:
print_happy("Not even a warning! Congratz and thank you for keeping that package up to date with good practices !") print_happy("Not even a warning! Congratz and thank you for keeping that package up to date with good practices !")