ocean
ocean copied to clipboard
Bump ruff from 0.4.1 to 0.4.2
Bumps ruff from 0.4.1 to 0.4.2.
Release notes
Sourced from ruff's releases.
v0.4.2
Changes
Rule changes
- [
flake8-pyi] Allow for overloaded__exit__and__aexit__definitions (PYI036) (#11057)- [
pyupgrade] Catch usages of"%s" % varand provide an unsafe fix (UP031) (#11019)- [
refurb] Implement new rule that suggests min/max oversorted()(FURB192) (#10868)Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqacodes (#11096)- Introduce common Ruff configuration options with new server settings (#11062)
Bug fixes
- Use
macos-12for building release wheels to enable macOS 11 compatibility (#11146)- [
flake8-blind-expect] Allow raise from inBLE001(#11131)- [
flake8-pyi] Allow simple assignments toNonein enum class scopes (PYI026) (#11128)- [
flake8-simplify] Avoid raisingSIM911for non-zipattribute calls (#11126)- [
refurb] Avoidoperator.itemgettersuggestion for single-item tuple (#11095)- [
ruff] Respect per-file-ignores forRUF100with no other diagnostics (#11058)- [
ruff] Fix async comprehension false positive (RUF029) (#11070)Documentation
- [
flake8-bugbear] Document explicitly disabling strict zip (B905) (#11040)- [
flake8-type-checking] Mentionlint.typing-modulesinTCH001,TCH002, andTCH003(#11144)- [
isort] Improve documentation around customisortsections (#11050)- [
pylint] Fix documentation oversight forinvalid-X-returns(#11094)Performance
- Use
matchitto resolve per-file settings (#11111)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.2
Rule changes
- [
flake8-pyi] Allow for overloaded__exit__and__aexit__definitions (PYI036) (#11057)- [
pyupgrade] Catch usages of"%s" % varand provide an unsafe fix (UP031) (#11019)- [
refurb] Implement new rule that suggests min/max oversorted()(FURB192) (#10868)Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqacodes (#11096)- Introduce common Ruff configuration options with new server settings (#11062)
Bug fixes
- Use
macos-12for building release wheels to enable macOS 11 compatibility (#11146)- [
flake8-blind-expect] Allow raise from inBLE001(#11131)- [
flake8-pyi] Allow simple assignments toNonein enum class scopes (PYI026) (#11128)- [
flake8-simplify] Avoid raisingSIM911for non-zipattribute calls (#11126)- [
refurb] Avoidoperator.itemgettersuggestion for single-item tuple (#11095)- [
ruff] Respect per-file-ignores forRUF100with no other diagnostics (#11058)- [
ruff] Fix async comprehension false positive (RUF029) (#11070)Documentation
- [
flake8-bugbear] Document explicitly disabling strict zip (B905) (#11040)- [
flake8-type-checking] Mentionlint.typing-modulesinTCH001,TCH002, andTCH003(#11144)- [
isort] Improve documentation around customisortsections (#11050)- [
pylint] Fix documentation oversight forinvalid-X-returns(#11094)Performance
- Use
matchitto resolve per-file settings (#11111)
Commits
77c93fdBump version to 0.4.2 (#11151)1c9f5e3Display the AST even with syntax errors (#11147)263a0d2Usemacos-12to build release wheels (#11146)4738e19Remove unused lexical error types (#11145)f428bd5Docs: mentionlint.typing-modulesinTCH001,TCH002,TCH003(#11144)4690890ruff server: In 'publish diagnostics' mode, document diagnostics are cleare...19baabbREADME: add Apache Superset to project list (#11136)cee38f3[flake8-blind-expect] Allow raise from inBLE001(#11131)e3fde28[flake8-pyi] Allow overloaded__exit__and__aexit__definitions (`PYI0...1c8849fUse Matchit to Resolve Per-File Settings (#11111)- 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)