From bbcf3ebb21827e283a8e6422b1f076c9cc17648e Mon Sep 17 00:00:00 2001 From: Kuo-tung Kao Date: Wed, 2 Sep 2015 15:40:34 +0800 Subject: [PATCH] update gitignore for python and .testrepository ignore python byte-compiled files and ignore the folder, '.testrepository', generated from tox command. Change-Id: Ic0208ea2e7e1c046a3a730cbd83f676ce44ed2ae Closes-Bug: #1491267 --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 08d55d2110..b993015216 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,11 @@ # Files generated by tools/genenv openrc openstack.env + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# the files generated from tox command. +.testrepository/