File tree 3 files changed +17
-0
lines changed
3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ What's New in Pylint 2.13.9?
20
20
============================
21
21
Release date: TBA
22
22
23
+
24
+ * Fix false positives for ``no-name-in-module`` and ``import-error`` for ``numpy.distutils`` and ``pydantic``.
25
+
26
+ Closes #6497
27
+
23
28
* Fix ``IndexError`` crash in ``uninferable_final_decorators`` method.
24
29
25
30
Relates to #6531
Original file line number Diff line number Diff line change @@ -644,6 +644,12 @@ Other Changes
644
644
645
645
Closes #6414
646
646
647
+
648
+ * Fix false positives for ``no-name-in-module `` and ``import-error `` for ``numpy.distutils ``
649
+ and ``pydantic ``.
650
+
651
+ Closes #6497
652
+
647
653
* Fix ``IndexError `` crash in ``uninferable_final_decorators `` method.
648
654
649
655
Relates to #6531
Original file line number Diff line number Diff line change 78
78
79
79
# Check ignored-modules setting
80
80
from argparse import THIS_does_not_EXIST
81
+
82
+
83
+ # This captures the original failure in https://github.com/PyCQA/pylint/issues/6497
84
+ # only if numpy is installed. We are not installing numpy on CI (for now)
85
+ from numpy .distutils .misc_util import is_sequence
86
+ from pydantic import BaseModel
You can’t perform that action at this time.
0 commit comments