Skip to content

fix: 清理所有模块未使用导入 — ruff F401 清零 (Issue #31) #20

fix: 清理所有模块未使用导入 — ruff F401 清零 (Issue #31)

fix: 清理所有模块未使用导入 — ruff F401 清零 (Issue #31) #20

Workflow file for this run

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