Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 986 Bytes

CONTRIBUTING.md

File metadata and controls

53 lines (34 loc) · 986 Bytes

This document contains information about contributing to this repository. Please read it before contributing.

Setup Instructions

lanarky is built with Python 3.9 and managed by Poetry. Clone this repository and follow the steps below to get started.

Create conda environment:

conda create -n lanarky python=3.9 -y
conda activate lanarky

You can choose any other environment manager of your choice.

Install Poetry:

pip install poetry

Install Lanarky:

poetry install --all-extras

Pre-Commit

lanarky uses pre-commit to run code checks and tests before every commit.

To install the pre-commit hooks, run the following commands:

poetry run pre-commit install

To run the pre-commit hooks on all files, run the following command:

make pre-commit

Bump Version

Lanarky uses Makefile to bump versions:

make bump

Note: The make recipe bumps version and auto-commits the changes.