Hi Raphaƫl,

 I'm not a maintainer of the pylint package, but I just let you know
about your bug report.

 This problem, as you reported, seems to resolve since pylint 2.5.0 in
the upstream. 
FYI: https://github.com/PyCQA/pylint/issues/3256

 Moreover, Debian stable (bullseye) already has a newer version of
pylint, more than 2.5.0 at this moment. Then I believe the maintainer
has resolved this problem.

 To confirm your problem today, I got the correct results shown below.
(Sorry for accuracy, I use Debian sid.)

--------------here-----------------
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux bookworm/sid
Release:        unstable
Codename:       sid
$ env LANG=C dpkg -l pylint
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-
aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-
======================================================
ii  pylint         2.7.2-3      all          Python 3 code static
checker and UML diagram generator
$ cat dataclass.py
from dataclasses import dataclass
@dataclass
class Data:
    a: int
$ pyreverse dataclass
parsing /home/nojima/prog/python-test/pylint-work/bugs/dataclass.py...
$ ls
classes.dot  dataclass.py
------------here-----------------------------

 
I hope this will be for your help.

Takahide Nojima

Reply via email to