14
0
forked from pool/python-pylint

Accepting request 1087260 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1087260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pylint?expand=0&rev=36
This commit is contained in:
2023-05-16 12:16:17 +00:00
committed by Git OBS Bridge
4 changed files with 51 additions and 7 deletions

View File

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

3
pylint-2.17.4-gh.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Mon May 8 15:31:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.17.4:
* Fix a false positive for ``bad-dunder-name`` when there is a
user-defined ``__index__`` method.
* ``pyreverse``: added escaping of vertical bar character in
annotation labels
* produced by DOT printer to ensure it is not treated as field
separator of record-based nodes.
* Fixed a crash when generating a configuration file:
* ``tomlkit.exceptions.TOMLKitError: Can't add a table to a
dotted key`` caused by tomlkit ``v0.11.8``.
-------------------------------------------------------------------
Mon May 8 13:57:50 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Thu May 4 19:37:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.17.3:
* Fix `unused-argument` false positive when `__new__` does not
use all the arguments of `__init__`.
* Fix ``unused-import`` false positive for usage of
``six.with_metaclass``.
* `logging-not-lazy` is not longer emitted for explicitly
concatenated string arguments.
* Fix false positive for isinstance-second-argument-not-valid-
type when union types contains None.
* Fixed `unused-import` so that it observes the `dummy-
variables-rgx` option.
* `Union` typed variables without assignment are no longer
treated as `TypeAlias`.
* Fix false positive for ``positional-only-arguments-expected``
when a function contains both a positional-only parameter
that has a default value, and ``**kwargs``.
* Fix false positive for ``keyword-arg-before-vararg`` when a
positional-only parameter with a default value precedes ``*args``.
* Improve output of ``consider-using-generator`` message for
``min()` calls with ``default`` keyword.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 17 19:33:08 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon Apr 17 19:33:08 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,9 +16,10 @@
# #
%{?sle15_python_module_pythons}
%bcond_without tests %bcond_without tests
Name: python-pylint Name: python-pylint
Version: 2.17.2 Version: 2.17.4
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
@@ -35,7 +36,7 @@ BuildRequires: python-rpm-macros
Requires: python-dill >= 0.3.6 Requires: python-dill >= 0.3.6
Requires: python-platformdirs >= 2.2 Requires: python-platformdirs >= 2.2
Requires: python-tomlkit >= 0.10.1 Requires: python-tomlkit >= 0.10.1
Requires: (python-astroid >= 2.15.2 with python-astroid < 2.17.0~dev0) Requires: (python-astroid >= 2.15.4 with python-astroid < 2.17.0~dev0)
Requires: (python-isort >= 4.2.5 with python-isort < 6) Requires: (python-isort >= 4.2.5 with python-isort < 6)
Requires: (python-mccabe >= 0.6 with python-mccabe < 0.8) Requires: (python-mccabe >= 0.6 with python-mccabe < 0.8)
%if 0%{?python_version_nodots} < 311 %if 0%{?python_version_nodots} < 311
@@ -46,7 +47,7 @@ Requires: python-typing-extensions >= 3.10
%endif %endif
%if %{with tests} %if %{with tests}
# SECTION pylint deps # SECTION pylint deps
BuildRequires: %{python_module astroid >= 2.15.2 with %python-astroid < 2.17.0~dev0} BuildRequires: %{python_module astroid >= 2.15.4 with %python-astroid < 2.17.0~dev0}
BuildRequires: %{python_module dill >= 0.3.6} BuildRequires: %{python_module dill >= 0.3.6}
BuildRequires: %{python_module isort >= 4.2.5 with %python-isort < 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 mccabe >= 0.6 with %python-mccabe < 0.8}
@@ -105,7 +106,7 @@ done
%if %{with tests} %if %{with tests}
%check %check
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
%pytest --benchmark-disable -k "not test_linter_with_unpickleable_plugins_is_pickleable" %pytest %{?jobs:-n %jobs} --benchmark-disable -k "not test_linter_with_unpickleable_plugins_is_pickleable"
%endif %endif
%post %post