Skip to content

Commit f5d07ad

Browse files
authored
add more checks for the pre-commit config (OpenHands#279)
1 parent 3d7a86f commit f5d07ad

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

dev_config/python/.pre-commit-config.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v3.2.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: debug-statements
9+
- id: double-quote-string-fixer
10+
- id: requirements-txt-fixer
11+
12+
- repo: https://github.com/hhatto/autopep8
13+
rev: v2.1.0
14+
hooks:
15+
- id: autopep8
16+
17+
- repo: https://github.com/asottile/setup-cfg-fmt
18+
rev: v2.5.0
19+
hooks:
20+
- id: setup-cfg-fmt
21+
always_run: true
22+
pass_filenames: false
23+
224
- repo: https://github.com/astral-sh/ruff-pre-commit
325
rev: v0.3.3
426
hooks:

0 commit comments

Comments
 (0)