mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-09 13:18:18 +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:
|
def contains_bug(code: str, *, ruff_executable: str) -> bool:
|
||||||
"""Return `True` if the code triggers a parser error."""
|
"""Return `True` if the code triggers a parser error."""
|
||||||
completed_process = subprocess.run(
|
completed_process = subprocess.run(
|
||||||
[ruff_executable, "check", "--select=E999", "--no-cache", "-"],
|
[ruff_executable, "check", "--config", "lint.select=[]", "--no-cache", "-"],
|
||||||
capture_output=True,
|
capture_output=True,
|
||||||
text=True,
|
text=True,
|
||||||
input=code,
|
input=code,
|
||||||
|
|
|
@ -10,22 +10,27 @@ markdown-it-py==3.0.0
|
||||||
# via rich
|
# via rich
|
||||||
mdurl==0.1.2
|
mdurl==0.1.2
|
||||||
# via markdown-it-py
|
# via markdown-it-py
|
||||||
pygments==2.17.2
|
pygments==2.18.0
|
||||||
# via rich
|
# via rich
|
||||||
pysource-codegen==0.5.2
|
pysource-codegen==0.5.2
|
||||||
|
# via -r scripts/fuzz-parser/requirements.in
|
||||||
pysource-minimize==0.6.3
|
pysource-minimize==0.6.3
|
||||||
|
# via -r scripts/fuzz-parser/requirements.in
|
||||||
rich==13.7.1
|
rich==13.7.1
|
||||||
# via
|
# via
|
||||||
# pysource-minimize
|
# pysource-minimize
|
||||||
# rich-argparse
|
# rich-argparse
|
||||||
rich-argparse==1.4.0
|
rich-argparse==1.5.2
|
||||||
ruff==0.4.2
|
# via -r scripts/fuzz-parser/requirements.in
|
||||||
|
ruff==0.5.0
|
||||||
|
# via -r scripts/fuzz-parser/requirements.in
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
# via
|
# via
|
||||||
# asttokens
|
# asttokens
|
||||||
# astunparse
|
# astunparse
|
||||||
termcolor==2.4.0
|
termcolor==2.4.0
|
||||||
typing-extensions==4.11.0
|
# via -r scripts/fuzz-parser/requirements.in
|
||||||
|
typing-extensions==4.12.2
|
||||||
# via pysource-codegen
|
# via pysource-codegen
|
||||||
wheel==0.43.0
|
wheel==0.43.0
|
||||||
# via astunparse
|
# via astunparse
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue