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
error: Fix introduced a syntax error. Reverting all changes.
This indicates a bug in Ruff. If you could open an issue at:
https://github.com/astral-sh/ruff/issues/new?title=%5BFix%20error%5D
...quoting the contents of `path/to/file.py`, the rule codes PT007, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!
path/to/file.py:16:5: PT007 Wrong values type in `@pytest.mark.parametrize` expected `tuple` of `tuple`
Found 1 error.
[*] 1 fixable with the --fix option.
However, changing the pytest parameterize code block to:
Here is a minimal
.ruff.toml
file using0.3.5
:Here is the code snippet
Running this command
outputs this error
However, changing the pytest parameterize code block to:
allows the ruff command to run successfully. And successfully changes the parameterize code block to:
The text was updated successfully, but these errors were encountered: