And you are ready to play with the repo. Or alternatively setup your own local environment...
# Install python
pyenv install 3.9.0
# Create virtual env
pyenv virtualenv 3.9.0 leetcode
pyenv local leetcode
# Install dependencies
pip install pipenv
pipenv install --dev
# Optional, enable pre-commit hook
pre-commit install
# Create a new template for the problem
# Example:
# make new 1 https://leetcode.com/problems/two-sum/
make new <id> <url>
# Stage changes and run test cases for this problem
# This will execute:
# - git add .
# - pre-commit
# - pytest
make add
# Commit changes
# This will:
# - stage changes
# - run test cases
# - generate commit message
# - commit changes
make commit