Pyreverse does not show return type for property methods
SRFU-NN opened this issue · 1 comments
SRFU-NN commented
Steps to reproduce
Run pyreverse on the following code (pyreverse $file --output html
):
class A:
b: int = 1
@property
def c(self) -> int:
return 1
def d(self) -> int:
return 1
Current behavior
Class diagram in classes.html:
A
----------
b : int
c
----------
d() : int
Expected behavior
A
----------
b : int
c : int
----------
d() : int
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
output
3.0.1
SRFU-NN commented
Moved issue to pylint issue tracker: pylint-dev/pylint#9212