Skip to content

Commit 2951bad

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2f1e00d commit 2951bad

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

docs/source/how_to_guides/portability.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,36 @@ Use this checklist when you move a project to another machine or environment.
1414

1515
1. **Update state once on the source machine.**
1616

17-
Run a normal build so `pytask.lock` is up to date:
17+
Run a normal build so `pytask.lock` is up to date:
1818

19-
```console
20-
$ pytask build
21-
```
19+
```console
20+
$ pytask build
21+
```
2222

23-
If you already have a recent lockfile and up-to-date outputs, you can skip this step.
23+
If you already have a recent lockfile and up-to-date outputs, you can skip this step.
2424

2525
1. **Ship the right files.**
2626

27-
Commit `pytask.lock` to your repository and move it with the project. In practice,
28-
you should move:
27+
Commit `pytask.lock` to your repository and move it with the project. In practice,
28+
you should move:
2929

30-
- the project files tracked in version control (source, configuration, data inputs
31-
and `pytask.lock`)
32-
- the build artifacts you want to reuse (often in `bld/` if you follow the tutorial
33-
layout)
34-
- the `.pytask` folder in case you are using the data catalog and it manages some of
35-
the files
30+
- the project files tracked in version control (source, configuration, data inputs
31+
and `pytask.lock`)
32+
- the build artifacts you want to reuse (often in `bld/` if you follow the tutorial
33+
layout)
34+
- the `.pytask` folder in case you are using the data catalog and it manages some of
35+
the files
3636

3737
1. **Files outside the project**
3838

39-
If you have files outside the project root (the folder with the `pyproject.toml`
40-
file), you need to make sure that the same relative layout exists on the target
41-
machine.
39+
If you have files outside the project root (the folder with the `pyproject.toml`
40+
file), you need to make sure that the same relative layout exists on the target
41+
machine.
4242

4343
1. **Run pytask on the target machine.**
4444

45-
When states match, tasks are skipped. When they differ, tasks run and the lockfile is
46-
updated.
45+
When states match, tasks are skipped. When they differ, tasks run and the lockfile is
46+
updated.
4747

4848
## What makes a project portable
4949

0 commit comments

Comments
 (0)