File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/pre-commit/pre-commit-hooks
3+ rev : v5.0.0
4+ hooks :
5+ - id : check-added-large-files
6+ # Prevent giant files from being committed.
7+ - id : check-toml
8+ # Attempts to load all TOML files to verify syntax.
9+ - id : check-yaml
10+ # Attempts to load all yaml files to verify syntax.
11+ - id : check-ast
12+ # Simply check whether files parse as valid python.
13+ - id : check-case-conflict
14+ # Check for files with names that would conflict on a case-insensitive
15+ # filesystem like MacOS HFS+ or Windows FAT.
16+ - id : check-json
17+ # Attempts to load all json files to verify syntax.
18+ - id : end-of-file-fixer
19+ # Makes sure files end in a newline and only a newline.
20+ exclude_types : [image]
21+ - id : trailing-whitespace
22+ # Trims trailing whitespace.
23+ - id : mixed-line-ending
24+ # Makes all line endings unix-style
25+ args : [--fix=lf]
26+ - repo : https://github.com/psf/black
27+ rev : 25.1.0
28+ hooks :
29+ - id : black
You can’t perform that action at this time.
0 commit comments