gitignore: Ignore python cache directories

Running ./scripts/Kconfiglib/setconfig.py leaves the tree with untracked
files:

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
            scripts/Kconfiglib/__pycache__/

Add __pycache__ to .gitignore to fix it.

Signed-off-by: Michael Ellerman <mpe@kernel.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260602-fix-gitignore-v1-1-4299e2e40ee4@kernel.org
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Michael Ellerman
2026-06-02 21:24:37 +10:00
committed by Anup Patel
parent 1157eb37e2
commit dcb5179b50
+3
View File
@@ -16,6 +16,9 @@
build/
install/
# Python bytecode (e.g. from scripts/Kconfiglib)
__pycache__
# Development friendly files
tags
cscope*