diff --git a/pytest_ruff/__init__.py b/pytest_ruff/__init__.py index 031928a..8ea9826 100644 --- a/pytest_ruff/__init__.py +++ b/pytest_ruff/__init__.py @@ -86,7 +86,14 @@ def collect(self): def check_file(path): ruff = find_ruff_bin() - command = [ruff, "check", path, "--quiet", "--show-source", "--force-exclude"] + command = [ + ruff, + "check", + path, + "--quiet", + "--output-format=full", + "--force-exclude", + ] child = Popen(command, stdout=PIPE, stderr=PIPE) stdout, _ = child.communicate() if stdout: