Ensure manage.py lint fails when linters fail

This commit is contained in:
Seamus Johnston 2022-09-29 08:16:55 -05:00
parent 4c60c6e345
commit 1de4debc3e
No known key found for this signature in database
GPG key ID: 2F21225985069105

View file

@ -51,7 +51,7 @@ class Command(BaseCommand):
f"{' '.join(linter['args'])}"
)
)
break
raise CalledProcessError(result.returncode, linter["args"])
else:
self.stdout.write(
f"[manage.py lint] {linter['purpose']} completed with success!"