Skip to content
Snippets Groups Projects
Commit 0cad8a12 authored by Xuefeng Ding's avatar Xuefeng Ding
Browse files

try to fix

parent cf0eb81a
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,8 @@ repos:
rev: v0.7.4 # Use the latest version
hooks:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix", "--show-fixes"]
# args: ["--fix", "--exit-non-zero-on-fix", "--show-fixes"]
args: ["--fix", "--show-fixes"]
- id: ruff-format
- repo: https://github.com/cheshirekow/cmake-format-precommit
......
......@@ -2,7 +2,7 @@ from ._csrc._hello import add, complexf
def div(a: float, b: float) -> float:
return a / b
return a / b + 1
def complex2(a: float, b: float) -> float:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment