mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* don't modify directories * oops typo * dev_config/python * add config to CI * bump CI python to 3.10 * 3.11? * del actions/ * add suggestions * delete unused code * missed some * oops missed another one * remove a file
18 lines
564 B
YAML
18 lines
564 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/ server/ 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/ server/ agenthub/
|
|
always_run: true
|
|
pass_filenames: false
|