|
6 | 6 | rev: 0.6.13
|
7 | 7 | hooks:
|
8 | 8 | - id: uv-lock
|
9 |
| -# # https://github.com/astral-sh/ruff-pre-commit |
10 |
| -# - repo: https://github.com/astral-sh/ruff-pre-commit |
11 |
| -# rev: v0.11.4 |
12 |
| -# hooks: |
13 |
| -# - id: ruff |
14 |
| -# types_or: [ python, pyi ] |
15 |
| -# args: [ --fix ] |
16 |
| -# files: 'ci/.*|tests/.*' |
17 |
| -# - id: ruff-format |
18 |
| -# types_or: [ python, pyi ] |
19 |
| -# files: 'ci/.*|tests/.*' |
20 |
| -# # https://pre-commit.com/#new-hooks |
21 |
| -# - repo: local |
22 |
| -# hooks: |
23 |
| -# # https://github.com/microsoft/pyright/issues/3612 |
24 |
| -# # https://github.com/RobertCraigie/pyright-python#pre-commit |
25 |
| -# - id: pyright |
26 |
| -# name: Run Pyright on all files |
27 |
| -# # entry: /bin/bash -c 'find. -name "*.py" | xargs pyright --pythonversion 3.12' |
28 |
| -# entry: uv run pyright --pythonversion 3.12 |
29 |
| -# pass_filenames: true |
30 |
| -# types_or: [ python, pyi ] |
31 |
| -# language: system |
32 |
| -# files: 'ci/.*|tests/.*' |
| 9 | + # # https://github.com/astral-sh/ruff-pre-commit |
| 10 | + # - repo: https://github.com/astral-sh/ruff-pre-commit |
| 11 | + # rev: v0.11.4 |
| 12 | + # hooks: |
| 13 | + # - id: ruff |
| 14 | + # types_or: [python, pyi] |
| 15 | + # args: [ --fix ] |
| 16 | + # files: 'ci/.*|tests/.*' |
| 17 | + # - id: ruff-format |
| 18 | + # types_or: [python, pyi] |
| 19 | + # files: 'ci/.*|tests/.*' |
| 20 | + # # https://pre-commit.com/#new-hooks |
| 21 | + - repo: local |
| 22 | + hooks: |
| 23 | + # https://github.com/microsoft/pyright/issues/3612 |
| 24 | + # https://github.com/RobertCraigie/pyright-python#pre-commit |
| 25 | + - id: pyright |
| 26 | + name: Run Pyright on all files |
| 27 | + # entry: /bin/bash -c 'find. -name "*.py" | xargs pyright --pythonversion 3.12' |
| 28 | + entry: uv run pyright --pythonversion 3.12 |
| 29 | + pass_filenames: true |
| 30 | + types_or: [python, pyi] |
| 31 | + language: system |
| 32 | + files: 'ci/.*|tests/.*' |
0 commit comments