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 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:05323c5c40aa2fdd4bba714bea079bb096539a015b43513f396d9b471a4fb762
|
|
||||||
size 1420866
|
|
3
pylint-3.0.3-gh.tar.gz
Normal file
3
pylint-3.0.3-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2880998fc9f3a53fab8989f373faba3f47a3097df0ff2e201ec286bdef0c3aa5
|
||||||
|
size 1422200
|
@@ -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>
|
Mon Nov 27 20:00:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
Name: python-pylint
|
Name: python-pylint
|
||||||
Version: 3.0.2
|
Version: 3.0.3
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user