unthreaded / git-hooks

Small, lightweight tool to ensure ticket numbers make it into your Git commit messages
MIT License
0 stars 2 forks source link

Bump pylint from 2.7.4 to 2.13.2 #132

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps pylint from 2.7.4 to 2.13.2.

Release notes

Sourced from pylint's releases.

pylint-2.8.1

  • Add numversion back (temporarily) in __pkginfo__ because it broke Pylama and revert the unnecessary pylint.version breaking change.

    Closes #4399

pylint-2.8.0

  • New refactoring message consider-using-with. This message is emitted if resource-allocating functions or methods of the standard library (like open() or threading.Lock.acquire()) that can be used as a context manager are called without a with block.

    Closes #3413

  • Resolve false positives on unused variables in decorator functions

    Closes #4252

  • Add new extension ConfusingConsecutiveElifChecker. This optional checker emits a refactoring message (R5601 confusing-consecutive-elif) if if/elif statements with different indentation levels follow directly one after the other.

  • New option --output=<file> to output result to a file rather than printing to stdout.

    Closes #1070

  • Use a prescriptive message for unidiomatic-typecheck

    Closes #3891

  • Apply const-naming-style to module constants annotated with typing.Final

  • The packaging is now done via setuptools exclusively. doc, tests, man, elisp and Changelog are not packaged anymore - reducing the size of the package by 75%.

  • Debian packaging is now (officially) done in https://salsa.debian.org/python-team/packages/pylint.

  • The 'doc' extra-require has been removed.

  • __pkginfo__ now only contain __version__ (also accessible with pylint.__version__), other meta-information are still accessible with import importlib;metadata.metadata('pylint').

  • COPYING has been renamed to LICENSE for standardization.

  • Fix false-positive used-before-assignment in function returns.

    Closes #4301

  • Updated astroid to 2.5.3

... (truncated)

Changelog

Sourced from pylint's changelog.

What's New in Pylint 2.13.2?

Release date: 2022-03-27

  • Fix crash when subclassing a namedtuple.

    Closes #5982

  • Fix false positive for superfluous-parens for patterns like "return (a or b) in iterable".

    Closes #5803

  • Fix a false negative regression in 2.13.0 where protected-access was not raised on functions.

    Fixes #5989

  • Better error messages in case of crash if pylint can't write the issue template.

    Refer to #5987

What's New in Pylint 2.13.1?

Release date: 2022-03-26

  • Fix a regression in 2.13.0 where used-before-assignment was emitted for the usage of a nonlocal in a try block.

    Fixes #5965

  • Avoid emitting raising-bad-type when there is inference ambiguity on the variable being raised.

    Closes #2793

  • Loosen TypeVar default name pattern a bit to allow names with multiple uppercase characters. E.g. HVACModeT or IPAddressT.

    Closes #5981

  • Fixed false positive for unused-argument when a nonlocal name is used in a nested function that is returned without being called by its parent.

    Closes #5187

  • Fix program crash for modified_iterating-list/set/dict when the list/dict/set being iterated through is a function call.

... (truncated)

Commits
  • 2066cab Bump pylint to 2.13.2, update changelog
  • 6a25d70 Better error message when we cant write the crash files (#5987)
  • c42fe73 Fix false negative for protected-access on functions (#5990)
  • dec241b Add regression test for #5982 upgrade astroid to 2.11.2 (#5988)
  • b25859c Fix false positive for superfluous-parens for return (a or b) in iterable...
  • 0e1ca11 Bump pylint to 2.13.1, update changelog
  • 4a05794 Fix issue #5969 for modified_iterating-list (#5986)
  • ef2e176 Don't emit broken typing errors inside TYPE_CHECKING blocks (#5984)
  • 4a92de7 Loosen TypeVar name pattern (#5983)
  • 903ce58 Fix false positive for unused-argument where nested function uses parent ar...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #133.