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
Assuming test.py contains the content pasted above:
ruff check --preview test.py
Current Ruff settings
[tool.ruff.lint]
select = [
"C419",
]
Current Ruff version
0.5.2
Description
Perhaps issues aren't supposed to be created for --preview warnings. If so, let me know.
The C419 warning will trigger for line 3 but not for line 4. I expected that it would trigger for both lines.
The text was updated successfully, but these errors were encountered:
ember91
changed the title
C419 does not warn if the second parameter is passed to sum()
C419 in --preview does not warn if a second parameter is passed to sum()
Jul 17, 2024
List of keywords searched before creating this issue:
C419
Minimal code snippet that reproduces the bug
Invoked command
Assuming
test.py
contains the content pasted above:Current Ruff settings
Current Ruff version
0.5.2
Description
Perhaps issues aren't supposed to be created for
--preview
warnings. If so, let me know.The C419 warning will trigger for line 3 but not for line 4. I expected that it would trigger for both lines.
The text was updated successfully, but these errors were encountered: