Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not ignoring my venv folder #7

Open
dh1011 opened this issue Apr 10, 2024 · 5 comments · May be fixed by #30
Open

not ignoring my venv folder #7

dh1011 opened this issue Apr 10, 2024 · 5 comments · May be fixed by #30

Comments

@dh1011
Copy link

dh1011 commented Apr 10, 2024

i use this command files-to-prompt . --ignore "venv" but it still trying to get files inside my venv/
i tried again with files-to-prompt . --ignore "./venv/* but getting the same result

@minthemiddle
Copy link

I'm having the same issue with node_module folders.

Not working:
files-to-prompt . --ignore-gitignore
files-to-prompt . --ignore "node_modules"

The tool does not seem to support ignoring folders yet, it seems.

@dh1011
Copy link
Author

dh1011 commented Apr 22, 2024

hi Martin, i made a PR that addressed this issue here. it worked for me

@jluna
Copy link

jluna commented Jul 3, 2024

@simonw Also having challenges with the inability to ignore directories. Can we get the fix merged in?

@jefftriplett
Copy link

This doesn't work for me either. I was testing on a Django project and trying to figure out how to ignore migrations and some other files.

@Barabazs
Copy link

FYI, you can just rely on the content of .gitignore to ignore node_modules or venv. Put it seems like files-to-prompt can't properly handle path-like entries: #3 (comment)

@nmpowell nmpowell linked a pull request Oct 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants