Skip to content

Commit

Permalink
[CI] Update ruff to 0.1.1
Browse files Browse the repository at this point in the history
To keep it in sync with pytorch
  • Loading branch information
malfet committed Oct 30, 2023
1 parent 13c071f commit 3229f7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .lintrunner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ init_command = [
'python3',
'tools/linter/adapters/pip_init.py',
'--dry-run={{DRYRUN}}',
'ruff==0.0.290',
'ruff==0.1.1',
]
is_formatter = true
2 changes: 1 addition & 1 deletion tools/linter/adapters/ruff_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def check_files(
"ruff",
"--exit-zero",
"--quiet",
"--format=json",
"--output-format=json",
*([f"--config={config}"] if config else []),
*filenames,
],
Expand Down

0 comments on commit 3229f7f

Please sign in to comment.