File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
2- - repo : https://github.com/psf/black
3- rev : 22.3.0 # Replace by any tag/version: https://github.com/psf/black/tags
4- hooks :
5- - id : black
6- language_version : python3 # Should be a command that runs python3.6+
2+ - repo : https://github.com/pre-commit/pre-commit-hooks
3+ rev : v5.0.0
4+ hooks :
5+ - id : check-toml
6+ - id : check-yaml
7+ - id : end-of-file-fixer
8+ - id : trailing-whitespace
9+ - id : detect-private-key
10+ - id : pretty-format-json
11+ args : [--autofix]
12+ - repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
13+ rev : v2.15.0
14+ hooks :
15+ - id : pretty-format-toml
16+ args : [--autofix]
17+ - id : pretty-format-yaml
18+ args : [--autofix]
19+ - repo : https://github.com/astral-sh/ruff-pre-commit
20+ rev : v0.12.7
21+ hooks :
22+ # Run the linter.
23+ - id : ruff
24+ types_or : [python, pyi, jupyter]
25+ args : [--fix, --show-fixes]
26+ # Run the formatter.
27+ - id : ruff-format
28+ types_or : [python, pyi, jupyter]
You can’t perform that action at this time.
0 commit comments