Fix logger import (#985)

* fix logger import
* fix mypy version
* make mypy happy (#994)

---------

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
This commit is contained in:
Robert Brennan
2024-04-10 14:48:40 -05:00
committed by GitHub
parent 973a42fd78
commit 9846e24299
10 changed files with 58 additions and 49 deletions

View File

@@ -35,9 +35,8 @@ jobs:
- name: Create mypy cache directory
run: mkdir -p .mypy_cache
- name: Install dependencies
run: pip install ruff mypy types-PyYAML types-toml
run: pip install ruff mypy==1.9.0 types-PyYAML types-toml
- name: Run mypy
run: python -m mypy --install-types --non-interactive --config-file dev_config/python/mypy.ini opendevin/ agenthub/
- name: Run ruff
run: ruff check --config dev_config/python/ruff.toml opendevin/ agenthub/