Skip to content

Commit 41091e4

Browse files
committed
Update pre-commit and fix line length
1 parent 4c8e672 commit 41091e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.0.1
9+
rev: v5.0.0
1010
hooks:
1111
- id: check-yaml
1212
- id: end-of-file-fixer

tools/ruff_bindings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def process_one_file(fn):
9696
try:
9797
# Line length is 95 so that with "//| " the max is 99
9898
result = subprocess.run(
99-
["ruff", "format", "--line-length 95", "-q", "-"],
99+
["ruff", "format", "--line-length", "95", "-q", "-"],
100100
input=py_content,
101101
check=True,
102102
stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)