Skip to content

Add Pipfile and Pre-commit hook #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zacchaeuschok
Copy link

This PR adds Pipfile and Pipfile.lock for Python dependency management. I also added a pre-commit hook to ensure robust formatting of all incoming pull requests

How to use Pipenv

  1. Install pipenv on your local
  2. Run the following to activate your virtual environment
pipenv install
pipenv shell

How to use Pre-commit hook

  1. Install pre-commit hook with pre-commit install
  2. Add your changes i.e. git add .
  3. Commit as per usual i.e. git commit -m "<message>"
  4. Pre-commit hook will detect changes and format accordingly
  5. Repeat step 2 to 3
  6. Push your changes i.e. git push

@AayushMathur7 AayushMathur7 self-assigned this Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants