From 965685e24722858eb07857d47f4bb1e727b1e219 Mon Sep 17 00:00:00 2001 From: "Marek S. Lukasiewicz" Date: Wed, 29 Jan 2025 11:33:20 +0100 Subject: [PATCH] Add more Python-related files to gitignore Based on https://www.toptal.com/developers/gitignore/api/python which is under CC0 license --- .gitignore | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index b9e2fbe6c..939fcce39 100644 --- a/.gitignore +++ b/.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/