From 98b8ffb3244267d6421bb7dfc8b706efe583e129 Mon Sep 17 00:00:00 2001 From: "Edgar R. M" Date: Fri, 28 Jul 2023 09:01:32 -0600 Subject: [PATCH] docs: Use `reference` instead of deprecated `callable` in scripts example (#8211) --- docs/pyproject.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}}