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
In my project I use next requirements hierarchy:
requirements/base.txt
requirements/dev.txt
requirements/docs.txt
requirements/test.txt
requirements/lint.txt
What do you think about next:
At first, I don't know any person, who use requirements.txt and poetry in one project, so, we can still use --using flag, as you already created. licensecheck --using requirements
but for path to file, I think, be better to use another flag, for example --path. And, as I know, we can use nargs=+ or append option for cli parser. Here is examples https://stackoverflow.com/a/15753721
My main point is not to mix the purpose of two different flags - the type of requirements and the path to them.
And, if it easy to implement - it well be great to add to --path - path to dir, where it search requirements by pattern *.txt for requirements and *.lock for poetry instead of path to concrete file or files.
In my project I use next requirements hierarchy:
requirements/base.txt
requirements/dev.txt
requirements/docs.txt
requirements/test.txt
requirements/lint.txt
I want to check one or multiple files in this hierarchy, but according 2021.2 release - I can't.
Same hierarchy we can see, for example, here:
https://github.com/aio-libs/aiohttp/tree/master/requirements
can you add optional flag path to file?
The text was updated successfully, but these errors were encountered: