mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 05:26:53 +00:00
Grammar and clarity improvements.
This commit is contained in:
parent
fd5c7d009d
commit
330fdb5b56
15 changed files with 45 additions and 45 deletions
|
|
@ -4,7 +4,7 @@
|
|||
Developing a Formatting Plugin for Flake8
|
||||
===========================================
|
||||
|
||||
Flake8 added the ability to develop custom formatting plugins in version
|
||||
Flake8 allowed for custom formatting plugins in version
|
||||
3.0.0. Let's write a plugin together:
|
||||
|
||||
.. code-block:: python
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
Since Flake8 2.0, the Flake8 tool has allowed for extensions and custom
|
||||
plugins. In Flake8 3.0, we're expanding that ability to customize and
|
||||
extend **and** we're attempting to thoroughly document it too. Some of the
|
||||
extend **and** we're attempting to thoroughly document it. Some of the
|
||||
documentation in this section will reference third-party documentation
|
||||
in order to reduce duplication and to point you, the developer, towards
|
||||
to reduce duplication and to point you, the developer, towards
|
||||
the authoritative documentation for those pieces.
|
||||
|
||||
.. toctree::
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
Registering a Plugin with Flake8
|
||||
==================================
|
||||
|
||||
To register any kind of plugin with Flake8, you need a few things:
|
||||
To register any kind of plugin with Flake8, you need:
|
||||
|
||||
#. You need a way to install the plugin (whether it is packaged on its own or
|
||||
#. A way to install the plugin (whether it is packaged on its own or
|
||||
as part of something else). In this section, we will use a ``setup.py``
|
||||
written for an example plugin.
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ To register any kind of plugin with Flake8, you need a few things:
|
|||
#. A somewhat recent version of setuptools (newer than 0.7.0 but preferably as
|
||||
recent as you can attain).
|
||||
|
||||
Flake8 presently relies on a functionality provided by setuptools called
|
||||
Flake8 relies on functionality provided by setuptools called
|
||||
`Entry Points`_. These allow any package to register a plugin with Flake8 via
|
||||
that package's ``setup.py`` file.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue