[libvirt PATCH 1/3] gitignore: Ignore __pycache__ directory

Andrea Bolognani abologna at redhat.com
Fri Mar 19 17:39:29 UTC 2021


Unfortunately running Python scripts causes this directory to
be created in the *source* directory, and there doesn't seem
to be a way to prevent that from happening.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 6d44a50061..4695391342 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,9 @@
 *.orig
 .git-module-status
 
+# python related ignores
+__pycache__/
+
 # libvirt related ignores
 /build/
 /ci/scratch/
-- 
2.26.3




More information about the libvir-list mailing list