Sync from SUSE:SLFO:Main python-pylint revision 4c62c0b992ad342a3a7b5715aaa97143
This commit is contained in:
BIN
pylint-3.3.1-gh.tar.gz
(Stored with Git LFS)
BIN
pylint-3.3.1-gh.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pylint-3.3.7-gh.tar.gz
(Stored with Git LFS)
Normal file
BIN
pylint-3.3.7-gh.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,4 +1,57 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 3.3.6:
|
||||
* Fix a false positive for used-before-assignment when an inner function's
|
||||
return type * annotation is a class defined at module scope.
|
||||
* Fix false positives for use-implicit-booleaness-not-comparison,
|
||||
use-implicit-booleaness-not-comparison-to-string and
|
||||
use-implicit-booleaness-not-comparison-to-zero when chained comparisons
|
||||
are checked.
|
||||
* Fix a false positive for invalid-getnewargs-ex-returned when the tuple or
|
||||
dict has been assigned to a name.
|
||||
* Remove getopt and optparse from the list of deprecated modules.
|
||||
* Fixed conditional import x.y causing false positive
|
||||
possibly-used-before-assignment.
|
||||
* Fix a crash when something besides a class is found in an except handler.
|
||||
* Fixed raising invalid-name when using camelCase for private methods with
|
||||
two leading underscores.
|
||||
* Fixes "skipped files" count calculation; the previous method was
|
||||
displaying an arbitrary number.
|
||||
* Fixes a crash that occurred when pylint was run in a container on a host
|
||||
with cgroupsv2 and restrictions on CPU usage.
|
||||
* Relaxed the requirements for isort so pylint can benefit from isort 6.
|
||||
* Fix false positives for undefined-variable for classes using Python 3.12
|
||||
generic type syntax.
|
||||
* Fix a false positive for use-implicit-booleaness-not-len. No lint should
|
||||
be emitted for generators (len is not defined for generators).
|
||||
* Fix Unable to import 'collections.abc' (import-error) on Python 3.13.1.
|
||||
* Fix a false positive for potential-index-error when an indexed iterable
|
||||
contains a starred element that evaluates to more than one item.
|
||||
* Fixes the issue with --source-root option not working when the source
|
||||
files are in a subdirectory of the source root (e.g. when using a /src
|
||||
layout).
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 09:24:16 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Revert restriction to python3.
|
||||
@@ -2714,4 +2767,3 @@ Sun Jul 17 15:17:57 CEST 2005 - garloff@suse.de
|
||||
|
||||
- Initial creation of package pylint-0.7.0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pylint
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%bcond_without tests
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pylint
|
||||
Version: 3.3.1
|
||||
Version: 3.3.7
|
||||
Release: 0
|
||||
Summary: Syntax and style checker for Python code
|
||||
License: GPL-2.0-or-later
|
||||
@@ -35,8 +35,8 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-dill >= 0.3.7
|
||||
Requires: python-platformdirs >= 2.2
|
||||
Requires: python-tomlkit >= 0.10.1
|
||||
Requires: (python-astroid >= 3.3.4 with python-astroid < 3.4.0~dev0)
|
||||
Requires: (python-isort >= 4.2.5 with python-isort < 6)
|
||||
Requires: (python-astroid >= 3.3.8 with python-astroid < 4.0.0~dev0)
|
||||
Requires: (python-isort >= 4.2.5 with python-isort < 7)
|
||||
Requires: (python-mccabe >= 0.6 with python-mccabe < 0.8)
|
||||
%if 0%{?python_version_nodots} < 311
|
||||
Requires: python-tomli >= 1.1.0
|
||||
@@ -46,10 +46,10 @@ Requires: python-typing-extensions >= 3.10
|
||||
%endif
|
||||
%if %{with tests}
|
||||
# SECTION pylint deps
|
||||
BuildRequires: %{python_module astroid >= 3.3.4 with %python-astroid < 3.4.0~dev0}
|
||||
BuildRequires: %{python_module astroid >= 3.3.8 with %python-astroid < 4.0.0~dev0}
|
||||
BuildRequires: %{python_module dill >= 0.3.7}
|
||||
BuildRequires: %{python_module enchant}
|
||||
BuildRequires: %{python_module isort >= 4.2.5 with %python-isort < 6}
|
||||
BuildRequires: %{python_module isort >= 4.2.5 with %python-isort < 7}
|
||||
BuildRequires: %{python_module mccabe >= 0.6 with %python-mccabe < 0.8}
|
||||
BuildRequires: %{python_module platformdirs >= 2.2}
|
||||
BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11}
|
||||
|
Reference in New Issue
Block a user