-
Notifications
You must be signed in to change notification settings - Fork 645
Create scanner for removing comments and continuations #2230
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
Conversation
8W9aG
commented
Mar 27, 2025
- When reading the requirements txt, handle line continuations and remove comments
* When reading the requirements txt, handle line continuations and remove comments
aron
left a comment
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.
Thanks for fixing this! In general the approach looks great. Before we merge I'd like to see tests for CRLF line endings and full line comments just to complete the coverage.
Co-authored-by: Aron Carroll <[email protected]> Signed-off-by: Will Sackfield <[email protected]>
* Scanner exits when the token is nil on return
aron
left a comment
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, thanks for fixing this!