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:
11
.gitignore
vendored
11
.gitignore
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user