Skip to content

Commit

Permalink
Fix reference to dependencies in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
flpm committed Sep 21, 2024
1 parent 8def4c1 commit 100ea76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package-structure-code/declare-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ within the code of your project or during development of your package.


### Understanding optional vs. required dependencies
You can think about dependencies as being either optional or required. If they are required, they will be listed in the `[dependency] =` table of your `pyproject.toml` file. If they are optional, they will be listed in the `[optional.dependencies]` table of your `pyproject.toml`.
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`.

You will learn about both below.

Expand Down

0 comments on commit 100ea76

Please sign in to comment.