feat: add type annotations to all 117 functions across 14 modules (Is… #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test & Lint | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| pip install pytest pytest-mock ruff mypy | |
| - name: Run tests | |
| run: | | |
| pytest tests/ -q | |
| - name: Ruff lint | |
| run: | | |
| ruff check agent_go/ --select=E,F,W --ignore=E501 | |
| - name: MyPy type check | |
| run: | | |
| mypy agent_go/ --ignore-missing-imports |