Skip to content

Commit

Permalink
Replace --show-source with --output-format
Browse files Browse the repository at this point in the history
  • Loading branch information
iurisilvio committed Jul 9, 2024
1 parent cb1685e commit 6f428b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_ruff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ 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:
Expand Down

0 comments on commit 6f428b0

Please sign in to comment.