mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Black Formatting - travis #
This commit is contained in:
@@ -52,7 +52,7 @@ def pylint_badge():
|
||||
raise RuntimeError(f"Pylint score {pylint_score} not acceptable.")
|
||||
badge_file = os.path.join(working_directory, "pylint.svg")
|
||||
if os.path.exists(badge_file):
|
||||
shutil.rmtree(badge_file)
|
||||
os.remove(badge_file)
|
||||
ab_thresholds = {1: "red", 10: "green"}
|
||||
badge = anybadge.Badge("pylint", pylint_score, thresholds=ab_thresholds)
|
||||
badge.write_badge("pylint.svg")
|
||||
|
Reference in New Issue
Block a user