diff --git a/make.ps1 b/make.ps1 new file mode 100644 index 0000000..d8c9465 --- /dev/null +++ b/make.ps1 @@ -0,0 +1,6 @@ +Write-Host "---------- Reformating with black... ----------" -ForegroundColor Blue +black .\ml_rest_fastapi .\tests +Write-Host "---------- Analysing with pylint... -----------" -ForegroundColor Blue +pylint --recursive=y .\ml_rest_fastapi .\tests +Write-Host "---------- Validating with mypy... ------------" -ForegroundColor Blue +mypy --pretty --config-file=mypy.ini .\ml_rest_fastapi diff --git a/make.sh b/make.sh new file mode 100644 index 0000000..fefc06e --- /dev/null +++ b/make.sh @@ -0,0 +1,7 @@ +#!/bin/bash +echo -e "\033[1;34m---------- Reformating with black... ----------\033[0m" +black ./ml_rest_fastapi ./tests +echo -e "\033[1;34m---------- Analysing with pylint... -----------\033[0m" +pylint --recursive=y ./ml_rest_fastapi ./tests +echo -e "\033[1;34m---------- Validating with mypy... ------------\033[0m" +mypy --pretty --config-file=mypy.ini ./ml_rest_fastapi