Skip to content

Commit

Permalink
Make scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbustos committed Feb 2, 2024
1 parent 0f5a186 commit 862ac7b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions make.ps1
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 862ac7b

Please sign in to comment.