From 44cac6f4e2b7fb1cf27edbf2f5fe1d547803a783 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 20 Jun 2026 08:17:03 +0000 Subject: [PATCH] gitignore: ignore Python test artifacts (__pycache__, *.pyc, .pytest_cache) Introduced the first pytest file in the tree (stacks/k8s-version-upgrade/scripts/test_compat_gate.py); running it leaves an untracked __pycache__/ dir. Ignore the standard Python build artifacts so test runs don't show up as working-tree noise or get committed by accident. Co-Authored-By: Claude Opus 4.8 --- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 620d5a97..b288aed5 100755 --- a/.gitignore +++ b/.gitignore @@ -110,3 +110,9 @@ terraform.tfstate.backup # Timestamped terraform state backups (terraform.tfstate..backup) — plaintext Tier-0 # secrets; created by terraform state ops. The patterns above miss the timestamped form. terraform.tfstate.*.backup + +# Python test artifacts (pytest bytecode cache) — e.g. from +# stacks/k8s-version-upgrade/scripts/test_compat_gate.py +__pycache__/ +*.pyc +.pytest_cache/