diff --git a/lintrunner_adapters/adapters/ruff_linter.py b/lintrunner_adapters/adapters/ruff_linter.py index 2c7ec50..461a728 100644 --- a/lintrunner_adapters/adapters/ruff_linter.py +++ b/lintrunner_adapters/adapters/ruff_linter.py @@ -103,6 +103,7 @@ def check_files( sys.executable, "-m", "ruff", + "check", "--exit-zero", "--quiet", "--output-format=json", @@ -186,6 +187,7 @@ def check_file_for_fixes( sys.executable, "-m", "ruff", + "check", "--fix-only", "--exit-zero", *([f"--config={config}"] if config else []),