From 501d878443b96abe8061225fa0166228a74cea53 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Sat, 31 May 2025 10:07:16 -0400 Subject: [PATCH] Pyproject scripts don't work like npm scripts --- pyproject.toml | 4 ---- roc_fnb/scripts/run-tests.sh | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100755 roc_fnb/scripts/run-tests.sh diff --git a/pyproject.toml b/pyproject.toml index 46f89b2..55440e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/roc_fnb/scripts/run-tests.sh b/roc_fnb/scripts/run-tests.sh new file mode 100755 index 0000000..0ae4cca --- /dev/null +++ b/roc_fnb/scripts/run-tests.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +python -m pytest --capture no --ignore mounts \ No newline at end of file