Ignore Python bytecode caches

Importing the playbook's Python scripts or tests (e.g. with
`python -m unittest`) creates __pycache__ directories, which show up
as untracked files and fail the REUSE pre-commit hook.

The same change in mash-playbook:
https://github.com/mother-of-all-self-hosting/mash-playbook/commit/53bb9f27

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Slavi Pantaleev
2026-10-25 10:45:50 +02:00
co-authored by Claude Opus 5.5
parent 5274815c62
commit 8c38b79856
+3
View File
@@ -11,3 +11,6 @@
# ignore roles pulled by ansible-galaxy
/roles/galaxy/*
!/roles/galaxy/.gitkeep
# ignore Python bytecode caches (e.g. from running tests with `python -m unittest`)
__pycache__/