From 85ae538b2aa0831b8e2c7c823351efe17c9d3c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Garc=C3=ADa=20de=20Bustos?= Date: Tue, 21 May 2024 13:52:10 +0100 Subject: [PATCH] make script styles --- make.ps1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/make.ps1 b/make.ps1 index d8c9465..6e286c0 100644 --- a/make.ps1 +++ b/make.ps1 @@ -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