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

python-deps(deps-dev): update ruff requirement from 0.6.1 to 0.6.2 in the python-dependencies group #3

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 27, 2024

Updates the requirements on ruff to permit the latest version.
Updates ruff to 0.6.2

Release notes

Sourced from ruff's releases.

0.6.2

Release Notes

Preview features

  • [flake8-simplify] Extend open-file-with-context-handler to work with other standard-library IO modules (SIM115) (#12959)
  • [ruff] Avoid unused-async for functions with FastAPI route decorator (RUF029) (#12938)
  • [ruff] Ignore fstring-missing-syntax (RUF027) for fastAPI paths (#12939)
  • [ruff] Implement check for Decimal called with a float literal (RUF032) (#12909)

Rule changes

  • [flake8-bugbear] Update diagnostic message when expression is at the end of function (B015) (#12944)
  • [flake8-pyi] Skip type annotations in string-or-bytes-too-long (PYI053) (#13002)
  • [flake8-type-checking] Always recognise relative imports as first-party (#12994)
  • [flake8-unused-arguments] Ignore unused arguments on stub functions (ARG001) (#12966)
  • [pylint] Ignore augmented assignment for self-cls-assignment (PLW0642) (#12957)

Server

  • Show full context in error log messages (#13029)

Bug fixes

  • [pep8-naming] Don't flag from imports following conventional import names (N817) (#12946)
  • [pylint] - Allow __new__ methods to have cls as their first argument even if decorated with @staticmethod for bad-staticmethod-argument (PLW0211) (#12958)

Documentation

  • Add hyperfine installation instructions; update hyperfine code samples (#13034)
  • Expand note to use Ruff with other language server in Kate (#12806)
  • Update example for PT001 as per the new default behavior (#13019)
  • [perflint] Improve docs for try-except-in-loop (PERF203) (#12947)
  • [pydocstyle] Add reference to lint.pydocstyle.ignore-decorators setting to rule docs (#12996)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.2

Preview features

  • [flake8-simplify] Extend open-file-with-context-handler to work with other standard-library IO modules (SIM115) (#12959)
  • [ruff] Avoid unused-async for functions with FastAPI route decorator (RUF029) (#12938)
  • [ruff] Ignore fstring-missing-syntax (RUF027) for fastAPI paths (#12939)
  • [ruff] Implement check for Decimal called with a float literal (RUF032) (#12909)

Rule changes

  • [flake8-bugbear] Update diagnostic message when expression is at the end of function (B015) (#12944)
  • [flake8-pyi] Skip type annotations in string-or-bytes-too-long (PYI053) (#13002)
  • [flake8-type-checking] Always recognise relative imports as first-party (#12994)
  • [flake8-unused-arguments] Ignore unused arguments on stub functions (ARG001) (#12966)
  • [pylint] Ignore augmented assignment for self-cls-assignment (PLW0642) (#12957)

Server

  • Show full context in error log messages (#13029)

Bug fixes

  • [pep8-naming] Don't flag from imports following conventional import names (N817) (#12946)
  • [pylint] - Allow __new__ methods to have cls as their first argument even if decorated with @staticmethod for bad-staticmethod-argument (PLW0211) (#12958)

Documentation

  • Add hyperfine installation instructions; update hyperfine code samples (#13034)
  • Expand note to use Ruff with other language server in Kate (#12806)
  • Update example for PT001 as per the new default behavior (#13019)
  • [perflint] Improve docs for try-except-in-loop (PERF203) (#12947)
  • [pydocstyle] Add reference to lint.pydocstyle.ignore-decorators setting to rule docs (#12996)

0.6.1

This is a hotfix release to address an issue with ruff-pre-commit. In v0.6, Ruff changed its behavior to lint and format Jupyter notebooks by default; however, due to an oversight, these files were still excluded by default if Ruff was run via pre-commit, leading to inconsistent behavior. This has now been fixed.

Preview features

  • [fastapi] Implement fast-api-unused-path-parameter (FAST003) (#12638)

Rule changes

  • [pylint] Rename too-many-positional to too-many-positional-arguments (R0917) (#12905)

... (truncated)

Commits
  • 02c4373 Bump version to 0.6.2 (#13056)
  • d37e2e5 [flake8-simplify] Extend open-file-with-context-handler to work with other ...
  • d1d0678 [red-knot] Remove notebook support from the server (#13040)
  • 93f9023 Add hyperfine installation instructions; update hyperfine code samples (#...
  • 8144a11 [red-knot] Add definition for with items (#12920)
  • dce87c2 Eagerly validate typeshed versions (#12786)
  • f873d2a Revert "Use the system allocator for codspeed benchmarks" (#13035)
  • ecd9e6a [red-knot] Improve the unresolved-import check (#13007)
  • 785c399 Use ZIP file size metadata to allocate string (#13032)
  • a35cdbb Fix various panicks when linting black/src (#13033)
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.

Updates `ruff` to 0.6.2
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.6.1...0.6.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 27, 2024

The following labels could not be found: python, dependencies.

@u625355
Copy link
Contributor

u625355 commented Aug 28, 2024

@dependabot rebase

@nfelt14
Copy link
Collaborator

nfelt14 commented Aug 28, 2024

@dependabot recreate

@u625355 u625355 self-requested a review August 29, 2024 15:23
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 3, 2024

Looks like ruff is updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Sep 3, 2024
@dependabot dependabot bot deleted the dependabot/pip/python-dependencies-e0a6885fa4 branch September 3, 2024 00:17
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.

2 participants