#!/bin/bash
set -e

echo "Running flake8 linter..."
flake8 . --config=.flake8 --count --show-source --statistics

echo "Running pytest tests..."
pytest tests/ -v --cov=. --cov-report=term-missing --cov-report=xml

echo "Lint and test completed successfully!"
