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.0.3-gh.tar.gz 0001422200 1.36 MB
python-pylint.changes 0000122996 120 KB
python-pylint.spec 0000004717 4.61 KB
Revision 40 (latest revision is 41)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1133805 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 40)
- update to 3.0.3:
  * Fixed false positive for ``unnecessary-lambda`` when the call
    has keyword arguments but not the lambda.
  * Fixed incorrect suggestion for shallow copy in unnecessary-
    comprehension
  * After changing b = [x for x in a] to b = a based on the
    suggestion, the script now prints [0, 2, 3]. The correct
    suggestion should be use list(a) to preserve the original
    behavior.
  * Fix false positives for ``undefined-variable`` and ``unused-
    argument`` for classes and functions using Python 3.12 generic
    type syntax.
  * Fixed ``pointless-string-statement`` false positive for
    docstrings on Python 3.12 type aliases.
  * Fix false positive for ``invalid-exception-operation`` when
    concatenating tuples of exception types.
  * Fix a bug where pylint was unable to walk recursively through
    a directory if the directory has an `__init__.py` file.
Comments 0
openSUSE Build Service is sponsored by