Skip to content

Commit

Permalink
update: improve make command.
Browse files Browse the repository at this point in the history
  • Loading branch information
wf001 committed Nov 22, 2022
1 parent 406eeca commit 09c7a98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
make install-dev
- name: Lint with flake8
run: |
make check
make ci
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,20 @@ check:
make test && \
make lint

ci:
make test && \
black ${TARGET} --check && \
isort ${TARGET} --check && \
flake8 ${TARGET}

test:
pytest --capture=no -vv

lint:
make mypy-only && \
black ${TARGET} && \
isort ${TARGET} && \
flake8 ${TARGET} --doctest
flake8 ${TARGET}

mypy-only:
mypy ${TARGET}
Expand Down

0 comments on commit 09c7a98

Please sign in to comment.