Kaynağa Gözat

Add pyright pre-commit hook

tags/v0.7.1
Ben Kurtovic 1 yıl önce
ebeveyn
işleme
96f51aad61
2 değiştirilmiş dosya ile 8 ekleme ve 1 silme
  1. +7
    -1
      .pre-commit-config.yaml
  2. +1
    -0
      pyproject.toml

+ 7
- 1
.pre-commit-config.yaml Dosyayı Görüntüle

@@ -1,11 +1,17 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
rev: v0.12.1
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format

- repo: https://github.com/doublify/pre-commit-clang-format
rev: 62302476d0da01515660132d76902359bed0f782
hooks:
- id: clang-format

- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.402
hooks:
- id: pyright

+ 1
- 0
pyproject.toml Dosyayı Görüntüle

@@ -73,6 +73,7 @@ optional = true

[tool.pyright]
pythonVersion = "3.9"
typeCheckingMode = "standard"
venvPath = "."
venv = ".venv"



Yükleniyor…
İptal
Kaydet