From 429001068ce8016e845582a26ef52eb733d149f3 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 21 Sep 2018 12:47:59 +0200 Subject: [PATCH] Update .gitignore to ignore more files Based on the Python template : https://github.com/github/gitignore/ I'm using PyCharm which creates .idea folders. So I need this to make my life easier. --- .gitignore | 52 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c65c2cc3..49df31ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,48 @@ -settings_local.py +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class *.swp -*.pyc + +# Translations +#*.mo TODO +*.pot + +# Django stuff +*.log +local_settings.py +db.sqlite3 + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# PyCharm project settings +.idea/ + +# Django statics +static_files/ +static/logo/ + +# re2o specific +settings_local.py re2o.png -__pycache__/* -static_files/* -static/logo/* -media/* +media/