Skip to content

Commit

Permalink
Add mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Aug 13, 2023
1 parent 52da01a commit 04de0d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: pytest
run: |
make pytest
- name: mypy
run: |
make mypy
e2e:
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
FILES=*.py

.PHONY: all
all: flake8 pylint pytest
all: flake8 pylint pytest mypy

.PHONY: flake8
flake8:
@flake8 --ignore=E501 $(FILES)

.PHONY: pylint
pylint:
@PYTHONPATH=clean_registry/ pylint --disable=line-too-long $(FILES)
@pylint --disable=line-too-long $(FILES)

.PHONY: pytest
pytest:
@pytest -v

.PHONY: mypy
mypy:
@mypy .

.PHONY: e2e
e2e:
@bash tests/e2e.sh

0 comments on commit 04de0d6

Please sign in to comment.