You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self = <RuffFormatItem ruff::format>
def runtest(self):
> self.handler(self.fspath)
E TypeError: format_file() takes 1 positional argument but 2 were given
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#L98The text was updated successfully, but these errors were encountered: