Support files as targets/seeds/blacklist in presets#2996
Conversation
📊 Performance Benchmark Report
📈 Detailed Results (All Benchmarks)
🎯 Performance Summary✅ No significant performance changes detected (all changes <10%) 🐍 Python Version 3.11.15 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.0 #2996 +/- ##
=====================================
+ Coverage 91% 91% +1%
=====================================
Files 440 440
Lines 37230 37313 +83
=====================================
+ Hits 33711 33795 +84
+ Misses 3519 3518 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
We have a pre-existing mechanism for preset paths, |
|
Refactored to use PresetPath instead of custom resolution logic. Added a find_file() method because the existing find() is hardcoded for .yaml/.yml extensions and can't resolve target list files like targets.txt. It reuses the same search path infrastructure, just without the YAML-specific extension matching. |
Preset YAML files now support file paths in
target,seeds, andblacklistfields — the same way the CLI does with-t targets.txt.PresetPathmechanism, which already tracks the preset file's directoryCloses #1559