Sourced from ruff's releases.
v0.0.267
Summary
Follow-up release to v0.0.266 to fix an issue with
python -m ruff
- andimport ruff
-based workflows.(No new rules or functionality.)
What's Changed
Rules
- Implement
RUF010
to detect explicit type conversions within f-strings by@LotemAm
in charliermarsh/ruff#4387Other Changes
- Workaround for maturin bug by
@konstin
in charliermarsh/ruff#4399New Contributors
@OMEGARAZER
made their first contribution in charliermarsh/ruff#3938@LotemAm
made their first contribution in charliermarsh/ruff#4387Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.266...v0.0.267
v0.0.266
What's Changed
Breaking Changes
- Remove deprecated
update-check
setting by@charliermarsh
in charliermarsh/ruff#4313- JSON Emitter: Use one indexed column numbers for edits by
@MichaReiser
in charliermarsh/ruff#4007Rules
- [
pygrep-hooks
] Implement pygrep-hook's Mock-mistake diagnostic by@charliermarsh
in charliermarsh/ruff#4366- [
pylint
] Implementnested-min-max
(W3301
) by@mccullocht
in charliermarsh/ruff#4200- [
flynt
] Implement Flynt static string join transform as FLY002 by@akx
in charliermarsh/ruff#4196- [
pylint
] Include positional- and keyword-only arguments in too-many-arguments by@charliermarsh
in charliermarsh/ruff#4329- [
ruff
] Update confusable character mapping by@akx
in charliermarsh/ruff#4274Settings
- Add .git-rewrite folder to default ignored folder paths by
@jleclanche
in charliermarsh/ruff#4261- Feat: detect changes also in configuration files by
@mikeleppane
in charliermarsh/ruff#4169Bug Fixes
- Revert the B027 autofix logic by
@aacunningham
in charliermarsh/ruff#4310- Consider Flask app logger as logger candidate by
@dhruvmanila
in charliermarsh/ruff#4253- Enforce max-doc-length for multi-line docstrings by
@charliermarsh
in charliermarsh/ruff#4347- Avoid re-using imports beyond current edit site by
@charliermarsh
in charliermarsh/ruff#4378- Respect insertion location when importing symbols by
@charliermarsh
in charliermarsh/ruff#4258- Fix jemalloc page size on aarch64 by
@MichaReiser
in charliermarsh/ruff#4247
... (truncated)
Sourced from ruff's changelog.
0.0.267
update-check
is no longer a valid configuration option (#4313)The
update-check
functionality was deprecated in #2530, in that the behavior itself was removed, and Ruff was changed to warn when that option was enabled.Now, Ruff will throw an error when
update-check
is provided via a configuration file (e.g.,update-check = false
) or through the command-line, since it has no effect. Users should remove this option from their configuration.
7617519
Skip python -m ruff --help on linux-crossbc7ddd8
Temporarily create release on-tage6bb5cd
Add Astral badge to the repo (#4401)dcedd5c
Bump version to 0.0.267 (#4400)606b6ac
Workaround for maturin bug (#4399)ebda9b3
Update CI to test python -m ruff
on release (#4397)52f6663
Implement RUF010
to detect explicit type conversions within
f-strings (#4387)a6176d2
Add PyTorch to user list (#4393)1d165f7
Add linting badge that can be used to display usage (#3938)e960922
Update Ruff badge (#4392)