14
0
forked from pool/python-pylint

- update to 3.1.0:

* Two new checks--``use-yield-from``, ``deprecated-
    attribute``-- and a smattering of bug fixes.
  * Skip ``consider-using-join`` check for non-empty separators
    if an ``suggest-join-with-non-empty-separator`` option is set
    to ``no``.
  * Discover ``.pyi`` files when linting.
  * Check ``TypeAlias`` and ``TypeVar`` (PEP 695) nodes for
    ``invalid-name``.
  * Support for resolving external toml files named pylintrc.toml
    and .pylintrc.toml.
  * Check for `.clear`, `.discard`, `.pop` and `remove` methods
    being called on a set while it is being iterated over.
  * New message `use-yield-from` added to the refactoring
    checker. This message is emitted when yielding from a loop
    can be replaced by `yield from`.
  * Added a ``deprecated-attribute`` message to check deprecated
    attributes in the stdlib.
  * Exempt ``TypedDict`` from ``typing_extensions`` from ``too-
    many-ancestor`` checks.
  * Extend broad-exception-raised and broad-exception-caught to
    except*.
  * Fix a false-negative for unnecessary if blocks using a
    different than expected ordering of arguments.
  * For "import X", it will report "(standard/third party/first
    party/local) import X"
  * For "import X.Y" and "from X import Y", it will report
    "(standard/third party/first party/local) import X.Y"
  * The import category is specified to provide explanation as to
    why pylint has issued the message and guidence to the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=156
This commit is contained in:
2024-03-22 20:03:15 +00:00
committed by Git OBS Bridge
parent 15e85133d0
commit 5a4ffc10f1
4 changed files with 48 additions and 14 deletions

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Fri Mar 22 20:01:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.1.0:
* Two new checks--``use-yield-from``, ``deprecated-
attribute``-- and a smattering of bug fixes.
* Skip ``consider-using-join`` check for non-empty separators
if an ``suggest-join-with-non-empty-separator`` option is set
to ``no``.
* Discover ``.pyi`` files when linting.
* Check ``TypeAlias`` and ``TypeVar`` (PEP 695) nodes for
``invalid-name``.
* Support for resolving external toml files named pylintrc.toml
and .pylintrc.toml.
* Check for `.clear`, `.discard`, `.pop` and `remove` methods
being called on a set while it is being iterated over.
* New message `use-yield-from` added to the refactoring
checker. This message is emitted when yielding from a loop
can be replaced by `yield from`.
* Added a ``deprecated-attribute`` message to check deprecated
attributes in the stdlib.
* Exempt ``TypedDict`` from ``typing_extensions`` from ``too-
many-ancestor`` checks.
* Extend broad-exception-raised and broad-exception-caught to
except*.
* Fix a false-negative for unnecessary if blocks using a
different than expected ordering of arguments.
* For "import X", it will report "(standard/third party/first
party/local) import X"
* For "import X.Y" and "from X import Y", it will report
"(standard/third party/first party/local) import X.Y"
* The import category is specified to provide explanation as to
why pylint has issued the message and guidence to the
developer on how to fix the problem.
* Fix a crash when an enum class which is also decorated with a
``dataclasses.dataclass`` decorator is defined.
-------------------------------------------------------------------
Mon Dec 18 08:23:50 UTC 2023 - Dirk Müller <dmueller@suse.com>