Pyproject scripts don't work like npm scripts
This commit is contained in:
parent
467f6a77ae
commit
501d878443
|
|
@ -27,9 +27,5 @@ dynamic = ["version"]
|
|||
# setuptools to be a module without it.
|
||||
packages = ["roc_fnb"]
|
||||
|
||||
[project.scripts]
|
||||
# Put scripts here
|
||||
bootstrap-first-admin = "roc_fnb.scripts.bootstrap_first_admin:bootstrap_first_admin"
|
||||
|
||||
[tool.yapf]
|
||||
based_on_style = "facebook"
|
||||
|
|
|
|||
2
roc_fnb/scripts/run-tests.sh
Executable file
2
roc_fnb/scripts/run-tests.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
python -m pytest --capture no --ignore mounts
|
||||
Loading…
Reference in a new issue