mozmeao / snippets-service

Service powering snippets on Firefox's about:home.
https://snippets.mozilla.com
Mozilla Public License 2.0
31 stars 36 forks source link

Bump pylint from 2.6.0 to 2.13.9 #1588

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps pylint from 2.6.0 to 2.13.9.

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.9?

Release date: 2022-05-13

  • Respect ignore configuration options with --recursive=y.

    Closes #6471

  • Fix false positives for no-name-in-module and import-error for numpy.distutils and pydantic.

    Closes #6497

  • Fix IndexError crash in uninferable_final_decorators method.

Relates to #6531

  • Fix a crash in unnecessary-dict-index-lookup when subscripting an attribute.

    Closes #6557

  • Fix a crash when accessing __code__ and assigning it to a variable.

    Closes #6539

  • Fix a false positive for undefined-loop-variable when using enumerate().

    Closes #6593

What's New in Pylint 2.13.8?

Release date: 2022-05-02

  • Fix a false positive for undefined-loop-variable for a variable used in a lambda inside the first of multiple loops.

    Closes #6419

  • Fix a crash when linting a file that passes an integer mode= to open

    Closes #6414

  • Avoid reporting superfluous-parens on expressions using the is not operator.

    Closes #5930

  • Fix a false positive for undefined-loop-variable when the else of a for loop raises or returns.

... (truncated)

Commits
  • 57014d6 Bump pylint to 2.13.9, update changelog
  • 7d80ca5 Fix false positive for undefined-loop-variable with enumerate() (#6602)
  • 9c2fe99 Respect ignore configuration options when --recursive=y. (#6528)
  • 33f3fcf Fix a crash in unnecessary-dict-index-lookup when subscripting an attribute...
  • aecadc2 Add regression test for #6497 (#6498)
  • 2d07d47 Add regression test for #6539
  • 96c3198 Upgrade astroid version to 2.11.5
  • 18cb026 Add an exception for IndexError inside uninferable_final_decorator (#6532)
  • 45cbae2 Bump pylint to 2.13.8, update changelog
  • ec2eee8 Suppress unsubscriptable-object warnings in type-checking blocks (#5720)
  • 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 #1595.