diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-05-21 00:24:47 +0000 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-05-21 00:24:47 +0000 |
| commit | 81838de9469bacabe9d1bf4d26138bc54b09bb7b (patch) | |
| tree | 3f7db737c42fa4a023a50d6aa253742d21c42eb4 /docs/source/plugin-development/registering-plugins.rst | |
| parent | b6ba6d4d03109965d3cf5174d5c2e6868d7d92bb (diff) | |
| download | flake8-81838de9469bacabe9d1bf4d26138bc54b09bb7b.tar.gz | |
Fix sample entry points in docsasottile-entry-point-docs-fixup
Diffstat (limited to 'docs/source/plugin-development/registering-plugins.rst')
| -rw-r--r-- | docs/source/plugin-development/registering-plugins.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/plugin-development/registering-plugins.rst b/docs/source/plugin-development/registering-plugins.rst index 6d901d7..633e0ca 100644 --- a/docs/source/plugin-development/registering-plugins.rst +++ b/docs/source/plugin-development/registering-plugins.rst @@ -111,17 +111,17 @@ The ``X`` in checking plugins define what error codes it is going to report. So if the plugin reports only the error code ``X101`` your entry-point would look like:: - X101 = flake8_example.ExamplePlugin + X101 = flake8_example:ExamplePlugin If your plugin reports several error codes that all start with ``X10``, then it would look like:: - X10 = flake8_example.ExamplePlugin + X10 = flake8_example:ExamplePlugin If all of your plugin's error codes start with ``X1`` then it would look like:: - X1 = flake8_example.ExamplePlugin + X1 = flake8_example:ExamplePlugin Finally, if all of your plugin's error codes start with just ``X`` then it would look like the original example. |
