mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-09 05:08:05 +00:00
Remove use of deprecated E999
from the fuzz-parser
script (#12150)
This commit is contained in:
parent
8f40928534
commit
7c8112614a
2 changed files with 10 additions and 5 deletions
|
@ -39,7 +39,7 @@ ExitCode = NewType("ExitCode", int)
|
|||
def contains_bug(code: str, *, ruff_executable: str) -> bool:
|
||||
"""Return `True` if the code triggers a parser error."""
|
||||
completed_process = subprocess.run(
|
||||
[ruff_executable, "check", "--select=E999", "--no-cache", "-"],
|
||||
[ruff_executable, "check", "--config", "lint.select=[]", "--no-cache", "-"],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
input=code,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue