14
0
forked from pool/python-pylint

Accepting request 1277663 from home:glaubitz:branches:devel:languages:python

- Update to 3.3.7
  * Comparisons between two calls to `type()` won't raise an
    ``unidiomatic-typecheck`` warning anymore, consistent with
    the behavior applied only for ``==`` previously.
  * Fixed a crash when importing a class decorator that did not
    exist with the same name as a class attribute after the class
    definition.
  * Fix a crash caused by malformed format strings when using
    `.format` with keyword arguments.
  * Using a slice as a class decorator now raises a ``not-callable``
    message instead of crashing. A lot of checks that dealt with
    decorators (too many to list) are now shortcut if the decorator
    can't immediately be inferred to a function or class definition.
  * The algorithm used for ``no-member`` suggestions is now more
    efficient and cuts the calculation when the distance score is
    already above the threshold.

OBS-URL: https://build.opensuse.org/request/show/1277663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=171
This commit is contained in:
2025-05-15 09:40:12 +00:00
committed by Git OBS Bridge
parent 75c13e2f7b
commit 6a7765efd1
4 changed files with 24 additions and 4 deletions

View File

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

BIN
pylint-3.3.7-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu May 15 08:56:07 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.3.7
* Comparisons between two calls to `type()` won't raise an
``unidiomatic-typecheck`` warning anymore, consistent with
the behavior applied only for ``==`` previously.
* Fixed a crash when importing a class decorator that did not
exist with the same name as a class attribute after the class
definition.
* Fix a crash caused by malformed format strings when using
`.format` with keyword arguments.
* Using a slice as a class decorator now raises a ``not-callable``
message instead of crashing. A lot of checks that dealt with
decorators (too many to list) are now shortcut if the decorator
can't immediately be inferred to a function or class definition.
* The algorithm used for ``no-member`` suggestions is now more
efficient and cuts the calculation when the distance score is
already above the threshold.
-------------------------------------------------------------------
Tue Apr 8 03:29:21 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -19,7 +19,7 @@
%bcond_without tests
%{?sle15_python_module_pythons}
Name: python-pylint
Version: 3.3.6
Version: 3.3.7
Release: 0
Summary: Syntax and style checker for Python code
License: GPL-2.0-or-later