summaryrefslogtreecommitdiff
path: root/docs/source/plugin-development
Commit message (Collapse)AuthorAgeFilesLines
* some manual python2 metadata cleanupAnthony Sottile2021-03-301-1/+0
|
* add video tutorial to plugin development pageAnthony Sottile2020-09-201-0/+13
|
* Update registering-plugins.rstMax Grishkin2020-07-281-1/+1
|
* move from optparse to argparseAnthony Sottile2019-08-171-11/+11
|
* Fix sample entry points in docsasottile-entry-point-docs-fixupAnthony Sottile2019-05-211-3/+3
|
* Latest pycodestyleAnthony Sottile2019-01-291-0/+1
|
* Remove unused and broken flake8.listen plugin typeAnthony Sottile2018-12-271-4/+1
|
* Recommend registering plugin options using `add_options` and `parse_options` ↵Alexander Schlarb2018-12-161-7/+7
| | | | rather then `register_options` and `provide_options` since these are actually called.
* Grammar fixesVille Skyttä2018-11-111-1/+1
|
* docs: Link fixes and redirect avoidanceVille Skyttä2018-05-212-2/+2
|
* Spelling and grammar fixesVille Skyttä2018-05-131-1/+1
|
* fixed emphasis on last lineTyler Wince2018-03-301-3/+3
|
* added language for entry point lengthTyler Wince2018-03-301-101/+7
|
* add common entry points and instruction to docsTyler Wince2018-03-291-0/+102
|
* Drop from __future__ import with_statement from docsJon Dufresne2017-11-261-1/+0
| | | | | | | All versions of Python that flake8 supports (2.7, 3.4+) have full support for the with statement. There is no need to add the import. Slightly simplifies the example be removing unnecessary boilerplate.
* Add previous_unindented_logical_line attributeYen Chi Hsuan2016-11-081-0/+1
| | | | | | | | This attribute is introduced in pycodestyle 2.1.0 Closes #246 See: https://github.com/PyCQA/pycodestyle/issues/400
* Trim trailing spaces from documentationIan Cordasco2016-10-251-5/+5
|
* Merge branch 'file-tokens' of xzise/flake8Ian Cordasco2016-10-251-11/+11
|\
| * Add support for tokens of a complete fileFabian Neundorf2016-07-221-4/+13
| | | | | | | | | | | | | | | | | | | | | | The `tokens` property of the `FileProcessor` class only contains tokens of the current line but not all tokens. So if a plugin which is only executed once per file, that property is useless. To make the tokens also available to plugins it is now be able to supply all the tokens of a file. It also updates the documentation to separate which parameters are static and which are changed on each line. Using the latter parameters on plugins which are only run once per file isn't very sensible.
* | Document how it determines when the plugin is runFabian Neundorf2016-08-011-0/+6
| | | | | | | | | | | | | | | | If a plugin's target (constructor or function) doesn't satisfy specific parameters, it'll never be called. This documents what the parameters must contain to be run at all. Related to: #159
* | Make the documentation very obviousIan Cordasco2016-07-261-2/+17
| |
* | Clarify what the X in the entry points doesFabian Neundorf2016-07-261-1/+5
| | | | | | | | | | | | | | Previously the `X` wasn't further explained in the documentation on how to register a plugin. This plugs the hole at least for checking plugins. See also: #183
* | Update documentation to separate parameter typesFabian Neundorf2016-07-251-4/+11
|/ | | | | | It updates the documentation to separate which parameters are static and which are changed on each line. Using the latter parameters on plugins which are only run once per file isn't very sensible.
* Fix typo in documentation using `indect`Fabian Neundorf2016-07-211-1/+1
| | | | | | The documentation for the `FileProcessor` class used `indect_char` while the class itself uses the more sensible name `indent_char`. This updates both the docstring as well as the documentation.
* Trim trailing whitespace in compat docsIan Cordasco2016-07-201-1/+1
|
* Document flake8-polyfill in compatibility sectionIan Cordasco2016-07-201-46/+77
| | | | | | Yesterday we released the flake8-polyfill package to help with Flake8 compatibility issues. This adds documentation to Flake8 to help people use that and to guide them towards it.
* Add new Flake8 classifier to Trove listIan Cordasco2016-07-091-0/+1
|
* Use option name provided by the parserFabian Neundorf2016-07-091-4/+4
| | | | | | | When calling `add_option` it returns an `Option` object which can return the primary name of the option via `get_opt_name`. This should be used primarily in the cross compatible implementation so that the order of parameters does not matter.
* Update compatibility docsIan Cordasco2016-06-261-2/+8
|
* Rename dev subdirectory to plugin-developmentIan Cordasco2016-06-256-0/+538
This should make the contents clearer