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

deps: update dependency pylint to >=3,<3.2 #364

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 25, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pylint (changelog) >=3,<3.1 -> >=3,<3.2 age adoption passing confidence

Release Notes

pylint-dev/pylint (pylint)

v3.1.0

Compare Source

Two new checks--use-yield-from, deprecated-attribute-- and a smattering of bug fixes.

New Features

  • Skip consider-using-join check for non-empty separators if an suggest-join-with-non-empty-separator option is set to no.

    Closes #​8701

  • Discover .pyi files when linting.

    These can be ignored with the ignore-patterns setting.

    Closes #​9097

  • Check TypeAlias and TypeVar (PEP 695) nodes for invalid-name.

    Refs #​9196

  • Support for resolving external toml files named pylintrc.toml and .pylintrc.toml.

    Closes #​9228

  • Check for .clear, .discard, .pop and remove methods being called on a set while it is being iterated over.

    Closes #​9334

New Checks

  • New message use-yield-from added to the refactoring checker. This message is emitted when yielding from a loop can be replaced by yield from.

    Closes #​9229.

  • Added a deprecated-attribute message to check deprecated attributes in the stdlib.

    Closes #​8855

False Positives Fixed

  • Fixed false positive for inherit-non-class for generic Protocols.

    Closes #​9106

  • Exempt TypedDict from typing_extensions from too-many-ancestor checks.

    Refs #​9167

False Negatives Fixed

  • Extend broad-exception-raised and broad-exception-caught to except*.

    Closes #​8827

  • Fix a false-negative for unnecessary if blocks using a different than expected ordering of arguments.

    Closes #​8947.

Other Bug Fixes

  • Improve the message provided for wrong-import-order check. Instead of the import statement ("import x"), the message now specifies the import that is out of order and which imports should come after it. As reported in the issue, this is particularly helpful if there are multiple imports on a single line that do not follow the PEP8 convention.

    The message will report imports as follows:
    For "import X", it will report "(standard/third party/first party/local) import X"
    For "import X.Y" and "from X import Y", it will report "(standard/third party/first party/local) import X.Y"
    The import category is specified to provide explanation as to why pylint has issued the message and guidence to the developer on how to fix the problem.

    Closes #​8808

Other Changes

  • Print how many files were checked in verbose mode.

    Closes #​8935

  • Fix a crash when an enum class which is also decorated with a dataclasses.dataclass decorator is defined.

    Closes #​9100

Internal Changes

  • Update astroid version to 3.1.0.

    Refs #​9457


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.86%. Comparing base (dd2a521) to head (56241d8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #364   +/-   ##
=======================================
  Coverage   92.86%   92.86%           
=======================================
  Files          65       65           
  Lines        2872     2872           
=======================================
  Hits         2667     2667           
  Misses        205      205           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jooola jooola merged commit d71d17f into main Feb 28, 2024
10 checks passed
@jooola jooola deleted the renovate/pylint-3.x branch February 28, 2024 21:18
jooola pushed a commit that referenced this pull request Mar 27, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.33.3](v1.33.2...v1.33.3)
(2024-03-27)


### Bug Fixes

* invalid type for load balancer private network property
([#372](#372))
([903e92f](903e92f))


### Dependencies

* update codecov/codecov-action action to v4
([#359](#359))
([a798979](a798979))
* update dependency mypy to &gt;=1.9,&lt;1.10
([#368](#368))
([4b9328c](4b9328c))
* update dependency pylint to &gt;=3,&lt;3.2
([#364](#364))
([d71d17f](d71d17f))
* update dependency pytest to &gt;=8,&lt;8.2
([#366](#366))
([8665dcf](8665dcf))
* update dependency pytest to v8
([#357](#357))
([f8f756f](f8f756f))
* update dependency pytest-cov to v5
([#371](#371))
([04a6a42](04a6a42))
* update dependency watchdog to v4
([#360](#360))
([cb8d383](cb8d383))
* update pre-commit hook asottile/pyupgrade to v3.15.1
([#362](#362))
([dd2a521](dd2a521))
* update pre-commit hook asottile/pyupgrade to v3.15.2
([3d02ad7](3d02ad7))
* update pre-commit hook psf/black-pre-commit-mirror to v24
([#356](#356))
([b46397d](b46397d))
* update pre-commit hook psf/black-pre-commit-mirror to v24.1.1
([#358](#358))
([7e4645e](7e4645e))
* update pre-commit hook psf/black-pre-commit-mirror to v24.2.0
([#361](#361))
([5b56ace](5b56ace))
* update pre-commit hook psf/black-pre-commit-mirror to v24.3.0
([3bbac5d](3bbac5d))
* update pre-commit hook pycqa/flake8 to v7
([#354](#354))
([66a582f](66a582f))
* update pypa/gh-action-pypi-publish action to v1.8.12
([#365](#365))
([55db255](55db255))
* update pypa/gh-action-pypi-publish action to v1.8.14
([#367](#367))
([0cb615f](0cb615f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant