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+ # See https://pre-commit.com for more information
2+ # See https://pre-commit.com/hooks.html for more hooks
3+ repos :
4+ - repo : https://github.com/pre-commit/pre-commit-hooks
5+ rev : v3.2.0
6+ hooks :
7+ - id : trailing-whitespace
8+ - id : end-of-file-fixer
9+ - id : check-yaml
10+ - id : check-added-large-files
11+ - id : debug-statements
12+ - repo : https://github.com/pre-commit/mirrors-mypy
13+ rev : v1.8.0
14+ hooks :
15+ - id : mypy
16+ # Using this mirror lets us use mypyc-compiled black, which is about 2x faster
17+ - repo : https://github.com/psf/black-pre-commit-mirror
18+ rev : 23.12.1
19+ hooks :
20+ - id : black
21+ # It is recommended to specify the latest version of Python
22+ # supported by your project here, or alternatively use
23+ # pre-commit's default_language_version, see
24+ # https://pre-commit.com/#top_level-default_language_version
25+ language_version : python3.12
26+ - repo : https://github.com/astral-sh/ruff-pre-commit
27+ # Ruff version.
28+ rev : v0.1.14
29+ hooks :
30+ # Run the linter.
31+ - id : ruff
32+ args : [ --fix ]
33+ # Run the formatter.
34+ # - id: ruff-format
You can’t perform that action at this time.
0 commit comments