Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for token-based checkers #88

Open
stefan6419846 opened this issue Jul 15, 2022 · 0 comments
Open

Support for token-based checkers #88

stefan6419846 opened this issue Jul 15, 2022 · 0 comments

Comments

@stefan6419846
Copy link

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant