Skip to content

Commit 85ae538

Browse files
committed
make script styles
1 parent 2942362 commit 85ae538

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

make.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
Write-Host "---------- Reformating with black... ----------" -ForegroundColor Blue
1+
$StyleOn="$($PSStyle.Bold)$($PSStyle.Foreground.Blue)"
2+
$StyleOff="$($PSStyle.Reset)"
3+
Write-Host $StyleOn"---------- Reformating with black... ----------"$StyleOff
24
black .\ml_rest_fastapi .\tests
3-
Write-Host "---------- Analysing with pylint... -----------" -ForegroundColor Blue
5+
Write-Host $StyleOn"---------- Analysing with pylint... -----------"$StyleOff
46
pylint --recursive=y .\ml_rest_fastapi .\tests
5-
Write-Host "---------- Validating with mypy... ------------" -ForegroundColor Blue
7+
Write-Host $StyleOn"---------- Validating with mypy... ------------"$StyleOff
68
mypy --pretty --config-file=mypy.ini .\ml_rest_fastapi

0 commit comments

Comments
 (0)