Skip to content

Commit 55010de

Browse files
committed
Fixed 2 more incorrect references
1 parent dee43cc commit 55010de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package-structure-code/declare-dependencies.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ It's important to note that within the `[project.optional-dependencies]` table,
164164

165165
To declare optional dependencies in your **pyproject.toml** file:
166166

167-
1. Add a `[optional.dependencies]` table to your **pyproject.toml** file.
167+
1. Add a `[project.optional-dependencies]` table to your **pyproject.toml** file.
168168
2. Create named groups of dependencies using the syntax:
169169

170170
`group-name = ["dep1", "dep2"]`
@@ -250,15 +250,15 @@ groups that you defined above using the syntax:
250250

251251
Above you install:
252252
* dependencies needed for your documentation (`docs`),
253-
* required package dependencies in the `dependency` array and
253+
* required package dependencies in the `dependencies` array and
254254
* your package
255255

256256
using pip. Below you
257257
install your package, required dependencies and optional test dependencies.
258258

259259
`python -m pip install ".[tests]"`
260260

261-
You can install multiple dependency groups in the `[optional.dependencies]` table using:
261+
You can install multiple dependency groups in the `[project.optional-dependencies]` table using:
262262

263263
`python -m pip install ".[docs, tests, lint]"`
264264

0 commit comments

Comments
 (0)