File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ fail_fast : true
2+
3+ repos :
4+ - repo : https://github.com/astral-sh/ruff-pre-commit
5+ rev : v0.3.2
6+ hooks :
7+ - id : ruff
8+ args : [--fix, --exit-non-zero-on-fix]
9+ - repo : https://github.com/pre-commit/pre-commit-hooks
10+ rev : v4.5.0
11+ hooks :
12+ - id : check-yaml
13+ - id : check-added-large-files
14+ args : ['--maxkb=1024']
15+ - id : check-docstring-first
16+ exclude : |
17+ (?x)^(
18+ hello.py
19+ )$
20+ - id : check-executables-have-shebangs
21+ - id : check-merge-conflict
22+ - id : check-shebang-scripts-are-executable
23+ - id : check-symlinks
24+ - id : check-toml
25+ - id : check-yaml
26+ args : [--unsafe]
27+ - id : debug-statements
28+ - id : destroyed-symlinks
29+ - id : detect-private-key
30+ - id : end-of-file-fixer
31+ - id : fix-byte-order-marker
32+ - id : mixed-line-ending
33+ - id : pretty-format-json
34+ # https://pre-commit.com/#regular-expressions
35+ exclude : |
36+ (?x)^(
37+ .devcontainer/devcontainer.json|
38+ .vscode/launch.json|
39+ .vscode/settings.json
40+ )$
41+ args : ['--autofix', '--indent=2', '--no-sort-keys']
42+ - id : requirements-txt-fixer
You can’t perform that action at this time.
0 commit comments