python-pylint

Edit Package python-pylint

analyzes Python source code looking for bugs and signs of poor quality.

Refresh
Refresh
Source Files
Filename Size Changed
pylint-3.1.0-gh.tar.gz 0001433040 1.37 MB
python-pylint.changes 0000124757 122 KB
python-pylint.spec 0000004590 4.48 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1160816 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 41)
- 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
Comments 0
openSUSE Build Service is sponsored by