Skip to content

Commit

Permalink
Added dev-watch make target (#7)
Browse files Browse the repository at this point in the history
* Added dev-watch make target

* keep the history when running dev-watch
  • Loading branch information
de-code authored Dec 17, 2024
1 parent 2dab53e commit 3603b87
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ dev-unittest:

dev-test: dev-lint dev-unittest

dev-watch:
$(PYTHON) -m pytest_watcher tests/unit_test


dev-start:
$(PYTHON) -m uvicorn \
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tool.pytest-watcher]
now = true
clear = false
delay = 0.2
runner = "venv/bin/python"
runner_args = ["-m", "pytest"]
1 change: 1 addition & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
flake8==7.1.1
pylint==3.2.7
pytest==8.3.3
pytest-watcher==0.4.3
mypy==1.11.2

0 comments on commit 3603b87

Please sign in to comment.