first commit

This commit is contained in:
2026-01-04 14:32:01 +03:00
commit f7ceacd07e
15 changed files with 2619 additions and 0 deletions

37
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,37 @@
# Contributing
## Setup
This repo uses `uv` and Python 3.13.
```bash
uv sync --group dev
```
## Lint / format
```bash
uv run ruff check .
uv run ruff format .
```
To auto-fix what Ruff can:
```bash
uv run ruff check --fix .
```
## Tests
```bash
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
```bash
uv run pre-commit install
uv run pre-commit run --all-files
```