14
0
forked from pool/python-pylint

- update to 2.15.2:

* Fixed a case where custom plugins specified by command line could silently fail.
  * Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
  * Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
  * The ``docparams`` extension now considers typing in Numpy style docstrings
  * Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation.
  * 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.
  * Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
  * Fix ignored files being linted when passed on stdin.
  * ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect
  * Don't crash on ``OSError`` in config file discovery.
  * ``disable-next`` is now correctly scoped to only the succeeding line.
  * Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=131
This commit is contained in:
2022-09-12 20:30:46 +00:00
committed by Git OBS Bridge
parent f63e1b4b88
commit 9debae03a4
4 changed files with 21 additions and 4 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Sep 12 20:22:59 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.15.2:
* Fixed a case where custom plugins specified by command line could silently fail.
* Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
* Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
* The ``docparams`` extension now considers typing in Numpy style docstrings
* Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation.
* 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.
* Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
* Fix ignored files being linted when passed on stdin.
* ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect
* Don't crash on ``OSError`` in config file discovery.
* ``disable-next`` is now correctly scoped to only the succeeding line.
* Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
-------------------------------------------------------------------
Sat Aug 27 10:01:43 UTC 2022 - Ben Greiner <code@bnavigator.de>