Welcome to BaseTemplate! This guide will help you get started with this project.
- Python 3.11 or higher
- uv (Python package manager)
- git (for version control)
git clone https://github.com/AI-ModCon/BaseTemplate.git
cd basetemplateuv syncFor development work, use the same uv environment and run tools through it:
uv sync --group dev --group testuv run pytestRun tests with coverage:
uv run pytest --cov=basetemplate --cov-report=html --cov-report=term-missingWe use Ruff for both linting and formatting.
uv run ruff format .uv run ruff check .Ruff handles import sorting as part of formatting and linting, so there is no separate isort step.
For more detailed documentation, see the docs directory.
If you encounter issues with the virtual environment:
# Recreate the environment from the lockfile
uv syncIf you have issues installing dependencies, run uv sync again to refresh the environment.
- Read the Contributing Guidelines
For questions or issues, please open a GitHub issue or check the FAQ.