Back the shipped py.typed promise with an enforced type check and a linter: - Add ruff + mypy (+ types-requests) to the dev extras and dev requirements, with [tool.ruff]/[tool.mypy] config in pyproject.toml (mypy checks the package, not the tests). - Add a lint job to the Forgejo workflow running ruff check + mypy. - Fix the issues this surfaced: type FileLock.fd as TextIO | None, add a targeted type: ignore for the intentional socket.getaddrinfo monkeypatch, and drop an unused import. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_actions.py | ||
| test_cli.py | ||
| test_config.py | ||
| test_docker_ops.py | ||
| test_http_ops.py | ||
| test_lock_ops.py | ||
| test_prompt_files.py | ||
| test_prompt_sources.py | ||
| test_prompt_urls.py | ||