damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
https://damnever.github.io/pigar/
BSD 3-Clause "New" or "Revised" License
1.65k stars 90 forks source link

Option to comply with .gitignore rules #188

Open Aydinhamedi opened 8 months ago

Aydinhamedi commented 8 months ago

Is your feature request related to a problem? Please describe. In my project there are some temp folders that i dont want to check

Describe the solution you'd like be a arg or a ignore file to set dir/files to ignore

damnever commented 8 months ago

Does pigar generate --exclude-glob meet your needs? Run pigar generate --help for more details.

Aydinhamedi commented 8 months ago

Thanks this works but if it possible add something like gitignore so we can create a text file with the ignore files\dirs.

damnever commented 8 months ago

I believe it would be nice to honor .gitignore, but at the moment, I don't have the time to implement this feature.

Aydinhamedi commented 8 months ago

I will keep the issue open until you have time to implement it.