[code-quality] Pylint transform plugin and transforming imported module

2021-10-05 Thread David Rajaratnam
Hi all, I'm trying to write a transform plugin to better work with a library that I maintain. For background my library extends a third-party library and uses some dynamic typing to add new features and wrappers on top of the third-party library. Because it uses dynamically created classes py

[code-quality] Re: Pylint transform plugin and transforming imported module

2021-10-05 Thread Pierre Sassoulas
Hello David, It look like you're trying to create a brain for astroid. Here's a recent example for signal directly in astroid recently : https://github.com/PyCQA/astroid/pull/1172/files Hope this helps :) Le mar. 5 oct. 2021 à 14:26, David Rajaratnam a écrit : > Hi all, > > I'm trying to write

[code-quality] Re: Pylint transform plugin and transforming imported module

2021-10-05 Thread David Rajaratnam
Hi Pierre, Thanks. I will look at this more closely and the register_module_extender(). Cheers, Dave On 5/10/21 11:56 pm, Pierre Sassoulas wrote: Hello David, It look like you're trying to create a brain for astroid. Here's a recent example for signal directly in astroid recently : http