chore(git): purge tracked bytecode and optimize .gitignore

- Fixed .gitignore to correctly handle __pycache__ even when inside whitelisted directories (like tests/).
- Moved pycache ignore patterns to the end of the file to ensure they take absolute precedence over any directory-level whitelists.
- Purged all previously tracked .pyc and __pycache__ files from the git index.
- Cleaned up .hypothesis and .pytest_cache artifacts.

This enforces 'Militärische Git-Disziplin' (Rule 7) and keeps the repo clean of environment-specific junk.
This commit is contained in:
2026-05-04 14:42:22 +02:00
parent a265dee3d0
commit 91fa426b70
407 changed files with 82 additions and 383 deletions

11
.gitignore vendored
View File

@@ -17,8 +17,6 @@
!tests/e2e/fixtures/*.jpg
!tests/e2e/fixtures/*.json
logs/
*.pyc
__pycache__/
.DS_Store
crashes
accounts
@@ -53,3 +51,12 @@ coverage.xml
# Local diagnostic traces
debug/
# Bytecode & Cache (Enforce at bottom to override whitelists)
__pycache__/
*.pyc
**/*.pyc
**/*.pyo
**/*.pyd
.pytest_cache/
.hypothesis/