Pyproject scripts don't work like npm scripts

This commit is contained in:
D. Scott Boggs 2025-05-31 10:07:16 -04:00
parent 467f6a77ae
commit 501d878443
2 changed files with 2 additions and 4 deletions

View file

@ -27,9 +27,5 @@ dynamic = ["version"]
# setuptools to be a module without it. # setuptools to be a module without it.
packages = ["roc_fnb"] packages = ["roc_fnb"]
[project.scripts]
# Put scripts here
bootstrap-first-admin = "roc_fnb.scripts.bootstrap_first_admin:bootstrap_first_admin"
[tool.yapf] [tool.yapf]
based_on_style = "facebook" based_on_style = "facebook"

2
roc_fnb/scripts/run-tests.sh Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
python -m pytest --capture no --ignore mounts