Skip to content

Commit c917eaf

Browse files
committed
add pre-commit hook configurations
1 parent 24f7051 commit c917eaf

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.pre-commit-config.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
default_language_version:
2+
python: python3.10
3+
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v5.0.0
7+
hooks:
8+
- id: check-added-large-files
9+
- id: check-toml
10+
- id: check-yaml
11+
- id: end-of-file-fixer
12+
- id: trailing-whitespace
13+
14+
- repo: https://github.com/pycqa/isort
15+
rev: 6.0.1
16+
hooks:
17+
- id: isort
18+
19+
- repo: https://github.com/astral-sh/ruff-pre-commit
20+
rev: v0.11.12
21+
hooks:
22+
- id: ruff
23+
args:
24+
- --fix
25+
- id: ruff-format

0 commit comments

Comments
 (0)