Commit 021abd6
committed
Fix mypy CI failures and module path conflicts
✅ Address mypy static analysis issues:
- Add type ignore comment for yaml import in deepagent.py
- Add types-PyYAML dependency to requirements-dev.txt
- Add py.typed marker file for proper package typing
- Update CI workflow to use --explicit-package-bases flag
🔧 CI workflow improvements:
- Fix module name conflict between 'parsers' and 'src.parsers'
- Use explicit-package-bases to resolve mypy path mapping issues
- Ensure consistent mypy behavior between local and CI environments
✅ Verification completed:
- All 78 unit tests passing
- Ruff linting clean on src/ directory
- Ruff formatting verified
This resolves the mypy errors preventing CI from passing while maintaining all existing functionality.1 parent 6a9cb54 commit 021abd6
File tree
4 files changed
+3
-2
lines changed- .github/workflows
- src
- agents
4 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Whitespace-only changes.
0 commit comments