Jeremiah Lowin commited on
Commit
85d759e
·
1 Parent(s): b30e5c9

Update pre-commit

Browse files
Files changed (1) hide show
  1. .pre-commit-config.yaml +12 -2
.pre-commit-config.yaml CHANGED
@@ -13,8 +13,18 @@ repos:
13
  types_or: [yaml, json5]
14
 
15
  - repo: https://github.com/astral-sh/ruff-pre-commit
16
- rev: v0.8.0
 
17
  hooks:
18
- - id: ruff-format
19
  - id: ruff
20
  args: [--fix, --exit-non-zero-on-fix]
 
 
 
 
 
 
 
 
 
 
13
  types_or: [yaml, json5]
14
 
15
  - repo: https://github.com/astral-sh/ruff-pre-commit
16
+ # Ruff version.
17
+ rev: v0.11.4
18
  hooks:
19
+ # Run the linter.
20
  - id: ruff
21
  args: [--fix, --exit-non-zero-on-fix]
22
+ # Run the formatter.
23
+ - id: ruff-format
24
+
25
+ - repo: https://github.com/northisup/pyright-pretty
26
+ rev: v0.1.0
27
+ hooks:
28
+ - id: pyright-pretty
29
+ files: ^src/|^tests/
30
+ exclude: ^examples/