#!/bin/bash

set -x

# run ruff linter
uv run --directory api --dev ruff check --fix ./

# run ruff formatter
uv run --directory api --dev ruff format ./

# run dotenv-linter linter
uv run --project api --dev dotenv-linter ./api/.env.example ./web/.env.example

# run mypy check
dev/mypy-check
