mirror of
https://github.com/umbra2728/ctfd-mcp.git
synced 2026-02-08 06:18:12 +03:00
522 B
522 B
Contributing
Setup
This repo uses uv and Python 3.13.
uv sync --group dev
Lint / format
uv run ruff check .
uv run ruff format .
To auto-fix what Ruff can:
uv run ruff check --fix .
Tests
uv run python -m unittest discover -s tests
tests/test_ctfd_client.py includes live tests that only run when CTFD_URL and credentials are set; otherwise they are skipped.
Pre-commit
uv run pre-commit install
uv run pre-commit run --all-files