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?
to your account
Malformed expressions currently cause Dlint to raise an exception:
$ pipenv run python -m dlint.redos -p '(foo'
Traceback (most recent call last):
sre_constants.error: missing ), unterminated subpattern at position 0
Since we'll be running Dlint across many files and don't want it to crash we should handle this error gracefully. We can simply ignore malformed expressions.
The text was updated successfully, but these errors were encountered:
No branches or pull requests