Skip to content

Commit

Permalink
Update ruff_linter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justinchuby authored Oct 16, 2023
1 parent 027635d commit 6afc93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lintrunner_adapters/adapters/ruff_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

def explain_rule(code: str) -> str:
proc = run_command(
["ruff", "rule", "--output-format=json", code],
["ruff", "rule", "--format=json", code],
check=True,
)
rule = json.loads(str(proc.stdout, "utf-8").strip())
Expand Down

0 comments on commit 6afc93a

Please sign in to comment.