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
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.
The text was updated successfully, but these errors were encountered:
odros
changed the title
Feedback: package is policing my code
Feedback: package polices code?
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 arequirements.txt
. While runningpipreqs
on my target folder, I kept getting errors likeIndentationError: unexpected indent
orIndentationError: 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 forpip 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.The text was updated successfully, but these errors were encountered: