summaryrefslogtreecommitdiff
path: root/docs/source/plugin-development
diff options
context:
space:
mode:
authorTyler Wince <tyler@myndshft.com>2018-03-29 08:09:07 -0700
committerTyler Wince <tyler@myndshft.com>2018-03-29 08:09:07 -0700
commit8e7658c06d235769efa4e7a5105c37e65034128e (patch)
treeb77a1e8e3b44ade0e5ac1c77c733133f2276aa01 /docs/source/plugin-development
parentf8344997267b8ca87a96c690a3515a443005b653 (diff)
downloadflake8-8e7658c06d235769efa4e7a5105c37e65034128e.tar.gz
add common entry points and instruction to docs
Diffstat (limited to 'docs/source/plugin-development')
-rw-r--r--docs/source/plugin-development/registering-plugins.rst102
1 files changed, 102 insertions, 0 deletions
diff --git a/docs/source/plugin-development/registering-plugins.rst b/docs/source/plugin-development/registering-plugins.rst
index d18d2fa..94ba572 100644
--- a/docs/source/plugin-development/registering-plugins.rst
+++ b/docs/source/plugin-development/registering-plugins.rst
@@ -129,6 +129,108 @@ like::
Finally, if all of your plugin's error codes start with just ``X`` then it
would look like the original example.
+|Flake8| requires each entry point to be unique amongst all plugins installed
+in the users environment. Before defining your set of error codes, please
+check the list below and select a unique entry point for your plugin.
+
++--------+-------------+---------------------------------+
+| Letter | Entry Point | Project |
++--------+-------------+---------------------------------+
+| A | A00x | flake8-builtins |
++--------+-------------+---------------------------------+
+| | A40x | flake8-author |
++--------+-------------+---------------------------------+
+| B | Bxxx | flake8-bugbear |
++--------+-------------+---------------------------------+
+| C | C001 | flake8-confusables |
++--------+-------------+---------------------------------+
+| | C10x | flake8-coding |
++--------+-------------+---------------------------------+
+| | C81x | flake8-commas |
++--------+-------------+---------------------------------+
+| | C90x | mccabe |
++--------+-------------+---------------------------------+
+| | CNL100 | flake8-class-newline |
++--------+-------------+---------------------------------+
+| D | Dxxx | flake8-docstring (pydocstyle) |
++--------+-------------+---------------------------------+
+| | D001 | flake8-deprecated |
++--------+-------------+---------------------------------+
+| E | Exxx | pycodestyle |
++--------+-------------+---------------------------------+
+| F | Fxxx | pyflakes |
++--------+-------------+---------------------------------+
+| | FI10-FI90 | flake8-future-import |
++--------+-------------+---------------------------------+
+| I | Ixxx | flake8-import-order |
++--------+-------------+---------------------------------+
+| | I00x | flake8-isort |
++--------+-------------+---------------------------------+
+| | I20x | flake8-tidy-imports |
++--------+-------------+---------------------------------+
+| | IESxxx | flake8-invalid-escape-sequences |
++--------+-------------+---------------------------------+
+| M | M001 | flake8-mock |
++--------+-------------+---------------------------------+
+| | M90x | mutable-defaults |
++--------+-------------+---------------------------------+
+| | M90x | flake8-mutable |
++--------+-------------+---------------------------------+
+| N | N8xx | flake8-naming |
++--------+-------------+---------------------------------+
+| | N999 | flake8-module-name |
++--------+-------------+---------------------------------+
+| O | O100-O102 | flake8-ownership |
++--------+-------------+---------------------------------+
+| P | Pxxx | flake8-string-format |
++--------+-------------+---------------------------------+
+| Q | Q0xx | flake8-quotes |
++--------+-------------+---------------------------------+
+| | Q1xx | flake8-quotes2 |
++--------+-------------+---------------------------------+
+| | Q4xx | flake8-sql |
++--------+-------------+---------------------------------+
+| R | Rxxx | flake8-regex |
++--------+-------------+---------------------------------+
+| | R70x | radon |
++--------+-------------+---------------------------------+
+| | RSTxxx | flake8-rst-docstrings |
++--------+-------------+---------------------------------+
+| S | Sxxx | flake8-strict |
++--------+-------------+---------------------------------+
+| | Sxxx | flake8-snippets |
++--------+-------------+---------------------------------+
+| | Sxxx | flake8-bandit |
++--------+-------------+---------------------------------+
+| | S00x | flake8-sorted-keys |
++--------+-------------+---------------------------------+
+| | S001 | flake8-prep3101 |
++--------+-------------+---------------------------------+
+| T | Txxx | flake8-pytest |
++--------+-------------+---------------------------------+
+| | T000 | flake8-todo |
++--------+-------------+---------------------------------+
+| | T00x | flake8-print |
++--------+-------------+---------------------------------+
+| | T004 | flake8-libfaketime |
++--------+-------------+---------------------------------+
+| | T005 | flake8-module-import |
++--------+-------------+---------------------------------+
+| | T006 | flake8-ugettext-alias |
++--------+-------------+---------------------------------+
+| | T006 | flake8-translation-activate |
++--------+-------------+---------------------------------+
+| | T007 | flake8-user-model |
++--------+-------------+---------------------------------+
+| | T100 | flake8-debugger |
++--------+-------------+---------------------------------+
+| | T4xx | flake8-mypy |
++--------+-------------+---------------------------------+
+| | T80x | flake8-tuple |
++--------+-------------+---------------------------------+
+| W | Wxxx | pycodestyle |
++--------+-------------+---------------------------------+
+
.. _Entry Points:
https://pythonhosted.org/setuptools/pkg_resources.html#entry-points