Skip to content

Commit

Permalink
chore: replace pytest-watch with pytest-watcher (#125)
Browse files Browse the repository at this point in the history
Uses pytest-watcher for test file watching since pytest-watch is unmaintained and caused a syntax error in `pyproject.toml` when a closing list bracket was on its own line
  • Loading branch information
johnfraney authored Jan 20, 2025
1 parent d09ebd4 commit 99f418f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 11 deletions.
36 changes: 25 additions & 11 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ pytest = "^8.3.4"
pytest-cov = "^6.0.0"
pytest-watch = "^4.2.0"
ruff = ">=0.8.6,<0.10.0"
pytest-watcher = "^0.4.3"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand All @@ -59,6 +60,10 @@ build-backend = "poetry.core.masonry.api"
include = ["blurry/**"]
exclude = ["**/node_modules", "**/__pycache__", "**/.*", "blurry/tests"]

[tool.pytest-watcher]
now = true
runner = "pytest"

[tool.ruff]
target-version = "py311"
line-length = 88
Expand Down

0 comments on commit 99f418f

Please sign in to comment.