[PATCH v1 1/2] git: ignore standard python files
    Juraj Linkeš 
    juraj.linkes at pantheon.tech
       
    Thu Nov  3 14:29:25 CET 2022
    
    
  
These are python byte-compiled/optimized/dll files and IDE files.
Signed-off-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
---
 .gitignore | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 212c7aa28e..fbec0ce441 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,8 +33,10 @@ GRTAGS
 tags
 TAGS
 
-# ignore python bytecode files
-*.pyc
+# python byte-compiled/optimized/dll files
+__pycache__/
+*.py[cod]
+*$py.class
 
 # ignore default build directory, and directories from test-meson-builds.sh
 build
-- 
2.30.2
    
    
More information about the dev
mailing list