File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 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?
2020============================
2121Release date: TBA
2222
23+
24+ * Fix false positives for ``no-name-in-module`` and ``import-error`` for ``numpy.distutils`` and ``pydantic``.
25+
26+ Closes #6497
27+
2328* Fix ``IndexError`` crash in ``uninferable_final_decorators`` method.
2429
2530 Relates to #6531
Original file line number Diff line number Diff line change @@ -644,6 +644,12 @@ Other Changes
644644
645645 Closes #6414
646646
647+
648+ * Fix false positives for ``no-name-in-module `` and ``import-error `` for ``numpy.distutils ``
649+ and ``pydantic ``.
650+
651+ Closes #6497
652+
647653* Fix ``IndexError `` crash in ``uninferable_final_decorators `` method.
648654
649655 Relates to #6531
Original file line number Diff line number Diff line change 7878
7979# Check ignored-modules setting
8080from 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