Skip to content

Commit 5da9206

Browse files
authored
Made typing a Makefile command (#10)
1 parent d79845a commit 5da9206

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ publish:
1414
rm -rf dist/ build/ .egg simplisafe_python.egg-info/
1515
test:
1616
pipenv run py.test
17+
typing:
18+
pipenv run mypy --ignore-missing-imports simplipy

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ however, the system object(s) will need to be recreated via
374374
6. Write a test that covers your new functionality.
375375
7. Update `README.md` with any new documentation.
376376
8. Run tests and ensure 100% code coverage: `make coverage`
377-
9. Run ensure you have no linting errors: `make lint`
378-
10. Add yourself to `AUTHORS.md`.
379-
11. Submit a pull request!
377+
9. Ensure you have no linting errors: `make lint`
378+
10. Ensure you have no typed your code correctly: `make type`
379+
11. Add yourself to `AUTHORS.md`.
380+
12. Submit a pull request!

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ whitelist_externals = make
2828
deps = pipenv
2929
commands=
3030
make init
31-
pipenv run mypy --ignore-missing-imports simplipy
31+
make typing

0 commit comments

Comments
 (0)