Skip to content

Commit c5aefa2

Browse files
Bump pylint to 2.15.1, update changelog
1 parent de613c2 commit c5aefa2

11 files changed

+47
-29
lines changed

CONTRIBUTORS.txt

+3
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ contributors:
374374
- Ry4an Brase <[email protected]>
375375
376376
- Roman Ivanov <[email protected]>
377+
- Rogdham <[email protected]>
377378
- Robert Schweizer <[email protected]>
378379
- Reverb Chu <[email protected]>
379380
- Renat Galimov <[email protected]>
@@ -422,6 +423,7 @@ contributors:
422423
- Louis Sautier <[email protected]>
423424
- Lorena Buciu <[email protected]>
424425
- Logan Miller <[email protected]>
426+
- Levi Gruspe <[email protected]>
425427
- Kári Tristan Helgason <[email protected]>
426428
- Kurian Benoy <[email protected]>
427429
- Krzysztof Czapla <[email protected]>
@@ -500,6 +502,7 @@ contributors:
500502
- Craig Citro <[email protected]>
501503
- Clément Pit-Claudel <[email protected]>
502504
- Christopher Zurcher <[email protected]>
505+
- Christoph Blessing <[email protected]>
503506
- Carl Crowder <[email protected]>: don't evaluate the value of arguments for 'dangerous-default-value'
504507
- Carey Metcalfe <[email protected]>: demoted `try-except-raise` from error to warning
505508
- Cameron Olechowski <[email protected]>

doc/whatsnew/2/2.15/index.rst

+44
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,50 @@ Marc Byrne became a maintainer, welcome to the team !
2929

3030
.. towncrier release notes start
3131
32+
33+
What's new in Pylint 2.15.1?
34+
----------------------------
35+
Release date: 2022-09-06
36+
37+
- Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
38+
39+
Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
40+
- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
41+
42+
Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380>`_)
43+
- The ``docparams`` extension now considers typing in Numpy style docstrings
44+
as "documentation" for the ``missing-param-doc`` message.
45+
46+
Refs #7398 (`#7398 <https://github.com/PyCQA/pylint/issues/7398>`_)
47+
- Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation.
48+
49+
Closes #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/3299>`_)
50+
- Fix false positive for ``too-many-function-args`` when a function call is assigned to a class attribute inside the class where the function is defined.
51+
52+
Closes #6592 (`#6592 <https://github.com/PyCQA/pylint/issues/6592>`_)
53+
- Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
54+
55+
Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
56+
- Fix ignored files being linted when passed on stdin.
57+
58+
Closes #4354 (`#4354 <https://github.com/PyCQA/pylint/issues/4354>`_)
59+
- ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect
60+
the ``no-docstring-rgx`` option.
61+
62+
Closes #4743 (`#4743 <https://github.com/PyCQA/pylint/issues/4743>`_)
63+
- Don't crash on ``OSError`` in config file discovery.
64+
65+
Closes #7169 (`#7169 <https://github.com/PyCQA/pylint/issues/7169>`_)
66+
- ``disable-next`` is now correctly scoped to only the succeeding line.
67+
68+
Closes #7401 (`#7401 <https://github.com/PyCQA/pylint/issues/7401>`_)
69+
- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
70+
71+
Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380>`_)
72+
73+
What's new in Pylint 2.15.0?
74+
----------------------------
75+
3276
New Checks
3377
----------
3478

doc/whatsnew/fragments/3299.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/4354.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/4743.bugfix

-4
This file was deleted.

doc/whatsnew/fragments/6592.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/7169.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/7368.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/7380.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/7398.other

-4
This file was deleted.

doc/whatsnew/fragments/7401.bugfix

-3
This file was deleted.

0 commit comments

Comments
 (0)