# ruff: ignore[ARG001]
def foo(bar, baz):
return bar * 2
Run ruff check --isolated --select ARG,ERA --preview t2.py:
error[[ERA001](https://docs.astral.sh/ruff/rules/commented-out-code)]: Found commented-out code
--> t2.py:1:1
|
1 | # ruff: ignore[ARG001]
| ^^^^^^^^^^^^^^^^^^^^^^
2 | def foo(bar, baz):
3 | return bar * 2
|
help: Remove commented-out code
Found 1 error.
Run
ruff check --isolated --select ARG,ERA --preview t2.py: