File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ * text =auto eol =lf
2+ * .{cmd, [cC ][mM ][dD ]} text eol =crlf
3+ * .{bat, [bB ][aA ][tT ]} text eol =crlf
Original file line number Diff line number Diff line change 1+ default_language_version :
2+ python : python3.11
3+ repos :
4+ - repo : https://github.com/pre-commit/pre-commit-hooks
5+ rev : v6.0.0
6+ hooks :
7+ - id : check-ast
8+ - id : check-merge-conflict
9+ - id : check-case-conflict
10+ - id : debug-statements
11+ - id : end-of-file-fixer
12+ exclude : (.*\.vscode\/.+json|.+code-workspace) # vscode </3 LF
13+ - id : mixed-line-ending
14+ - id : trailing-whitespace
15+ - repo : https://github.com/astral-sh/ruff-pre-commit
16+ rev : v0.12.10
17+ hooks :
18+ - id : ruff
19+ - id : ruff-format
20+ - repo : https://github.com/astral-sh/uv-pre-commit
21+ rev : 0.8.13
22+ hooks :
23+ - id : uv-lock
Original file line number Diff line number Diff line change @@ -17,4 +17,7 @@ echo 'eval "$(uv generate-shell-completion zsh)"' >> "/home/$USERNAME/.zshrc"
1717echo ' eval "$(uvx --generate-shell-completion zsh)"' >> " /home/$USERNAME /.zshrc"
1818
1919echo " uv sync ..."
20- uv sync
20+ uv sync
21+
22+ echo " install pre-commit hooks ..."
23+ uv run pre-commit install
You can’t perform that action at this time.
0 commit comments