fix(security): stamp.py schreibt kein __pycache__ mehr
Ohne passende .gitignore machte der Cache den Arbeitsbaum unsauber, kein Prüfstempel war gültig. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e2cc00dccc
commit
ee117958b3
5 changed files with 135 additions and 53 deletions
|
|
@ -33,6 +33,9 @@ import shutil
|
|||
import subprocess # nosec B404 - nur feste git-Aufrufe ohne Shell
|
||||
import sys
|
||||
|
||||
# Kein __pycache__/ neben changed_scope.py: in Apps ohne passende .gitignore wäre der
|
||||
# Arbeitsbaum dadurch nie sauber und kein Stempel gültig.
|
||||
sys.dont_write_bytecode = True
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
from changed_scope import classify # noqa: E402, RUF100
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue