forked from pool/python-pylint
- update to 3.0.3:
* Fixed false positive for ``unnecessary-lambda`` when the call has keyword arguments but not the lambda. * Fixed incorrect suggestion for shallow copy in unnecessary- comprehension * After changing b = [x for x in a] to b = a based on the suggestion, the script now prints [0, 2, 3]. The correct suggestion should be use list(a) to preserve the original behavior. * Fix false positives for ``undefined-variable`` and ``unused- argument`` for classes and functions using Python 3.12 generic type syntax. * Fixed ``pointless-string-statement`` false positive for docstrings on Python 3.12 type aliases. * Fix false positive for ``invalid-exception-operation`` when concatenating tuples of exception types. * Fix a bug where pylint was unable to walk recursively through a directory if the directory has an `__init__.py` file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=154
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 08:23:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.0.3:
|
||||
* Fixed false positive for ``unnecessary-lambda`` when the call
|
||||
has keyword arguments but not the lambda.
|
||||
* Fixed incorrect suggestion for shallow copy in unnecessary-
|
||||
comprehension
|
||||
* After changing b = [x for x in a] to b = a based on the
|
||||
suggestion, the script now prints [0, 2, 3]. The correct
|
||||
suggestion should be use list(a) to preserve the original
|
||||
behavior.
|
||||
* Fix false positives for ``undefined-variable`` and ``unused-
|
||||
argument`` for classes and functions using Python 3.12 generic
|
||||
type syntax.
|
||||
* Fixed ``pointless-string-statement`` false positive for
|
||||
docstrings on Python 3.12 type aliases.
|
||||
* Fix false positive for ``invalid-exception-operation`` when
|
||||
concatenating tuples of exception types.
|
||||
* Fix a bug where pylint was unable to walk recursively through
|
||||
a directory if the directory has an `__init__.py` file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 20:00:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
Reference in New Issue
Block a user