Skip to content

Commit 2447eaf

Browse files
fix(docs): use even indentation in MIGRATION.md
Satisfies editorconfig-checker left-padding multiples of 2. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e6e098d commit 2447eaf

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

docs/MIGRATION.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ updates require deliberate effort.
1616
## Strategy 1: Manual dependency updates
1717

1818
1. Run `uv lock --upgrade` (or `uv lock --upgrade-package <name>`) in your
19-
project to refresh pinned versions in `uv.lock`.
19+
project to refresh pinned versions in `uv.lock`.
2020
2. Enable Dependabot if you used the `github-setup` extension (see its workflow
21-
in cpa-templates).
21+
in cpa-templates).
2222
3. Compare your `pyproject.toml` scripts, dependency groups, and dev tools
23-
with the current template in
24-
[cpa-templates](https://github.com/Create-Python-App/cpa-templates/tree/main/templates).
23+
with the current template in
24+
[cpa-templates](https://github.com/Create-Python-App/cpa-templates/tree/main/templates).
2525

2626
Use `uv tree --outdated` when available to spot stale direct dependencies.
2727

@@ -55,7 +55,7 @@ For a single extension update:
5555

5656
1. Scaffold a throwaway project with only that extension applied.
5757
2. Copy the extension-specific files into your existing project (e.g. Alembic
58-
migrations, auth middleware, GitHub Actions workflows).
58+
migrations, auth middleware, GitHub Actions workflows).
5959
3. Merge `pyproject.toml` dependency changes manually.
6060

6161
## CNA to CPA renames
@@ -164,11 +164,11 @@ create-awesome-python-app cache clean
164164
There is no `cpa add-extension` command yet. To add an extension after the fact:
165165

166166
1. Browse the extension in
167-
[cpa-templates/extensions](https://github.com/Create-Python-App/cpa-templates/tree/main/extensions).
167+
[cpa-templates/extensions](https://github.com/Create-Python-App/cpa-templates/tree/main/extensions).
168168
2. Read the extension README for required files and dependencies.
169169
3. Scaffold a minimal project with that extension and copy the relevant files.
170170
4. Install matching dependencies from the extension's `pyproject.toml` (or run
171-
`uv sync` in the throwaway project and mirror the dependency blocks).
171+
`uv sync` in the throwaway project and mirror the dependency blocks).
172172

173173
Use `--list-addons -t <template-slug>` to see extensions compatible with your
174174
base template.
@@ -179,14 +179,14 @@ If you are moving a hand-rolled Cookiecutter/Copier flow into the CPA
179179
ecosystem:
180180

181181
1. Map your template repo to a `templates.json` entry (slug, name, category,
182-
`url` with `?subdir=`).
182+
`url` with `?subdir=`).
183183
2. Add `cpa.config.json` at the template root (see
184-
[cpa-config-schema.md](./cpa-config-schema.md)).
184+
[cpa-config-schema.md](./cpa-config-schema.md)).
185185
3. Prefer `uv` lockfiles (`uv.lock`) in generated projects instead of
186-
unpinned `requirements.txt` unless the template explicitly targets pip-only
187-
workflows.
186+
unpinned `requirements.txt` unless the template explicitly targets pip-only
187+
workflows.
188188
4. Convert Jinja-style prompts to `customOptions` in `cpa.config.json` where
189-
possible; use `--set key=value` for non-interactive runs.
189+
possible; use `--set key=value` for non-interactive runs.
190190

191191
## Getting help
192192

0 commit comments

Comments
 (0)