diff options
| author | David Liu <david@cs.toronto.edu> | 2021-08-27 01:49:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-27 07:49:57 +0200 |
| commit | c178fd15a8b24feb6336e2facc196eab1730c53a (patch) | |
| tree | 952ddace52b0083a0c683de1142ed0926fa6712e /ChangeLog | |
| parent | 3d0a02537253daea3c26054ce0d25526b9e6c319 (diff) | |
| download | astroid-git-c178fd15a8b24feb6336e2facc196eab1730c53a.tar.gz | |
Relax dataclass filter for Uninferable nodes. (#1144)
Now, any Uninferable node that looks like "dataclass" or
"<expr>.dataclass" will be treated as a dataclass decorator.
This supports pydantic.dataclasses.dataclass, as this value is currently
Uninferable.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,10 @@ Release date: TBA Closes PyCQA/pylint#4895 +* Apply dataclass inference to pydantic's dataclasses. + + Closes PyCQA/pylint#4899 + What's New in astroid 2.7.2? ============================ |
