llamacppctl/tests
dschlueter 9d47424fc1 chore(ci): add ruff and mypy, wire them into CI
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>
2026-07-07 10:29:07 +02:00
..
conftest.py Initial commit: llamacppctl – llama.cpp Docker server control CLI 2026-07-06 16:36:27 +02:00
test_actions.py test: close coverage gaps + opt-in integration smoke 2026-07-06 17:08:10 +02:00
test_cli.py test: close coverage gaps + opt-in integration smoke 2026-07-06 17:08:10 +02:00
test_config.py test: close coverage gaps + opt-in integration smoke 2026-07-06 17:08:10 +02:00
test_docker_ops.py fix(docker): override image healthcheck to the configured port 2026-07-07 09:53:33 +02:00
test_http_ops.py chore(ci): add ruff and mypy, wire them into CI 2026-07-07 10:29:07 +02:00
test_lock_ops.py Initial commit: llamacppctl – llama.cpp Docker server control CLI 2026-07-06 16:36:27 +02:00
test_prompt_files.py Initial commit: llamacppctl – llama.cpp Docker server control CLI 2026-07-06 16:36:27 +02:00
test_prompt_sources.py Initial commit: llamacppctl – llama.cpp Docker server control CLI 2026-07-06 16:36:27 +02:00
test_prompt_urls.py test: close coverage gaps + opt-in integration smoke 2026-07-06 17:08:10 +02:00