Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump pylint from 2.7.2 to 2.10.0 #56

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 20, 2021

Bumps pylint from 2.7.2 to 2.10.0.

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

Release date: 2021-08-20

  • pyreverse: add option to produce colored output.

    Closes #4488

  • pyreverse: add output in PlantUML format.

    Closes #4498

  • consider-using-with is no longer triggered if a context manager is returned from a function.

    Closes #4748

  • pylint does not crash with a traceback anymore when a file is problematic. It creates a template text file for opening an issue on the bug tracker instead. The linting can go on for other non problematic files instead of being impossible.

  • pyreverse: Show class has-a relationships inferred from the type-hint

    Closes #4744

  • Fixed a crash when importing beyond the top level package during import-error message creation

    Closes #4775

  • Added ignored-parents option to the design checker to ignore specific classes from the too-many-ancestors check (R0901).

    Partially closes #3057

  • Added unspecified-encoding: Emitted when open() is called without specifying an encoding

    Closes #3826

  • Improved the Similarity checker performance. Fix issue with --min-similarity-lines used with --jobs.

    Close #4120 Close #4118

  • Don't emit no-member error if guarded behind if statement.

    Ref #1162 Closes #1990 Closes #4168

  • The default for PYLINTHOME is now the standard XDG_CACHE_HOME, and pylint now uses appdirs.

... (truncated)

Commits
  • ea448b8 Bump pylint to 2.10.0, update changelog
  • 303654c Prevent crash in CI environnement if we can't write in pylint's cache
  • 72a202a Upgrade astroid to 2.7.2
  • 56fdadb [PYLINT-HOME change] Less spam when using pylint in parallel
  • a3464cb Add a test for false positive no-member in subclassed dataclasses
  • 7a9bfc4 Add consider-ternary-expression extension
  • 071ce3c Change some if/assign blocks to if-expressions
  • 2d05a4e Add typecheck tests for dataclass attributes
  • 077a034 Update test requirements to astroid 2.7.1
  • 91019f7 Improve invalid-metaclass error message for Instances
  • 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)

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.2 to 2.10.0.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog)
- [Commits](pylint-dev/pylint@pylint-2.7.2...v2.10.0)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 20, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 23, 2021

Superseded by #57.

@dependabot dependabot bot closed this Aug 23, 2021
@dependabot dependabot bot deleted the dependabot/pip/pylint-2.10.0 branch August 23, 2021 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants