-
Notifications
You must be signed in to change notification settings - Fork 0
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
use sqlparse position tracking #4
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, like that this gets us back closer to the original!
pyproject.toml
Outdated
@@ -1,24 +1,26 @@ | |||
[tool.poetry] | |||
name = "sql_metadata" | |||
version = "2.8.0" | |||
license="MIT" | |||
license = "MIT" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All these formatting changes in this file seem like changes we might not want if it makes it differ from upstream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I think this was an overzealous vs code toml formatter - will revert the formatting changes
7c3b07e
to
2b5dd1e
Compare
6a55a75
to
10c065a
Compare
Pull Request Test Coverage Report for Build 6341838340
💛 - Coveralls |
This PR pulls in the version of sqlparse from hex-inc/sqlparse#4 and reverts the old position tracking implementation that we added and replaces it with a much simpler version that uses the token positions and lengths now provided by sqlparse. I'm doing some dev work on the ast-service with these new versions pulled in and have confirmed that they do not regress any tests