forked from pool/python-pylint
- 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``. - 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=146
This commit is contained in:
@@ -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
3
pylint-2.17.4-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a4be4ce65a5ab900fec8a6f38670e84c9720cb1b611991845c2c5ff136afb794
|
||||
size 1411540
|
@@ -1,8 +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>
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
%{?sle15_python_module_pythons}
|
||||
%bcond_without tests
|
||||
Name: python-pylint
|
||||
Version: 2.17.2
|
||||
Version: 2.17.4
|
||||
Release: 0
|
||||
Summary: Syntax and style checker for Python code
|
||||
License: GPL-2.0-or-later
|
||||
@@ -36,7 +36,7 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-dill >= 0.3.6
|
||||
Requires: python-platformdirs >= 2.2
|
||||
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-mccabe >= 0.6 with python-mccabe < 0.8)
|
||||
%if 0%{?python_version_nodots} < 311
|
||||
@@ -47,7 +47,7 @@ Requires: python-typing-extensions >= 3.10
|
||||
%endif
|
||||
%if %{with tests}
|
||||
# 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 isort >= 4.2.5 with %python-isort < 6}
|
||||
BuildRequires: %{python_module mccabe >= 0.6 with %python-mccabe < 0.8}
|
||||
@@ -106,7 +106,7 @@ done
|
||||
%if %{with tests}
|
||||
%check
|
||||
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
|
||||
|
||||
%post
|
||||
|
Reference in New Issue
Block a user