Skip to content

Commit

Permalink
docs: poetry.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
niekdt authored Aug 3, 2024
1 parent 7b872e6 commit 7631982
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/actionsheets/data/python/devtools/poetry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,19 @@ source = "https://python-poetry.org/docs/cli/#export"
[restore]
section = "Restore state"

[restore.deps]
action = "Install all dependencies, but not the root project"
code = "poetry install --no-root"
details = "For `package.mode=false`, you can just run `poetry install`"

[restore.project]
action = "Install all dependencies defined in the lock or project file"
action = "Install the project (if package), and all dependencies defined in the lock or project file"
code = "poetry install"

[restore.project.sync]
action = "Install all required dependencies, and remove unused dependencies (sync)"
action = "Install the project (if package), and all required dependencies, and remove unused dependencies (sync)"
code = "poetry install --sync"

[restore.project.group]
action = "Install all dependencies, including optional dep group(s)"
action = "Install the project (if package), and all dependencies, including optional dep group(s)"
code = "poetry install --with docs,tests"

0 comments on commit 7631982

Please sign in to comment.