Skip to content

Commit

Permalink
Merge pull request #11 from hypothesis/cookiecutter
Browse files Browse the repository at this point in the history
Apply updates from cookiecutter
  • Loading branch information
robertknight authored Feb 29, 2024
2 parents 168e3eb + 0cc9fa1 commit feedfa6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ $(call help,make lint,"lint the code and print any warnings")
lint: python
@pyenv exec tox -qe lint

.PHONY: typecheck
$(call help,make typecheck,"type check the code and print any warnings")
typecheck: python
@pyenv exec tox -qe typecheck

.PHONY: format
$(call help,make format,"format the code")
format: python
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ deps =
lint,tests,functests: pytest-factoryboy
lint,tests,functests: h-matchers
lint,template: cookiecutter
typecheck: mypy
depends =
coverage: tests,py{311}-tests
commands =
Expand All @@ -60,4 +61,5 @@ commands =
functests: python -m pytest --failed-first --new-first --no-header --quiet {posargs:tests/functional/}
coverage: coverage combine
coverage: coverage report
typecheck: mypy src
template: python3 bin/make_template {posargs}

0 comments on commit feedfa6

Please sign in to comment.