forked from pytest-dev/pytest
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Writing_plugins.rst] Updating doc(pytest-dev#10721)
- Loading branch information
1 parent
3f76671
commit 2c363a2
Showing
1 changed file
with
1 addition
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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` |