Skip to content

Commit d90bbdc

Browse files
refactor: reorder feature options by logical grouping
CI/security → code quality → docs/deployment → dev env → domain extras Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d69bfb1 commit d90bbdc

File tree

2 files changed

+27
-22
lines changed

2 files changed

+27
-22
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ All features are opt-in or opt-out at generation time:
2525
|---|---|---|
2626
| `ci_github` | `true` | GitHub Actions workflows: lint, type-check, test (3.11–3.13), audit |
2727
| `security` | `basic` | `none` · `basic` (pre-commit, ruff) · `full` (+ CodeQL, pip-audit, Dependabot) |
28-
| `use_docker` | `cpu` | `none` · `cpu` (Dockerfile + Compose) · `gpu` (+ GPU variant) |
29-
| `use_docs` | `true` | MkDocs Material site with GitHub Pages auto-deploy |
3028
| `testing` | `standard` | `minimal` (pytest) · `standard` (+ coverage + fixtures) · `full` (+ 80% threshold) |
31-
| `use_ml` | `false` | Notebooks dir, data dir, optional ML deps, DVC, `.env` template |
3229
| `use_typecheck` | `true` | mypy strict type checking |
30+
| `use_docs` | `true` | MkDocs Material site with GitHub Pages auto-deploy |
31+
| `use_docker` | `cpu` | `none` · `cpu` (Dockerfile + Compose) · `gpu` (+ GPU variant) |
3332
| `use_devcontainer` | `false` | VS Code / Codespaces dev container |
33+
| `use_ml` | `false` | Notebooks dir, data dir, optional ML deps, DVC, `.env` template |
3434
| `use_iot` | `false` | IoT/embedded setup: serial, GPIO, MQTT drivers, device config, mock fixtures |
3535

3636
To skip all prompts and get the standard setup:

copier.yaml

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ github_user:
3737

3838
# --- Feature toggles ---
3939

40+
# CI / security
4041
ci_github:
4142
type: bool
4243
default: true
@@ -51,20 +52,7 @@ security:
5152
"Pre-commit hooks + ruff linting": basic
5253
"Basic + CodeQL, pip-audit, Dependabot, branch protection": full
5354

54-
use_docker:
55-
type: str
56-
default: cpu
57-
help: "Docker support"
58-
choices:
59-
"No Docker": none
60-
"CPU Dockerfile + Compose": cpu
61-
"CPU + GPU Dockerfile": gpu
62-
63-
use_docs:
64-
type: bool
65-
default: true
66-
help: Include MkDocs documentation?
67-
55+
# Code quality
6856
testing:
6957
type: str
7058
default: standard
@@ -74,21 +62,38 @@ testing:
7462
"pytest + coverage + fixtures": standard
7563
"Standard + coverage threshold + parametrized examples": full
7664

77-
use_ml:
78-
type: bool
79-
default: false
80-
help: Include ML/data science setup (notebooks, data dir, optional deps)?
81-
8265
use_typecheck:
8366
type: bool
8467
default: true
8568
help: Enable mypy strict type checking?
8669

70+
# Documentation & deployment
71+
use_docs:
72+
type: bool
73+
default: true
74+
help: Include MkDocs documentation?
75+
76+
use_docker:
77+
type: str
78+
default: cpu
79+
help: "Docker support"
80+
choices:
81+
"No Docker": none
82+
"CPU Dockerfile + Compose": cpu
83+
"CPU + GPU Dockerfile": gpu
84+
85+
# Dev environment
8786
use_devcontainer:
8887
type: bool
8988
default: false
9089
help: Include VS Code dev container config?
9190

91+
# Domain-specific extras
92+
use_ml:
93+
type: bool
94+
default: false
95+
help: Include ML/data science setup (notebooks, data dir, optional deps)?
96+
9297
use_iot:
9398
type: bool
9499
default: false

0 commit comments

Comments
 (0)