Closed boidolr closed 11 months ago
I had the same issue in #7 and put up a bugfix PR here, but I found one case where behavior isn't intuitive (that one failing test): https://github.com/businho/pytest-ruff/pull/8
Fixed by #8. 🙏🏻
I was really interested in integrating ruff format, did a bad release for tat and didn't had time to make it work in my projects. 😞
glad i could help! cheers
Thanks for the quick fix @skellys and @iurisilvio for providing this package :) Also sorry for duplicating the issue.
Using pytest-ruff v0.2:
I think the issue is that we get passed
self
here: https://github.com/businho/pytest-ruff/blob/main/pytest_ruff.py#L98