twisted / pydoctor

This is pydoctor, an API documentation generator that works by static analysis.
https://pydoctor.readthedocs.io
Other
179 stars 48 forks source link

Fix verbose mode #743

Closed tristanlatr closed 8 months ago

tristanlatr commented 8 months ago

This verbose message is triggered far too many times:

https://github.com/twisted/pydoctor/blob/922f81e0408678024e5e09cd52129e38a5b21e75/pydoctor/linker.py#L267

It's simply a bug in the logic: we should make sure both possible names contains a dot (.) before issuing warnings. It seems that for reparented objects it will always report the boggus message because of #295.