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
The following throws:
l1 = Location("path", None, None, 1, -1) l2 = Location("path", None, None, 1, 2) l1 < l2
This is because Location.__lt__ attempts to compare None with an integer. This fails on newer python version.
Location.__lt__
None
The text was updated successfully, but these errors were encountered:
Don't compare integers to None in Location.__lt__
2fe341c
Check if the character value is None and if so substitute it with -1 when performing comparisons. Fixes prospector-dev#116
a90242a
Successfully merging a pull request may close this issue.
The following throws:
This is because
Location.__lt__
attempts to compareNone
with an integer. This fails on newer python version.The text was updated successfully, but these errors were encountered: