Open webknjaz opened 3 years ago
Hey @nedbat, could you check this PR in the context of your report #20?
I hope this feature will be incorporated soon because my F6401 is really annoying me. Sometimes it just show cannot-enumerate-pytest-fixtures
and I don't know what went wrong,
@webknjaz thanks, this does fix my issue.
Any further progress on this? Really appreciate if this mr can be merged with a new version released.
I've confirmed that this pull request prevents the errors I reported.
@reverbc Can this get merged & published?
This change applies the pre-existing patterns to identify if the files with collection problems are tests. It is then used to eliminate the false-positives of F6401 (cannot-enumerate-pytest-fixtures).
As a side effect, this patch also includes precise file paths that may be used to reproduce the problem.
Fixes #20 Fixes #21