Skip to content

Commit

Permalink
updating taskfile with formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuejunior committed May 5, 2021
1 parent 74b6f52 commit 6f0c140
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Taskfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ function test {
py.test -s -v --cov=./ --cov-report term-missing -v
}

function fmt {
rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info ./out ./*/out ./.mypy_cache ./*/.mypy_cache */.pytest_cache \
.pytest_cache .serverless/* >> /dev/null
black -S -t py37 -t py38 -v --line-length 120 --exclude node_modules/* .
isort -j 4 --line-width 120 --use-parentheses --no-inline-sort --multi-line 3 --trailing-comma brandenburg tests
mypy ./ --ignore-missing-imports
}



Expand All @@ -32,8 +39,6 @@ function build {


function start {
rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info ./out ./*/out ./.mypy_cache ./*/.mypy_cache */.pytest_cache \
.pytest_cache .serverless/* >> /dev/null
echo "starting ..."

docker-compose -f platform/docker/docker-compose.yml up -d
Expand Down

0 comments on commit 6f0c140

Please sign in to comment.