From e7bf7580c17b49e59125d15283c210ec5afcd34f Mon Sep 17 00:00:00 2001 From: Kayou Date: Sat, 13 Jun 2020 00:09:36 +0200 Subject: [PATCH] Fix warning_count not defined --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index c4337f9..127a111 100755 --- a/package_linter.py +++ b/package_linter.py @@ -941,7 +941,7 @@ def main(): elif len(warnings) > 3: print("Still some warnings to be fixed :s") 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: print_happy("Not even a warning! Congratz and thank you for keeping that package up to date with good practices !")