ehmatthes / django-simple-deploy

A reusable Django app that configures your project for deployment
BSD 3-Clause "New" or "Revised" License
307 stars 26 forks source link

chore: add virtualenv dir to `.gitignore` #222

Closed dversoza closed 1 year ago

dversoza commented 1 year ago

Currently, the project's .gitignore file doesn't ignore the local virtual environment directory, making git track dependencies changes:

Screenshot 2023-04-25 at 11 29 29

Which leads to crowded source control code changes:

Screenshot 2023-04-25 at 11 29 52

According to the official docs, the contributor's virtual environment would be named dsd_env. Also, it's good practice to call the local virtual environment .venv. This way, both directory names were ignored (added to .gitignore).

ehmatthes commented 1 year ago

Thank you! I have a task open somewhere to move all references to dsd_env to .venv, but this is a nice quick way to not block people who already have the habit of using .venv.