-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Replace tokenization with tokenize_rt #77
Conversation
The standard library module `tokenize` does not round trip, so we had to implement our own tokenization on top of it. However, tokenize_rt does it better, so let's adopt it instead.
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 110 93 -17
Branches 31 26 -5
=========================================
- Hits 110 93 -17
|
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.
Much cleaner, thanks tokenize_rt! Only thing that stood out to me was the version pin but if we have a good reason that's fine for me.
Thanks, I removed the pin! Also fixed Windows CI. Can you please take another look? |
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.
Looks great!
@asottile Thank you for |
The standard library module
tokenize
does not round trip, so we had toimplement our own tokenization on top of it. However,
tokenize_rt
doesit better and will enable #75, so let's adopt it instead.