Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 404 Bytes

File metadata and controls

32 lines (22 loc) · 404 Bytes

Problem

I want a template file for common Python git ignore-or-include directives.

Solution

# .gitignore

# compiled Python
__pycache__/

# MacOS Desktop Services
.DS_Store

# virtual envs
venv/
.venv/

# ignore environment files
.env/
*.env*

# except for .env.example
!*.env.example

# Jupyter IPython notebook
*.ipynb

# temporary Jupyter IPython notebook files
.ipynb_checkpoints/