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,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a7e31b6b873a7216d022a8cc0533dc5d9623c4939154f8d8bc08839996e8027
|
||||
size 1312017
|
3
pylint-2.15.9-gh.tar.gz
Normal file
3
pylint-2.15.9-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c50d89b74aadca416b7003ec924780598ac59307a82c6692bec59ae83dbca7e9
|
||||
size 1319840
|
@@ -1,3 +1,58 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 17 18:37:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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.
|
||||
* unnecessary-list-index-lookup will not be wrongly emitted if
|
||||
* enumerate is called with start.
|
||||
* Don't warn about stop-iteration-return when using next() over
|
||||
* itertools.cycle.
|
||||
* Messages sent to reporter are now copied so a reporter cannot modify the
|
||||
* message sent to other reporters.
|
||||
* Fix crash that happened when parsing files with unexpected encoding
|
||||
starting with 'utf' like utf13.
|
||||
* Fix a crash when a child class with an __init__ method inherits from a
|
||||
* parent class with an __init__ class attribute.
|
||||
* Fix a false positive for simplify-boolean-expression when multiple
|
||||
values are inferred for a constant.
|
||||
* Remove __index__ dunder method call from unnecessary-dunder-call
|
||||
* Fixed a multi-processing crash that prevents using any more than 1
|
||||
thread on MacOS.
|
||||
* The returned module objects and errors that were cached by the linter
|
||||
plugin loader cannot be reliably pickled. This means that dill would
|
||||
throw an error when attempting to serialise the linter object for
|
||||
multi-processing use.
|
||||
* Add a keyword-only compare_constants argument to safe_infer.
|
||||
* Sort --generated-rcfile output.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 09:46:45 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
@@ -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