Skip to content

Commit 45adbb1

Browse files
committed
docs(copier): updates copier and runthefiles.sh
1 parent 550997b commit 45adbb1

6 files changed

Lines changed: 128 additions & 412 deletions

File tree

‎scripts/runthefiles.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ cd src/python_interface_to_workflows/workflow_definitions
33
for file in *
44
do
55
[[ -d "$file" ]] && continue
6+
if grep -Eq '^\s*(from|import)\s+python_workflow_submitter\b' "$file"; then
7+
echo "ERROR: $file imports submitter"
8+
exit 1
9+
fi
610
uv run "$file"
711
done
812
mv *.txt ../templates/

‎src/copier_template/scripts/runthefiles.sh.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ cd src/{{project_name}}/workflow_definitions
33
for file in *
44
do
55
[[ -d "$file" ]] && continue
6+
if grep -Eq '^\s*(from|import)\s+python_workflow_submitter\b' "$file"; then
7+
echo "ERROR: $file imports submitter"
8+
exit 1
9+
fi
610
uv run "$file"
711
done
812
mv *.txt src/{{project_name}}/templates/

‎src/copier_template/tests/test_keycloak_checker.py.jinja‎

Lines changed: 0 additions & 120 deletions
This file was deleted.

‎src/copier_template/tests/test_open_auth_url.py.jinja‎

Lines changed: 0 additions & 142 deletions
This file was deleted.

‎src/copier_template/tests/test_submit_to_graphql.py.jinja‎

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)