- Python 3.11 (recommended; or newer)
- Poetry for dependency management.
-
Clone the Repository:
git clone https://github.com/punitarani/buff.git cd buff
-
Install Dependencies using Poetry:
poetry install
Poetry should automatically create a virtual environment for you. If it doesn't, you can initiate one manually:
poetry shell
-
Setup Environment Variables:
- Copy the
.config/.env.template
to.env
in the root directory. - Fill out the necessary environment variables in the
.env
file.
- Copy the
-
Setup Pre-commit Hooks: Use the provided Makefile to set up the necessary pre-commit hooks:
make setup
- Format Code:
make format
- Lint Code:
make lint