tsutsu3 / linkify-it-py

Links recognition library with full unicode support
Other
15 stars 8 forks source link

Where is `self.func`? #16

Closed Yoric closed 2 years ago

Yoric commented 3 years ago

I assume that if the code is using setattr(LinkifyIt, "func", val.get("normalize")) to define func, it should use getattr to fetch func, instead of self.func. As it is right now, this pisses of my Python linter :)

tsutsu3 commented 3 years ago

Hi @Yoric, Thanks for your issue.

I think you are right, because the pair of setattr is getattr. But, I can't reproduce it.

Can you tell me what linter you are using and where you are getting the warning?

tsutsu3 commented 2 years ago

This issue was closed because old.