Skip to content

Commit 862ac7b

Browse files
committed
Make scripts
1 parent 0f5a186 commit 862ac7b

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

make.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Write-Host "---------- Reformating with black... ----------" -ForegroundColor Blue
2+
black .\ml_rest_fastapi .\tests
3+
Write-Host "---------- Analysing with pylint... -----------" -ForegroundColor Blue
4+
pylint --recursive=y .\ml_rest_fastapi .\tests
5+
Write-Host "---------- Validating with mypy... ------------" -ForegroundColor Blue
6+
mypy --pretty --config-file=mypy.ini .\ml_rest_fastapi

make.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
echo -e "\033[1;34m---------- Reformating with black... ----------\033[0m"
3+
black ./ml_rest_fastapi ./tests
4+
echo -e "\033[1;34m---------- Analysing with pylint... -----------\033[0m"
5+
pylint --recursive=y ./ml_rest_fastapi ./tests
6+
echo -e "\033[1;34m---------- Validating with mypy... ------------\033[0m"
7+
mypy --pretty --config-file=mypy.ini ./ml_rest_fastapi

0 commit comments

Comments
 (0)