Skip to content

Update dependency pylint to v2.17.4#442

Merged
ctalkington merged 1 commit intomasterfrom
renovate/pylint-2.x
May 28, 2023
Merged

Update dependency pylint to v2.17.4#442
ctalkington merged 1 commit intomasterfrom
renovate/pylint-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented May 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pylint (changelog) 2.17.0 -> 2.17.4 age adoption passing confidence

Release Notes

PyCQA/pylint

v2.17.4

Compare Source

False Positives Fixed

  • Fix a false positive for bad-dunder-name when there is a user-defined
    __index__ method.

    Closes #​8613

Other Bug Fixes

  • pyreverse: added escaping of vertical bar character in annotation labels
    produced by DOT printer to ensure it is not treated as field separator of
    record-based nodes.

    Closes #​8603

  • Fixed a crash when generating a configuration file:
    tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key
    caused by tomlkit v0.11.8.

    Closes #​8632

v2.17.3

Compare Source

What's new in Pylint 2.17.3?

Release date: 2023-04-24

False Positives Fixed

  • Fix unused-argument false positive when __new__ does not use all the
    arguments of __init__.

    Closes #​3670

  • Fix unused-import false positive for usage of six.with_metaclass.

    Closes #​7506

  • logging-not-lazy is not longer emitted for explicitly concatenated string
    arguments.

    Closes #​8410

  • Fix false positive for isinstance-second-argument-not-valid-type when union
    types contains None.

    Closes #​8424

  • Fixed unused-import so that it observes the dummy-variables-rgx option.

    Closes #​8500

  • Union typed variables without assignment are no longer treated as
    TypeAlias.

    Closes #​8540

  • Fix false positive for positional-only-arguments-expected when a function
    contains both a positional-only parameter that has a default value, and
    **kwargs.

    Closes #​8555

  • Fix false positive for keyword-arg-before-vararg when a positional-only
    parameter with a default value precedes *args.

    Closes #​8570

Other Bug Fixes

  • Improve output of consider-using-generator message for min()` calls with default`` keyword.

    Closes #​8563

v2.17.2

Compare Source

False Positives Fixed

  • invalid-name now allows for integers in typealias names:

    • now valid: Good2Name, GoodName2.
    • still invalid: _1BadName.

    Closes #​8485

  • No longer consider Union as type annotation as type alias for naming
    checks.

    Closes #​8487

  • unnecessary-lambda no longer warns on lambdas which use its parameters in
    their body (other than the final arguments), e.g.
    lambda foo: (bar if foo else baz)(foo).

    Closes #​8496

Other Bug Fixes

  • Fix a crash in pyreverse when "/" characters are used in the output filename
    e.g pyreverse -o png -p name/ path/to/project.

    Closes #​8504

v2.17.1

Compare Source

False Positives Fixed

  • Adds asyncSetUp to the default defining-attr-methods list to silence
    attribute-defined-outside-init warning when using
    unittest.IsolatedAsyncioTestCase.

    Refs #​8403

Other Bug Fixes

  • --clear-cache-post-run now also clears LRU caches for pylint utilities
    holding references to AST nodes.

    Closes #​8361

  • Fix a crash when TYPE_CHECKING is used without importing it.

    Closes #​8434

  • Fix a regression of preferred-modules where a partial match was used
    instead of the required full match.

    Closes #​8453

Internal Changes

  • The following utilities are deprecated in favor of the more robust
    in_type_checking_block
    and will be removed in pylint 3.0:

    • is_node_in_guarded_import_block
    • is_node_in_typing_guarded_import_block
    • is_typing_guard

    is_sys_guard is still available, which was part of
    is_node_in_guarded_import_block.

    Refs #​8433


Configuration

📅 Schedule: Branch creation - "before 2am" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code labels May 28, 2023
@codecov
Copy link
Copy Markdown

codecov bot commented May 28, 2023

Codecov Report

Merging #442 (be2a6d7) into master (7f6e2eb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #442   +/-   ##
=======================================
  Coverage   95.21%   95.21%           
=======================================
  Files           9        9           
  Lines         815      815           
  Branches      121      121           
=======================================
  Hits          776      776           
  Misses         14       14           
  Partials       25       25           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@renovate renovate bot force-pushed the renovate/pylint-2.x branch from 7c3d7f3 to be2a6d7 Compare May 28, 2023 07:27
@ctalkington ctalkington merged commit 976f044 into master May 28, 2023
@ctalkington ctalkington deleted the renovate/pylint-2.x branch May 28, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant