Skip to content

Commit

Permalink
Increment type hints and add mypy (#221)
Browse files Browse the repository at this point in the history
* Increment type hints

* Add mypy check to github actions
  • Loading branch information
vmjelicic committed Oct 20, 2020
1 parent 3d9bfba commit f956c7e
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 54 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
- name: Test with pytest
run: |
python setup.py test
- name: Run mypy
continue-on-error: true
run: |
mypy microservices-scaffold
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ bandit = "*"
safety = "*"
pre-commit = ">=2.7.1"
black = ">=20.8b1"
mypy = ">=0.790"

[pipenv]
allow_prereleases = true

0 comments on commit f956c7e

Please sign in to comment.