Update documentation regarding entry points

Refer to the PyPA packaging guide
Replace references to the deprecated `pkg_resources` docs
This commit is contained in:
Viicos 2024-03-14 21:06:23 +01:00
parent 5c52d752e6
commit 49f52a8598
3 changed files with 18 additions and 16 deletions

View file

@ -30,7 +30,8 @@ To get started writing a |Flake8| :term:`plugin` you first need:
Once you've gathered these things, you can get started.
All plugins for |Flake8| must be registered via `entry points`_. In this
All plugins for |Flake8| must be registered via
:external:doc:`entry points<specifications/entry-points>`. In this
section we cover:
- How to register your plugin so |Flake8| can find it
@ -62,7 +63,3 @@ Here's a tutorial which goes over building an ast checking plugin from scratch:
registering-plugins
plugin-parameters
formatters
.. _entry points:
https://setuptools.readthedocs.io/en/latest/pkg_resources.html#entry-points