Browse Source

Merge pull request #10572 from Maarrk/pr-gitignore-venv

Add more Python-related files to gitignore
Max Hilbrunner 6 months ago
parent
commit
46b56891e3
1 changed files with 17 additions and 6 deletions
  1. 17 6
      .gitignore

+ 17 - 6
.gitignore

@@ -3,15 +3,29 @@
 .env
 
 _build/
-env/
-__pycache__
-*.pyc
 *~
 .directory
 .vs/
 .vscode/
 *.mo
 
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# Common environment files
+.env
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# User created Python virtual environment as described in the docs
+godot-docs-venv/
+
 # Vim temp files
 *.swo
 *.swp
@@ -45,8 +59,5 @@ logo.h
 tmp-unused-images
 tmp-unused-images-history
 
-# User created Python virtual environement as described in the docs
-godot-docs-venv/
-
 # Jetbrains IDE files
 /.idea/