Skip to content

Commit e221b56

Browse files
markomanninenclaude
andcommitted
fix: Install types-aiofiles in CI and add mypy flags
CI was failing because types-aiofiles wasn't installed, causing: 'Library stubs not installed for "aiofiles"' Also added --ignore-missing-imports and --explicit-package-bases flags to match local mypy configuration. Verified locally: ✓ mypy passes ✓ black passes ✓ ruff passes ✓ 15 tests pass, 6 xfail 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1f342d5 commit e221b56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python -m pip install -e .
2929
python -m pip install pytest pytest-asyncio pytest-json-report
3030
# Install linters required by the workflow
31-
python -m pip install black mypy
31+
python -m pip install black mypy types-aiofiles
3232
# Optional: try to pre-install ruff (prefer binary) but don't fail if unavailable
3333
python -m pip install "ruff>=0.16.0" --prefer-binary --index-url https://pypi.org/simple || true
3434
- name: Run linters and type checks
@@ -38,7 +38,7 @@ jobs:
3838
# Black check
3939
python -m black --check .
4040
# Mypy type check
41-
python -m mypy src
41+
python -m mypy src --ignore-missing-imports --explicit-package-bases
4242
- name: Run tests
4343
run: |
4444
python -m pytest -q

0 commit comments

Comments
 (0)