Skip to content

Commit

Permalink
make script styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbustos committed May 21, 2024
1 parent 2942362 commit 85ae538
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions make.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Write-Host "---------- Reformating with black... ----------" -ForegroundColor Blue
$StyleOn="$($PSStyle.Bold)$($PSStyle.Foreground.Blue)"
$StyleOff="$($PSStyle.Reset)"
Write-Host $StyleOn"---------- Reformating with black... ----------"$StyleOff
black .\ml_rest_fastapi .\tests
Write-Host "---------- Analysing with pylint... -----------" -ForegroundColor Blue
Write-Host $StyleOn"---------- Analysing with pylint... -----------"$StyleOff
pylint --recursive=y .\ml_rest_fastapi .\tests
Write-Host "---------- Validating with mypy... ------------" -ForegroundColor Blue
Write-Host $StyleOn"---------- Validating with mypy... ------------"$StyleOff
mypy --pretty --config-file=mypy.ini .\ml_rest_fastapi

0 comments on commit 85ae538

Please sign in to comment.