mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 02:12:22 +00:00
Add Fix::applicability
to JSON output (#4341)
This commit is contained in:
parent
04097d194c
commit
ddbe5a1243
4 changed files with 7 additions and 4 deletions
|
@ -93,6 +93,7 @@ fn test_stdin_json() -> Result<()> {
|
|||
"code": "F401",
|
||||
"message": "`os` imported but unused",
|
||||
"fix": {{
|
||||
"applicability": "Unspecified",
|
||||
"message": "Remove unused import: `os`",
|
||||
"edits": [
|
||||
{{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue