[Writing_plugins.rst] Updating doc(#10721)

This commit is contained in:
Garvit Shubham 2023-02-11 23:46:26 +05:30
parent 3f766715a4
commit 2c363a2356
1 changed files with 1 additions and 13 deletions

View File

@ -1,13 +1 @@
replace
```[project.entry_points]
pytest11 = [
"myproject = myproject.pluginmodule",
]```
with
```
[project.entry-points.pytest11]
myproject = "myproject.pluginmodule"```
also,remove
```[tool.setuptools]
packages = ["myproject"]```
originally written for setuptools, and then changed the backend to hatchling and now doc updated for `project entry points`