File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ ci :
2+ autofix_prs : true
3+ autofix_commit_msg : |
4+ [pre-commit.ci] auto fixes from pre-commit.com hooks
5+
6+ for more information, see https://pre-commit.ci
7+
8+ repos :
9+ - repo : https://github.com/pre-commit/pre-commit-hooks
10+ rev : v6.0.0
11+ hooks :
12+ - id : trailing-whitespace
13+ exclude : ' (.*testio.*|.*testempty.*|.*-bug.*)'
14+ - id : end-of-file-fixer
15+ exclude : ' (.*testio.*|.*testempty.*|.*-bug.*)'
16+ - id : check-yaml
17+ - id : check-merge-conflict
18+ args : [ --assume-in-merge ]
19+ - id : check-added-large-files
20+ name : check-added-large-files (>3000kb)
21+ args : ['--maxkb=3000']
22+
23+ - repo : https://github.com/astral-sh/ruff-pre-commit
24+ # Ruff version.
25+ rev : v0.14.2
26+ hooks :
27+ # Run the linter.
28+ - id : ruff-check
29+ args : [ --fix, --exit-non-zero-on-fix ]
30+ types_or : [ python, pyi, jupyter ]
31+ require_serial : true
32+ # Run the formatter.
33+ - id : ruff-format
34+ types_or : [ python, pyi, jupyter ]
You can’t perform that action at this time.
0 commit comments