#!/bin/bash
set -e
. ./activate.sh
echo Running ruff src
ruff check --fix src --exclude src/aicode/aider-install
echo Running ruff tests
ruff check --fix tests
echo Running black src tests
black src tests --exclude src/aicode/aider-install
echo Running isort src tests
isort --profile black src tests --skip src/aicode/aider-install
echo Running flake8 src tests
flake8 src tests --exclude src/aicode/aider-install
echo Running mypy src
mypy src tests --exclude src/aicode/aider-install
echo Linting complete!
exit 0
