Skip to content

chore(deps): 🔨update dependency pylint to v2.14.5

Edd Armitage requested to merge renovate/pylint-2.x into master

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
pylint (changelog) ==2.14.0 -> ==2.14.5 age adoption passing confidence

Release Notes

PyCQA/pylint

v2.14.5

Compare Source

  • Fixed a crash in the undefined-loop-variable check when enumerate() is used in a ternary expression.

    Closes #​7131

  • Fixed handling of -- as separator between positional arguments and flags.

    Closes #​7003

  • Fixed the disabling of fixme and its interaction with useless-suppression.

  • Allow lists of default values in parameter documentation for Numpy style.

    Closes #​4035

v2.14.4

Compare Source

  • The differing-param-doc check was triggered by positional only arguments.

    Closes #​6950

  • Fixed an issue where scanning . directory recursively with --ignore-path=^path/to/dir is not ignoring the path/to/dir directory.

    Closes #​6964

  • Fixed regression that didn't allow quoted init-hooks in option files.

    Closes #​7006

  • Fixed a false positive for modified-iterating-dict when updating an existing key.

    Closes #​6179

  • Fixed an issue where many-core Windows machines (>~60 logical processors) would hang when using the default jobs count.

    Closes #​6965

  • Fixed an issue with the recognition of setup.cfg files. Only .cfg files that are exactly named setup.cfg require section names that start with pylint..

    Closes #​3630

  • Don't report import-private-name for relative imports.

    Closes #​7078

v2.14.3

Compare Source

  • Fixed two false positives for bad-super-call for calls that refer to a non-direct parent.

    Closes #​4922, Closes #​2903

  • Fixed a false positive for useless-super-delegation for subclasses that specify the number of of parameters against a parent that uses a variadic argument.

    Closes #​2270

  • Allow suppressing undefined-loop-variable and undefined-variable without raising useless-suppression.

  • Fixed false positive for undefined-variable for __class__ in inner methods.

    Closes #​4032

v2.14.2

Compare Source

  • Fixed a false positive for unused-variable when a function returns an argparse.Namespace object.

    Closes #​6895

  • Avoided raising an identical undefined-loop-variable message twice on the same line.

  • Don't crash if lint.run._query_cpu() is run within a Kubernetes Pod, that has only a fraction of a cpu core assigned. Just go with one process then.

    Closes #​6902

  • Fixed a false positive in consider-using-f-string if the left side of a % is not a string.

    Closes #​6689

  • Fixed a false positive in unnecessary-list-index-lookup and unnecessary-dict-index-lookup when the subscript is updated in the body of a nested loop.

    Closes #​6818

  • Fixed an issue with multi-line init-hook options which did not record the line endings.

    Closes #​6888

  • Fixed a false positive for used-before-assignment when a try block returns but an except handler defines a name via type annotation.

  • --errors-only no longer enables previously disabled messages. It was acting as "emit all and only error messages" without being clearly documented that way.

    Closes #​6811

v2.14.1

Compare Source

  • Avoid reporting unnecessary-dict-index-lookup or unnecessary-list-index-lookup when the index lookup is part of a destructuring assignment.

    Closes #​6788

  • Fixed parsing of unrelated options in tox.ini.

    Closes #​6800

  • Fixed a crash when linting __new__() methods that return a call expression.

    Closes #​6805

  • Don't crash if we can't find the user's home directory.

    Closes #​6802

  • Fixed false positives for unused-import when aliasing typing e.g. as t and guarding imports under t.TYPE_CHECKING.

    Closes #​3846

  • Fixed a false positive regression in 2.13 for used-before-assignment where it is safe to rely on a name defined only in an except block because the else block returned.

    Closes #​6790

  • Fixed the use of abbreviations for some special options on the command line.

    Closes #​6810

  • Fix a crash in the optional pylint.extensions.private_import extension.

    Closes #​6624

  • bad-option-value (E0012) is now a warning unknown-option-value (W0012). Deleted messages that do not exist anymore in pylint now raise useless-option-value (R0022) instead of bad-option-value. This allows to distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for bad-option-value will still work on both new messages.

    Refs #​6794


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

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

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


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Edd Armitage

Merge request reports