From 3941bf84fb6c24708abedfab51bb2319a22c964e Mon Sep 17 00:00:00 2001 From: Arthur Darcet Date: Wed, 11 Feb 2015 19:08:15 +0100 Subject: [PATCH] Ignore all python-compiled files If i am not mistaken, python 3 generate its `pyc` files in a `__pycache__` directory. The `.pyo` files are similar to `pyc` (with optimisation). I haven't included `pyd` files since they are windows-only. --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0d20b648..78ec7b12 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*.pyc +__pycache__/ +*.py[co]