python
python copied to clipboard
Bump ruff from 0.4.3 to 0.4.4
Bumps ruff from 0.4.3 to 0.4.4.
Release notes
Sourced from ruff's releases.
v0.4.4
Changes
Preview features
- [
pycodestyle] Ignore end-of-line comments when determining blank line rules (#11342)- [
pylint] Detectpathlib.Path.opencalls inunspecified-encoding(PLW1514) (#11288)- [
flake8-pyi] ImplementPYI059(generic-not-last-base-class) (#11233)- [
flake8-pyi] ImplementPYI062(duplicate-literal-member) (#11269)Rule changes
- [
flake8-boolean-trap] Allow passing booleans as positional-only arguments in code such asset(True)(#11287)- [
flake8-bugbear] Ignore enum classes incached-instance-method(B019) (#11312)Server
- Expand tildes when resolving Ruff server configuration file (#11283)
- Fix
ruff serverhanging after Neovim closes (#11291)- Editor settings are used by default if no file-based configuration exists (#11266)
Bug fixes
- [
pylint] Considerwithstatements fortoo-many-branches(PLR0912) (#11321)- [
flake8-blind-except,tryceratops] Respect logged and re-raised expressions in nested statements (BLE001,TRY201) (#11301)- Recognise assignments such as
__all__ = builtins.list(["foo", "bar"])as valid__all__definitions (#11335)Contributors
Changelog
Sourced from ruff's changelog.
0.4.4
Preview features
- [
pycodestyle] Ignore end-of-line comments when determining blank line rules (#11342)- [
pylint] Detectpathlib.Path.opencalls inunspecified-encoding(PLW1514) (#11288)- [
flake8-pyi] ImplementPYI059(generic-not-last-base-class) (#11233)- [
flake8-pyi] ImplementPYI062(duplicate-literal-member) (#11269)Rule changes
- [
flake8-boolean-trap] Allow passing booleans as positional-only arguments in code such asset(True)(#11287)- [
flake8-bugbear] Ignore enum classes incached-instance-method(B019) (#11312)Server
- Expand tildes when resolving Ruff server configuration file (#11283)
- Fix
ruff serverhanging after Neovim closes (#11291)- Editor settings are used by default if no file-based configuration exists (#11266)
Bug fixes
- [
pylint] Considerwithstatements fortoo-many-branches(PLR0912) (#11321)- [
flake8-blind-except,tryceratops] Respect logged and re-raised expressions in nested statements (BLE001,TRY201) (#11301)- Recognise assignments such as
__all__ = builtins.list(["foo", "bar"])as valid__all__definitions (#11335)
Commits
3e8878aBump version to v0.4.4 (#11352)b6b4ad9[red-knot]@overridelint rule (#11282)dd42961[pylint] Detectpathlib.Path.opencalls inunspecified-encoding(`PLW15...c80c171[red-knot] Vendor typeshed's stdlib (#11340)e2fe177Revert "Simplify arithmetic operation in logical lines checker (#11346)" (#11...e9d1cddSimplify arithmetic operation in logical lines checker (#11346)dfe4291Improveruff_python_semantic::all::extract_all_names()(#11335)4541337[red-knot] Remove\<Db: SemanticDb>contraints in favor of dynamic dispatch ...8e9ddeeIgnore end-of-line comments when determining blank line rules (#11342)702d2faMake B024 and B027 documentation more nuanced (#11341)- 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)