We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0aeb843 + 37e410f commit 6021681Copy full SHA for 6021681
changelog/10721.doc.rst
@@ -0,0 +1 @@
1
+Fixed entry-points declaration in the documentation example using Hatch.
doc/en/how-to/writing_plugins.rst
@@ -167,13 +167,8 @@ it in your ``pyproject.toml`` file.
167
"Framework :: Pytest",
168
]
169
170
- [tool.setuptools]
171
- packages = ["myproject"]
172
-
173
- [project.entry_points]
174
- pytest11 = [
175
- "myproject = myproject.pluginmodule",
176
- ]
+ [project.entry-points.pytest11]
+ myproject = "myproject.pluginmodule"
177
178
If a package is installed this way, ``pytest`` will load
179
``myproject.pluginmodule`` as a plugin which can define
0 commit comments