File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ default_language_version :
2+ python : python3.9
3+ repos :
4+ - repo : https://github.com/pre-commit/pre-commit-hooks
5+ rev : v4.5.0
6+ hooks :
7+ - id : check-added-large-files
8+ - id : check-docstring-first
9+ - id : check-merge-conflict
10+ - id : check-yaml
11+ - id : debug-statements
12+ - id : end-of-file-fixer
13+ - id : no-commit-to-branch
14+ args : ["--branch", "main"]
15+ - id : trailing-whitespace
16+ - repo : https://github.com/astral-sh/ruff-pre-commit
17+ rev : v0.3.4
18+ hooks :
19+ - id : ruff
20+ types_or : [
21+ python,
22+ pyi,
23+ jupyter,
24+ ]
25+ args : [--fix]
26+ - id : ruff-format
27+ types_or : [
28+ python,
29+ pyi,
30+ jupyter,
31+ ]
32+ - repo : https://github.com/pre-commit/mirrors-mypy
33+ rev : v1.9.0
34+ hooks :
35+ - id : mypy
36+ args : [
37+ --strict,
38+ --ignore-missing-imports,
39+ --disable-error-code=misc,
40+ --disable-error-code=no-any-return,
41+ ]
42+ additional_dependencies : [
43+ types-requests<2.32,
44+ types-toml<0.11,
45+ types-tqdm<4.67,
46+ ]
You can’t perform that action at this time.
0 commit comments