Skip to content
Snippets Groups Projects
Commit 5b8d611d authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

exit 1

parent 25e9472e
No related branches found
No related tags found
1 merge request!122Front matter linter
Pipeline #116666 passed with warnings
import typer
import sys
from typing_extensions import Annotated
from typing import Optional, List
from pathlib import Path
......@@ -71,5 +72,7 @@ def lint(
console.print(
f"[red]{err['msg']} : {err['type']} {' -> '.join([str(l) for l in err['loc']])}"
)
# raise
sys.exit(1)
else:
console.print("[green] Everything is alright")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment