mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
18 lines
548 B
YAML
18 lines
548 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.3.3
|
|
hooks:
|
|
- id: ruff
|
|
entry: ruff check --config dev_config/python/ruff.toml opendevin/ agenthub/
|
|
always_run: true
|
|
pass_filenames: false
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.9.0
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies: [types-requests, types-setuptools]
|
|
entry: mypy --config-file dev_config/python/mypy.ini opendevin/ agenthub/
|
|
always_run: true
|
|
pass_filenames: false
|