Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@ -0,0 +1,37 @@
SHELL := /bin/bash
.PHONY: help install dev-install
.DEFAULT_GOAL := help
.SILENT:
help:
@echo "Please use 'make ' where is one of the following:"
@echo " help Return this message with usage instructions."
@echo " install Will install the dependencies and create a virtual environment."
@echo " dev-install Will install the dev dependencies too."
dev-install:create-venv install-dev-dependencies install-pre-commit
install: create-venv install-dependencies farewell
install-dependencies:
@echo "Installing dependencies..." &&
pip install . >> /dev/null
create-venv:
@echo "Creating virtual environment..." &&
python -m venv venv &&
source venv/bin/activate &&
pip install --upgrade pip
install-dev-dependencies:
@echo "Installing dependencies..." &&
source venv/bin/activate &&
pip install -r requirements.txt
install-pre-commit:
@echo "Installing pre-commit hooks..." &&
source venv/bin/activate &&
pre-commit install