forked from mirrors/thatmattlove-hyperglass
Black Formatting - travis #
This commit is contained in:
parent
2f54044e58
commit
68a72ce0b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue