trailofbits / it-depends

A tool to automatically build a dependency graph and Software Bill of Materials (SBOM) for packages and arbitrary source code repositories.
https://blog.trailofbits.com/2021/12/16/it-depends/
GNU Lesser General Public License v3.0
330 stars 20 forks source link

Attempt to colapse some similar code. #26

Closed feliam closed 3 years ago

feliam commented 3 years ago

Attempt to colapse some similar code

ESultanik commented 3 years ago

I like the code reuse, but I'd like to avoid adding arbitrary **kwargs arguments to functions because that can mask improper usage errors that would otherwise only manifest at runtime. I think commit dbe85d5 should give us the best of both worlds.