Explorar el Código

uncommenting ruff check

Sagar Hedaoo hace 11 meses
padre
commit
24be948a1c
Se han modificado 1 ficheros con 8 adiciones y 8 borrados
  1. 8 8
      .pre-commit-config.yaml

+ 8 - 8
.pre-commit-config.yaml

@@ -2,14 +2,14 @@ fail_fast: true
 
 repos:
 
-  # - repo: https://github.com/charliermarsh/ruff-pre-commit
-  #   rev: v0.1.0
-  #   hooks:
-  #     - id: ruff-format
-  #       args: [integration, reflex, tests]
-  #     - id: ruff
-  #       args: ["--fix", "--exit-non-zero-on-fix"]
-  #       exclude: '^integration/benchmarks/'
+  - repo: https://github.com/charliermarsh/ruff-pre-commit
+    rev: v0.1.0
+    hooks:
+      - id: ruff-format
+        args: [integration, reflex, tests]
+      - id: ruff
+        args: ["--fix", "--exit-non-zero-on-fix"]
+        exclude: '^integration/benchmarks/'
 
   - repo: https://github.com/RobertCraigie/pyright-python
     rev: v1.1.313