Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
ben
/
mwparserfromhell
espelhamento de
https://github.com/earwig/mwparserfromhell
Observar
1
Favorito
1
Fork
0
Código
Versões
27
Atividade
Ver código fonte
Add pyright pre-commit hook
tags/v0.7.1
Ben Kurtovic
1 ano atrás
pai
17d993594d
commit
96f51aad61
2 arquivos alterados
com
8 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+7
-1
.pre-commit-config.yaml
+1
-0
pyproject.toml
+ 7
- 1
.pre-commit-config.yaml
Ver arquivo
@@ -1,11 +1,17 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1
1.13
rev: v0.1
2.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
Ver arquivo
@@ -73,6 +73,7 @@ optional = true
[tool.pyright]
pythonVersion = "3.9"
typeCheckingMode = "standard"
venvPath = "."
venv = ".venv"
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar