flake8-plugin-utils
flake8-plugin-utils copied to clipboard
Support for token-based checkers
- Date you used flake8-plugin-utils: 2022-07-15
- flake8-plugin-utils version used, if any: 1.3.2
- Python version, if any: 3.6
Description
I tried to implement a token-based parser instead of an AST-based one. Unfortunately, neither the Plugin nor the Visitor class support this.
For the Plugin class, the basic issue is the same as in #70, as the required tokens are not available inside the Visitor objects.
The current Visitor class does not support token-based visits and error reporting either and is rather tailored to AST traversal.