Skip to content

Commit 934efd9

Browse files
chore: remove unnecessary keep codemods (#682)
1 parent 5e2d8b3 commit 934efd9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/codegen/cli/workspace/initialize_workspace.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,12 @@ def modify_gitignore(codegen_folder: Path):
108108
"codegen-system-prompt.txt",
109109
"",
110110
"# Python cache files",
111-
"__pycache__/",
111+
"**/__pycache__/",
112112
"*.py[cod]",
113113
"*$py.class",
114114
"*.txt",
115115
"*.pyc",
116116
"",
117-
"# Keep codemods",
118-
"!codemods/",
119-
"!codemods/**",
120-
"",
121-
"# Explicitly ignore pycache in excluded codemod directory",
122-
"codemods/**/__pycache__/",
123117
]
124118

125119
# Write or update .gitignore

0 commit comments

Comments
 (0)