Skip to content

Commit

Permalink
docs: Use reference instead of deprecated callable in scripts exa…
Browse files Browse the repository at this point in the history
…mple
  • Loading branch information
edgarrmondragon authored and radoering committed Jul 28, 2023
1 parent 24b487b commit 8046314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ To specify a script that [depends on an extra](#extras), you may provide an entr

```toml
[tool.poetry.scripts]
devtest = { callable = "mypackage:test.run_tests", extras = ["test"] }
devtest = { reference = "mypackage:test.run_tests", extras = ["test"], type = "console" }
```

{{% note %}}
Expand Down

0 comments on commit 8046314

Please sign in to comment.