Skip to content

Commit 79d1b66

Browse files
committed
Fixed two more mistakes
1 parent c4cf141 commit 79d1b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package-structure-code/declare-dependencies.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ within the code of your project or during development of your package.
3535

3636

3737
### Understanding optional vs. required dependencies
38-
You can think about dependencies as being either optional or required. If they are required, they will be listed in the `dependency` key in the `project` table of your `pyproject.toml` file. If they are optional, they will be listed in the `[optional.dependencies]` table of your `pyproject.toml`.
38+
You can think about dependencies as being either optional or required. If they are required, they will be listed in the `dependencies` key in the `project` table of your `pyproject.toml` file. If they are optional, they will be listed in the `[optional.dependencies]` table of your `pyproject.toml`.
3939

4040
You will learn about both below.
4141

@@ -51,7 +51,7 @@ Within those 2 groups, there are three use cases that you can think about. 1. Co
5151
### Required (or core) dependencies
5252

5353
Required dependencies are called directly within your package's code. On this page we refer to these dependencies
54-
as **core dependencies** as they are needed in order to run your package. You should place your core or required dependencies in the `dependency` key of the `[project]` table of your `pyproject.toml` file.
54+
as **core dependencies** as they are needed in order to run your package. You should place your core or required dependencies in the `dependencies` key of the `[project]` table of your `pyproject.toml` file.
5555

5656
### Optional dependencies
5757

0 commit comments

Comments
 (0)