Skip to content

Commit 9737e7d

Browse files
committed
fix: poetry example indent
1 parent 41441e9 commit 9737e7d

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

sites/upsun/src/languages/python/dependencies.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -183,22 +183,22 @@ applications:
183183
# The location of the application's code.
184184
source:
185185
root: "myapp"
186-
type: 'python:{{% latest "python" %}}'
187-
dependencies:
188-
python3:
189-
poetry: '*'
190-
variables:
191-
env:
192-
POETRY_VIRTUALENVS_IN_PROJECT: true
193-
POETRY_VIRTUALENVS_CREATE: true
194-
hooks:
195-
build: |
196-
# Fail the build if any errors occur
197-
set -eu
198-
# Download the latest version of pip
199-
python{{% latest "python" %}} -m pip install --upgrade pip
200-
# Install dependencies
201-
poetry install
186+
type: 'python:{{% latest "python" %}}'
187+
dependencies:
188+
python3:
189+
poetry: '*'
190+
variables:
191+
env:
192+
POETRY_VIRTUALENVS_IN_PROJECT: true
193+
POETRY_VIRTUALENVS_CREATE: true
194+
hooks:
195+
build: |
196+
# Fail the build if any errors occur
197+
set -eu
198+
# Download the latest version of pip
199+
python{{% latest "python" %}} -m pip install --upgrade pip
200+
# Install dependencies
201+
poetry install
202202
```
203203
<--->
204204
+++

0 commit comments

Comments
 (0)