comparison pyproject.toml @ 7:d98cb018fad7

add pytest-watcher
author drewp@bigasterisk.com
date Sat, 16 Mar 2024 12:36:13 -0700
parents b4dc3eb1f92b
children 0bc06da6bf74
comparison
equal deleted inserted replaced
6:d885fce5e4e7 7:d98cb018fad7
26 [tool.pdm.dev-dependencies] 26 [tool.pdm.dev-dependencies]
27 dev = [ 27 dev = [
28 "pytest>=8.1.1", 28 "pytest>=8.1.1",
29 "aiohttp>=3.9.3", 29 "aiohttp>=3.9.3",
30 "pytest-asyncio>=0.23.5.post1", 30 "pytest-asyncio>=0.23.5.post1",
31 "pytest-watcher>=0.4.1",
31 ] 32 ]
33
34 [tool.pdm.scripts]
35 test.help = "Run tests in current environment"
36 test.cmd = "pytest"
37 watch.help = "Run tests when files change"
38 watch.cmd = "ptw ."
39 presubmit.help = "Install to scratch project and run tests on that"
40 presubmit.cmd = "./pretxncommit.sh"