mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
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. |
||
|---|---|---|
| .. | ||
| internal | ||
| plugin-development | ||
| release-notes | ||
| user | ||
| conf.py | ||
| faq.rst | ||
| glossary.rst | ||
| index.rst | ||
| requirements.txt | ||