diff --git a/docs/pyproject.md b/docs/pyproject.md index f123313d883..0d23d89ff02 100644 --- a/docs/pyproject.md +++ b/docs/pyproject.md @@ -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 %}}