forked from pool/python-pylint
- update to 3.0.2:
* Fix ``used-before-assignment`` false positive for generic type syntax (PEP 695, Python 3.12). * Escape special symbols and newlines in messages. * Fixes suggestion for ``nested-min-max`` for expressions with additive operators, list and dict comprehensions. * Fixes ignoring conditional imports with ``ignore-imports=y``. * Emit ``inconsistent-quotes`` for f-strings with 3.12 interpreter only if targeting pre-3.12 versions. names: * Fix false positive for undefined-loop-variable in for-else loops that - Unpin mccabe and astroid in sitelib metadata. * ``unspecified-encoding`` now checks the encoding of ``pathlib.Path()`` correctly * The python3 porting mode checker and it's ``py3k`` option were removed. You can still find it in older pylints versions. * ``raising-bad-type`` is now properly emitted when raising a ``use-set-for-membership`` check: Emitted when using an in-place defined ``list`` or ``tuple`` to do a membership * ``CodeStyleChecker`` flow (e. g. if-else clause). * Fix false positive for ``protected-access`` if a protected * Fix false positive ``dict-iter-missing-items`` for dictionaries * The ``unspecified-encoding`` checker now also checks calls to * Fix false positive ``superfluous-parens`` for tuples created * Fix false positive ``unused-private-member`` for accessing * Fix false positive ``unused-private-member`` for private * Extended ``consider-using-in`` check to work for attribute * Setting ``min-similarity-lines`` to 0 now makes the similarty * Fix a bug where pylint complained if the cache's parent OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=152
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aab8dc249ca704bcc075695d22704a21d167732699b6815498dcb451fb91a887
|
||||
size 1419203
|
3
pylint-3.0.2-gh.tar.gz
Normal file
3
pylint-3.0.2-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05323c5c40aa2fdd4bba714bea079bb096539a015b43513f396d9b471a4fb762
|
||||
size 1420866
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 20:00:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.0.2:
|
||||
* Fix ``used-before-assignment`` false positive for generic
|
||||
type syntax (PEP 695, Python 3.12).
|
||||
* Escape special symbols and newlines in messages.
|
||||
* Fixes suggestion for ``nested-min-max`` for expressions with
|
||||
additive operators, list and dict comprehensions.
|
||||
* Fixes ignoring conditional imports with ``ignore-imports=y``.
|
||||
* Emit ``inconsistent-quotes`` for f-strings with 3.12
|
||||
interpreter only if targeting pre-3.12 versions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 20 11:48:34 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
%{?sle15_python_module_pythons}
|
||||
%bcond_without tests
|
||||
Name: python-pylint
|
||||
Version: 3.0.1
|
||||
Version: 3.0.2
|
||||
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 >= 3.0.0 with python-astroid < 3.1.0~dev0)
|
||||
Requires: (python-astroid >= 3.0.1 with python-astroid < 3.1.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 >= 3.0.0 with %python-astroid < 3.1.0~dev0}
|
||||
BuildRequires: %{python_module astroid >= 3.0.1 with %python-astroid < 3.1.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}
|
||||
|
Reference in New Issue
Block a user