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 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8613db371f99fdb9ae7c7f851d3115d6824186dc844e9998fe37d38049cd7e27
size 1304038

3
pylint-2.15.2-gh.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c311dbdbb3261ec999b0403587ae798c3e43adfe1f70c5a9102ba0b9ce317e8
size 1309122

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> Sat Aug 27 10:01:43 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -18,7 +18,7 @@
%bcond_without tests %bcond_without tests
Name: python-pylint Name: python-pylint
Version: 2.15.0 Version: 2.15.2
Release: 0 Release: 0
Summary: Syntax and style checker for Python code Summary: Syntax and style checker for Python code
License: GPL-2.0-or-later License: GPL-2.0-or-later