ソースを参照

Add more Python-related files to gitignore

Based on https://www.toptal.com/developers/gitignore/api/python
which is under CC0 license
Marek S. Lukasiewicz 5 ヶ月 前
コミット
965685e247
1 ファイル変更17 行追加6 行削除
  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/