Skip to content

Commit 3d3264f

Browse files
committed
update pre-commit hooks
ran pre-commit
1 parent ff91fd8 commit 3d3264f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v4.6.0
44
hooks:
55
- id: trailing-whitespace
66
exclude: cpp-linter-lib/tests/capture_tools_output/cpp-linter/cpp-linter/test_git_lib.patch
@@ -14,7 +14,7 @@ repos:
1414
- id: mixed-line-ending
1515
args: ["--fix=lf"]
1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.1.8
17+
rev: v0.5.2
1818
hooks:
1919
# Run the python linter.
2020
- id: ruff

cpp-linter-py/cpp_linter/entry_point.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
point alias ("path/to/cpp-linter.exe"). Thus, the parser in `cli.rs` will halt on an
1616
error because it is not configured to handle positional arguments.
1717
"""
18+
1819
import sys
1920

2021
# Using relative import to load binary lib with same name as root package.

0 commit comments

Comments
 (0)