Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
flake8-import-conventions
, which require symbol renames across a file.Rules
copyright
] Implement copyright notice detection by @Ryang20718 in Implement copyright notice detection astral-sh/ruff#4701flake8-datetimez
] Enable UTC-import fordatetime-utc-alias
fix by @charliermarsh in Enable UTC-import fordatetime-utc-alias
fix astral-sh/ruff#5100flake8-implicit-str-concat
] Add autofix forISC001
by @tkukushkin in Autofixer for ISC001 astral-sh/ruff#4853flake8-import-conventions
] Enable autofix for unconventional imports rule by @charliermarsh in Enable autofix for unconventional imports rule astral-sh/ruff#5152flake8-pyi
] Add autofix forSet
-to-AbstractSet
rewrite using reference tracking by @charliermarsh in Add autofix forSet
-to-AbstractSet
rewrite using reference tracking astral-sh/ruff#5074flake8-pyi
] Implement PYI044 by @Thomasdezeeuw in [flake8-pyi] Implement PYI044 astral-sh/ruff#5021flake8-return
] Extend revisedRET504
implementation towith
statements by @charliermarsh in Extend revisedRET504
implementation towith
statements astral-sh/ruff#4998flake8-return
] Implement autofix for revisedRET504
rule by @charliermarsh in Implement autofix for revisedRET504
rule astral-sh/ruff#4999flake8-return
] RefactorRET504
to only enforce assignment-then-return pattern by @charliermarsh in RefactorRET504
to only enforce assignment-then-return pattern astral-sh/ruff#4997flake8-slots
] Add plugin, addSLOT000
,SLOT001
andSLOT002
by @qdegraaf in [flake8-slots
] Add plugin, addSLOT000
,SLOT001
andSLOT002
astral-sh/ruff#4909perflint
] Addperflint
plugin, add first rulePERF102
by @qdegraaf in [perflint
] Addperflint
plugin, add first rulePERF102
astral-sh/ruff#4821pylint
] Add Pylint rulecomparison-with-itself
(R0124
) by @tjkuson in Add Pylint rulecomparison-with-itself
(R0124
) astral-sh/ruff#4957pyupgrade
] Add a rule to remove unnecessary parentheses in class definitions by @charliermarsh in Add a rule to remove unnecessary parentheses in class definitions astral-sh/ruff#5032ruff
] Add a rule for static keys in dict comprehensions by @rodjunger in [ruff
] Add a rule for static keys in dict comprehensions astral-sh/ruff#4929ruff
] Add rule to disallow implicit optional with autofix by @dhruvmanila in Add rule to disallow implicit optional with autofix astral-sh/ruff#4831ruff
] Expand RUF008 to all classes, but to a new code (RUF012) by @adampauls in Expand RUF008 to all classes, but to a new code (RUF012) astral-sh/ruff#4390ruff
] Remove unannotated attributes from RUF008 by @charliermarsh in Remove unannotated attributes from RUF008 astral-sh/ruff#5049ruff
] Upgrade explicit-type-conversion rule (RUF010
) to remove unnecessarystr
calls by @charliermarsh in Upgrade explicit-type-conversion rule (RUF010
) to remove unnecessarystr
calls astral-sh/ruff#4971Settings
-o
/--output-file
) to write output to a file by @dhruvmanila in Option (-o
/--output-file
) to write output to a file astral-sh/ruff#4950Caching
Jupyter
Bug Fixes
__all__
by @charliermarsh in Allow re-assignments to__all__
astral-sh/ruff#4967pytest.fail
by @charliermarsh in Support 'reason' argument topytest.fail
astral-sh/ruff#5040async with
inredefined-loop-name
by @charliermarsh in Allowasync with
inredefined-loop-name
astral-sh/ruff#5125DJ008
enforcement in stub files by @charliermarsh in SkipDJ008
enforcement in stub files astral-sh/ruff#5139TypedDict
conversion logic for shadowed builtins and dunder methods by @charliermarsh in ImproveTypedDict
conversion logic for shadowed builtins and dunder methods astral-sh/ruff#5038__all__
definitions for docstring visibility by @charliermarsh in Respect all__all__
definitions for docstring visibility astral-sh/ruff#5052reimplemented-builtin
if usingawait
by @tjkuson in Ignorereimplemented-builtin
if usingawait
astral-sh/ruff#5101__future__
imports by @charliermarsh in Don't treat straight imports of __future__ as__future__
imports astral-sh/ruff#5128W293
by @evanrittenhouse in Fix corner case involving terminal backslash after fixingW293
astral-sh/ruff#5172New Contributors
ruff
] Add a rule for static keys in dict comprehensions astral-sh/ruff#4929Full Changelog: astral-sh/ruff@v0.0.272...v0.0.273