Skip to content

Commit

Permalink
ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Sep 2, 2024
1 parent 45b5a94 commit 56bda16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ruff_generate_baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ def get_max_line_length(ruff_out: tuple[str] = ruff_out) -> int:
line_length = ""

ignore = f"--ignore={','.join(sorted(violations))} " if violations else ""
ruff_cmd = f"ruff {ignore}{line_length}--show-source --statistics .{max_complexity}"
ruff_cmd = f"ruff check {ignore}{line_length}--show-source --statistics .{max_complexity}"
print(ruff_cmd)
run(ruff_cmd.split(), text=True)

0 comments on commit 56bda16

Please sign in to comment.