Overview
Request 1129239 accepted
- 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
- Created by dirkmueller
- In state accepted
Request History
dirkmueller created request
- 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
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
staging-bot added as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:65"
staging-bot accepted review
Picked "openSUSE:Factory:Staging:adi:65"
dimstar accepted review
anag+factory accepted review
Staging Project openSUSE:Factory:Staging:adi:65 got accepted.
anag+factory approved review
Staging Project openSUSE:Factory:Staging:adi:65 got accepted.
anag+factory accepted request
Staging Project openSUSE:Factory:Staging:adi:65 got accepted.