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

Feedback: package polices code? #441

Open
odros opened this issue Mar 28, 2024 · 0 comments
Open

Feedback: package polices code? #441

odros opened this issue Mar 28, 2024 · 0 comments

Comments

@odros
Copy link

odros commented Mar 28, 2024

I discovered pipreqs via this SO answer, and it seemed like just what I needed... except for the fact that it polices my code? I have a big set of non-production-level code for which I wanted a requirements.txt. While running pipreqs on my target folder, I kept getting errors like IndentationError: unexpected indent or IndentationError: unexpected indent. I can't polish the code now, I just need someone else to be able to replicate my environment and run the code by checking only for the modules I use, otherwise I would just go for pip freeze.

I don't see an option to run pipreqs in non-linting mode, is there one? In any case, it would also be useful to have this behavior documented somewhere.

@odros odros changed the title Feedback: package is policing my code Feedback: package polices code? Mar 28, 2024
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

No branches or pull requests

1 participant