We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2a1df commit 652365eCopy full SHA for 652365e
.pre-commit-config.yaml
@@ -20,6 +20,20 @@ repos:
20
files: \.(cmake|CMakeLists\.txt)$
21
exclude: ^(3rdparty/|build.*/|install/)
22
23
+ # Ruff Python linter
24
+ - repo: https://github.com/charliermarsh/ruff-pre-commit
25
+ rev: v0.12.4
26
+ hooks:
27
+ - id: ruff
28
+ args: [--fix]
29
+ - id: ruff-format
30
+
31
+ # Flake8 Python style/lint checker (supplemental to Ruff)
32
+ - repo: https://github.com/pycqa/flake8
33
+ rev: 7.3.0
34
35
+ - id: flake8
36
37
# Configuration
38
default_stages: [pre-commit]
39
fail_fast: false
0 commit comments