forked from pool/python-pylint
- update to v2.15.9:
* Fix false-positive for used-before-assignment in pattern matching with a guard. * Pylint will no longer deadlock if a parallel job is killed but fail immediately instead. * When pylint exit due to bad arguments being provided the exit code will now be the expected 32. * Fixes a ModuleNotFound exception when running pylint on a Django project with the pylint_django plugin enabled. * Document a known false positive for useless-suppression when disabling * line-too-long in a module with only comments and no code. * Fix logging-fstring-interpolation false positive raised when logging and f-string with %s formatting. * Fixes false positive abstract-method on Protocol classes. * Fix missing-param-doc false positive when function parameter has an escaped underscore. * multiple-statements no longer triggers for function stubs using inlined .... * Fix deprecated-method false positive when alias for method is similar to * name of deprecated method. * Fix a false positive for used-before-assignment for imports guarded by * typing.TYPE_CHECKING later used in variable annotations. * Other Bug Fixes * Pylint will now filter duplicates given to it before linting. The output * should be the same whether a file is given/discovered multiple times or not. * Fixes a crash in stop-iteration-return when the next builtin is * called without arguments. * Fix false positive for unhashable-member when subclassing dict and * using the subclass as a dictionary key. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=139
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pylint
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%bcond_without tests
|
||||
Name: python-pylint
|
||||
Version: 2.15.4
|
||||
Version: 2.15.9
|
||||
Release: 0
|
||||
Summary: Syntax and style checker for Python code
|
||||
License: GPL-2.0-or-later
|
||||
@@ -34,10 +34,10 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-dill >= 0.2
|
||||
Requires: python-dill >= 0.3.6
|
||||
Requires: python-platformdirs >= 2.2
|
||||
Requires: python-tomlkit >= 0.10.1
|
||||
Requires: (python-astroid >= 2.12.10 with python-astroid < 2.14.0~dev0)
|
||||
Requires: (python-astroid >= 2.12.13 with python-astroid < 2.14.0~dev0)
|
||||
Requires: (python-isort >= 4.2.5 with python-isort < 6)
|
||||
Requires: (python-mccabe >= 0.6 with python-mccabe < 0.8)
|
||||
%if 0%{?python_version_nodots} < 311
|
||||
@@ -48,8 +48,8 @@ Requires: python-typing-extensions >= 3.10
|
||||
%endif
|
||||
%if %{with tests}
|
||||
# SECTION pylint deps
|
||||
BuildRequires: %{python_module astroid >= 2.12.10 with %python-astroid < 2.14.0~dev0}
|
||||
BuildRequires: %{python_module dill >= 0.2}
|
||||
BuildRequires: %{python_module astroid >= 2.12.13 with %python-astroid < 2.14.0~dev0}
|
||||
BuildRequires: %{python_module dill >= 0.3.6}
|
||||
BuildRequires: %{python_module isort >= 4.2.5 with %python-isort < 6}
|
||||
BuildRequires: %{python_module mccabe >= 0.6 with %python-mccabe < 0.8}
|
||||
BuildRequires: %{python_module platformdirs >= 2.2}
|
||||
@@ -107,7 +107,7 @@ done
|
||||
%if %{with tests}
|
||||
%check
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
%pytest --benchmark-disable
|
||||
%pytest --benchmark-disable -k "not test_linter_with_unpickleable_plugins_is_pickleable"
|
||||
%endif
|
||||
|
||||
%post
|
||||
|
Reference in New Issue
Block a user