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:
@@ -19,7 +19,7 @@
|
||||
%{?sle15_python_module_pythons}
|
||||
%bcond_without tests
|
||||
Name: python-pylint
|
||||
Version: 3.0.2
|
||||
Version: 3.0.3
|
||||
Release: 0
|
||||
Summary: Syntax and style checker for Python code
|
||||
License: GPL-2.0-or-later
|
||||
|
Reference in New Issue
Block a user