-
Notifications
You must be signed in to change notification settings - Fork 22
don't import future as standalone #813
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
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
CF-748 |
PR Type
Bug fix, Tests
Description
Skip invalid and future imports
Handle None aliases safely
Reduce noisy warnings to debug
Add tests for alias edge cases
Diagram Walkthrough
File Walkthrough
code_extractor.py
Safer import insertion with alias and future handlingcodeflash/code_utils/code_extractor.py
__future__as module.parse_test_output.py
Robust XML parsing with quieter loggingcodeflash/verification/parse_test_output.py
testcase.nameis None.test_code_extractor_none_aliases_exact.py
Tests for import alias edge casestests/test_code_extractor_none_aliases_exact.py