mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 03:30:50 +02:00
Ensure manage.py lint fails when linters fail
This commit is contained in:
parent
4c60c6e345
commit
1de4debc3e
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Command(BaseCommand):
|
||||||
f"{' '.join(linter['args'])}"
|
f"{' '.join(linter['args'])}"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
break
|
raise CalledProcessError(result.returncode, linter["args"])
|
||||||
else:
|
else:
|
||||||
self.stdout.write(
|
self.stdout.write(
|
||||||
f"[manage.py lint] {linter['purpose']} completed with success!"
|
f"[manage.py lint] {linter['purpose']} completed with success!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue