You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have the extension running in a project with a .gitignore file and create a Python file, I believe the inspect-ai-vscode extension adds entries to the .gitignore file, like logs/. I think it comes from here.
I appreciate the helpfulness of the extension, but I would prefer it if it didn't automatically add entries to my .gitignore file. It can be disruptive, especially when I don't need these entries.
An opt-out setting, better detection of an inspect-ai workspace or removing the feature would be candidates for solving my issue.
The text was updated successfully, but these errors were encountered:
@dragonstyle I'd be okay with our removing this entirely given that the standard GitHub .gitignore file already ignores __pycache__/ and .env: https://github.com/github/gitignore/blob/main/Python.gitignore. I think there could be a case (but not that strong) for logs/ but only if this code triggered in an actual Inspect project. The fact that it triggers in any project with a .py file to makes it pretty problematic.
Hi!
When I have the extension running in a project with a
.gitignore
file and create a Python file, I believe the inspect-ai-vscode extension adds entries to the.gitignore
file, likelogs/
. I think it comes from here.inspect_ai/tools/vscode/src/providers/workspace/workspace-init.ts
Line 19 in d3f6cb4
I appreciate the helpfulness of the extension, but I would prefer it if it didn't automatically add entries to my
.gitignore
file. It can be disruptive, especially when I don't need these entries.An opt-out setting, better detection of an inspect-ai workspace or removing the feature would be candidates for solving my issue.
The text was updated successfully, but these errors were encountered: