diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d422da4a467c86b14006cde63ca4de80972a5cf8..a6b7d213ba46eef58786e01a647592048047b53b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,8 +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", "--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 diff --git a/python/myproj/simulation/core.py b/python/myproj/simulation/core.py index a3b2f98f7896696699cfa8a7f19e246386af2a84..d540c4369c5f0c8fc5d182c6d8e7b5e8dfd8286d 100644 --- a/python/myproj/simulation/core.py +++ b/python/myproj/simulation/core.py @@ -1,7 +1,10 @@ +import os + from ._csrc._hello import add, complexf def div(a: float, b: float) -> float: + print(os.path) return a / b + 1