documentation
documentation copied to clipboard
Bump ruff from 0.6.1 to 0.6.2
Bumps ruff from 0.6.1 to 0.6.2.
Release notes
Sourced from ruff's releases.
0.6.2
Release Notes
Preview features
- [
flake8-simplify] Extendopen-file-with-context-handlerto work with other standard-library IO modules (SIM115) (#12959)- [
ruff] Avoidunused-asyncfor functions with FastAPI route decorator (RUF029) (#12938)- [
ruff] Ignorefstring-missing-syntax(RUF027) forfastAPIpaths (#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 instring-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 forself-cls-assignment(PLW0642) (#12957)Server
- Show full context in error log messages (#13029)
Bug fixes
- [
pep8-naming] Don't flagfromimports following conventional import names (N817) (#12946)- [
pylint] - Allow__new__methods to haveclsas their first argument even if decorated with@staticmethodforbad-staticmethod-argument(PLW0211) (#12958)Documentation
- Add
hyperfineinstallation instructions; updatehyperfinecode samples (#13034)- Expand note to use Ruff with other language server in Kate (#12806)
- Update example for
PT001as per the new default behavior (#13019)- [
perflint] Improve docs fortry-except-in-loop(PERF203) (#12947)- [
pydocstyle] Add reference tolint.pydocstyle.ignore-decoratorssetting to rule docs (#12996)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.6.2
Preview features
- [
flake8-simplify] Extendopen-file-with-context-handlerto work with other standard-library IO modules (SIM115) (#12959)- [
ruff] Avoidunused-asyncfor functions with FastAPI route decorator (RUF029) (#12938)- [
ruff] Ignorefstring-missing-syntax(RUF027) forfastAPIpaths (#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 instring-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 forself-cls-assignment(PLW0642) (#12957)Server
- Show full context in error log messages (#13029)
Bug fixes
- [
pep8-naming] Don't flagfromimports following conventional import names (N817) (#12946)- [
pylint] - Allow__new__methods to haveclsas their first argument even if decorated with@staticmethodforbad-staticmethod-argument(PLW0211) (#12958)Documentation
- Add
hyperfineinstallation instructions; updatehyperfinecode samples (#13034)- Expand note to use Ruff with other language server in Kate (#12806)
- Update example for
PT001as per the new default behavior (#13019)- [
perflint] Improve docs fortry-except-in-loop(PERF203) (#12947)- [
pydocstyle] Add reference tolint.pydocstyle.ignore-decoratorssetting to rule docs (#12996)
Commits
02c4373Bump 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)93f9023Addhyperfineinstallation instructions; updatehyperfinecode samples (#...8144a11[red-knot] Add definition for with items (#12920)dce87c2Eagerly validate typeshed versions (#12786)f873d2aRevert "Use the system allocator for codspeed benchmarks" (#13035)ecd9e6a[red-knot] Improve theunresolved-importcheck (#13007)785c399Use ZIP file size metadata to allocate string (#13032)a35cdbbFix 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)