Skip to content

Commit

Permalink
#201: Fix mode priority in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Jan 5, 2025
1 parent 49e2a07 commit 47d6f20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,11 @@ In addition to those:
as well as the classic mode of older Poetry versions (`[tool.poetry]`).
Which mode the plugin uses depends on how your pyproject.toml is configured:

* For the plugin to use the classic mode, your pyproject.toml must:
* specify `tool.poetry.name`
* For the plugin to use the PEP 621 mode, your pyproject.toml must:
* not specify `tool.poetry.name`
* specify `tool.poetry.version` (a placeholder like `"0.0.0"` is fine)
* specify `project.name`
* specify `project.dynamic` to contain `"version"`
* not specify `project.version`
* specify `tool.poetry.version` (a placeholder like `"0.0.0"` is fine)
* For the plugin to use the classic mode, your pyproject.toml must:
* not meet the criteria for the PEP 621 mode
* specify `tool.poetry.name`

0 comments on commit 47d6f20

Please sign in to comment.