No description
- Python 99.4%
- Shell 0.6%
| githooks | ||
| tests | ||
| client_async.py | ||
| exceptions.py | ||
| main.py | ||
| pyproject.toml | ||
| rcio.py | ||
| README.md | ||
| test.py | ||
| test_async.py | ||
| uv.lock | ||
Development
pyproject.toml template for basic devx
Version management
curl -LsSf https://astral.sh/uv/install.sh | sh # install uv: https://docs.astral.sh/uv/#getting-started
uv venv --python <version> # if you don't have python 3.8+ installed
Linting + formatting
uv run ruff check . --fix --preview
uv run ruff format .
Typechecking
uv run ty check
Testing
- Configure log level + format in
constants.py
uv run pytest -svrP .
uv run pytest -vvs --cov=. --cov-report=html --cov-report=term-missing --cov-branch 2>&1 # with coverage
Automate the running of these by setting up git hooks
git config core.hooksPath .githooks
Usage
source .venv/bin/activate
python3 main.py -h
TODO
Hypothesis, Atheris