increase test coverage for function discovery#287
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
93801ac to
c235508
Compare
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like
Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
| # you can use "[^f]\".*\{LF\}\" to find any lines in your code that use this without the f-string | ||
| LF: str = os.linesep | ||
| if TYPE_CHECKING: | ||
| codeflash_temp_dir: Path |
There was a problem hiding this comment.
this looks odd, why not just add types to the global variables?
PR Type
Tests, Enhancement
Description
Encapsulate compatibility utilities in Compat class
Re-export compat paths via class instance
Add comprehensive tests for filter_functions behavior
Cover ignoring tests dirs, paths, submodules, packages
Changes walkthrough 📝
compat.py
Encapsulate compat utilities in classcodeflash/code_utils/compat.py
Compatclass for environment variables@propertymethods_compatinstance and re-exported valuestest_function_discovery.py
Add comprehensive filter_functions teststests/test_function_discovery.py
test_filter_functionscovering filter logiccodeflash_temp_dir