#!/usr/bin/env bash

set -ex

# Check code formatting (all files)
ruff format --diff .

# Lint code (all files)
ruff check --output-format=github .

# Type check all dlcalc modules
mypy dlcalc/

# Run all tests with coverage
pytest tests/ -v --cov=dlcalc --cov-report=term-missing
