banesullivan / scooby

🐶 🕵️ Great Dane turned Python environment detective
MIT License
47 stars 12 forks source link

`Report` additional and core argument type #108

Closed Gryfenfer97 closed 1 year ago

Gryfenfer97 commented 1 year ago

In the doctring additional and core are written with the type list[str]|list[ModuleType]. Is it possible to pass an argument of type list[str|ModuleType] ?

Is it also possible to add type hints for the library ?

banesullivan commented 1 year ago

list[str|ModuleType] should be okay to use. I think type annotations would be a good addition to this library. If you're up for contributing these annotations, I'd be happy to review and merge these contributions