We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It takes ages to check a file with very long statement (for example https://github.com/WeblateOrg/language-data/blob/master/weblate_language_data/check_languages.py takes minute and half to check).
The problem seems to be in:
https://github.com/sobolevn/flake8-eradicate/blob/a9866301eb145be5b2f17ae58532b549d97c53a0/flake8_eradicate.py#L126-L129
The _tokens accumulate until the statement parsing is complete and flake8-eradicate checks all the tokens in the list for every line.
The text was updated successfully, but these errors were encountered:
@nijel PRs are welcome! I would love to release a version with the fix.
Sorry, something went wrong.
Unfortunately, my knowledge of flake8 plugins is exactly zero, otherwise the PR would be already there...
Successfully merging a pull request may close this issue.
It takes ages to check a file with very long statement (for example https://github.com/WeblateOrg/language-data/blob/master/weblate_language_data/check_languages.py takes minute and half to check).
The problem seems to be in:
https://github.com/sobolevn/flake8-eradicate/blob/a9866301eb145be5b2f17ae58532b549d97c53a0/flake8_eradicate.py#L126-L129
The _tokens accumulate until the statement parsing is complete and flake8-eradicate checks all the tokens in the list for every line.
The text was updated successfully, but these errors were encountered: