-
Notifications
You must be signed in to change notification settings - Fork 22
Improve addopts masking (fixes repos with addopts which interfere with cf) #812
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 🔍(Review updated until commit b7dc7bd)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to b7dc7bd
Previous suggestionsSuggestions up to commit 333271c
|
Persistent review updated to latest commit b7dc7bd |
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
This PR is now faster! 🚀 Aseem Saxena accepted my code suggestion above. |
User description
Fixes issues with dd-trace-py, still need to test, rough on the edges
PR Type
Enhancement, Tests
Description
Support multiple pytest config files
Filter blacklisted addopts arguments
Safely modify and restore configs
Add comprehensive tests
Diagram Walkthrough
File Walkthrough
code_utils.py
Robust multi-file addopts filtering and restoration
codeflash/code_utils/code_utils.py
config_parser.py
Discover and cache closest pytest config files
codeflash/code_utils/config_parser.py
test_code_utils.py
Tests for addopts filtering and safe restoration
tests/code_utils/test_code_utils.py