-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopier.yml
More file actions
28 lines (26 loc) · 946 Bytes
/
copier.yml
File metadata and controls
28 lines (26 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# questions
module_name:
type: str
help: Enter the module name (only alphanumeric characters allowed, and no whitespace)
validation: ^[a-zA-Z0-9]+$
validation_message: Module name must contain only alphanumeric characters with no spaces
module_name_slug:
type: str
default: "{{ module_name | replace('-', '_') }}"
help: Slugified module name
when: false
_tasks:
- "rm test_template.sh"
- "uvx --from nblite@latest nbl export --pipeline 'pts->nbs'"
- "uvx --from nblite@latest nbl export"
- "uvx --from nblite@latest nbl readme"
- "uv add --dev jupyterlab nblite boto3"
- "uv add 'adulib[llm]' pydantic pandas python-dotenv rich toml typer"
- "direnv allow"
- "uv lock --upgrade"
- "uv sync --all-extras"
- "git init"
- "uvx --from nblite@latest nbl install-hooks"
- "ln -s src/{{ module_name_slug }}/assets/config.toml ."
- "ln -s src/{{ module_name_slug }}/store ."
- ".venv/bin/nbl prepare"