Closed timmens closed 4 months ago
Hi @timmens and @ChristianZimpelmann, nice catch! Thanks a lot!
I'm not sure where it fails right now, but we should generate all the paths we are collecting and then take a set of them.
If you want to start a PR, you are welcome. Otherwise, I will tackle it eventually. The error is not blocking anything right?
No, it's not blocking anything; it's rather cosmetic.
I can try to tackle this but it could take a few weeks until I can work on this.
main
branch of pytask.When setting multiple pytask paths with common subdirectories, the tasks in those subdirectories are counted twice in the collection. I have checked, and they are not being executed twice. (This was originally discovered by @ChristianZimpelmann.)
Code Sample, a copy-pastable example
pytask version: 0.5.0
Problem description
The first row says
Collected 2 tasks
, but in the Summary, it says1 Collected tasks
.Expected Output
I believe there should be the same number of collected tasks. Additionally, if the verbosity level is high, one could consider printing a warning.