Bump ruff from 0.0.278 to 0.0.280
Bumps ruff from 0.0.278 to 0.0.280.
Release notes
Sourced from ruff's releases.
v0.0.280
What's Changed
Bug Fixes
- Avoid collapsing
elif
andelse
branches during import sorting by@charliermarsh
in astral-sh/ruff#5964Full Changelog: https://github.com/astral-sh/ruff/compare/v0.0.279...v0.0.280
v0.0.279
What's Changed
Rules
- [
flake8-pyi
] Implement flake8-pyi's PYI026 by@LaBatata101
in astral-sh/ruff#5844- [
flake8-pyi
] Implement flake8-pyi'sPYI017
by@qdegraaf
in astral-sh/ruff#5895- [
flake8-pyi
] Implement flake8-pyi'sPYI036
by@density
in astral-sh/ruff#5668- [
flake8-pyi
] Implement flake8-pyi'sPYI041
by@density
in astral-sh/ruff#5722- [
flake8-use-pathlib
] Implementos-path-getsize
andos-path-get(a|m|c)-time
(PTH202-205
) by@sbrugman
in astral-sh/ruff#5835- [
flake8-use-pathlib
] Implementpath-constructor-default-argument
(PTH201
) by@sbrugman
in astral-sh/ruff#5833- [
pandas-vet
] Implement constant series rule (PD101
) by@sbrugman
in astral-sh/ruff#5802- [
pylint
] Implement Pylint'sconsider-using-in
(PLR1714
) by@tjkuson
in astral-sh/ruff#5193Rule changes
- [
flake8-annotations
] Check forAny
in other types forANN401
by@dhruvmanila
in astral-sh/ruff#5601- [
flake8-bugbear
] Add autofix for B004 by@density
in astral-sh/ruff#5788- [
flake8-bugbear
] RemoveB904
's lowercase exemption by@charliermarsh
in astral-sh/ruff#5751- [
flake8-use-pathlib
] extend PTH118 withos.sep
by@sbrugman
in astral-sh/ruff#5935- [
pyupgrade
] Expand scope ofquoted-annotation
rule (UP037
) by@charliermarsh
in astral-sh/ruff#5766- [
pyupgrade
] Extend PEP 604 rewrites to support some quoted annotations by@charliermarsh
in astral-sh/ruff#5725- [
ruff
] ExpandRUF015
to include all expression types by@charliermarsh
in astral-sh/ruff#5767Bug Fixes
- Consider single element subscript expr for implicit optional by
@dhruvmanila
in astral-sh/ruff#5717- Ignore
Enum
-and-str
subclasses for slots enforcement by@charliermarsh
in astral-sh/ruff#5749- Avoid removing raw strings in comparison fixes by
@charliermarsh
in astral-sh/ruff#5755- Fix nested calls to
sorted
with differing arguments by@density
in astral-sh/ruff#5761- Use unused variable detection to power
incorrect-dict-iterator
by@charliermarsh
in astral-sh/ruff#5763- Include alias when formatting import-from structs by
@guillaumeLepape
in astral-sh/ruff#5786- Make
lint_only
aware of the source kind by@dhruvmanila
in astral-sh/ruff#5876- Restore
redefined-while-unused
violations in classes by@charliermarsh
in astral-sh/ruff#5926- Flatten nested tuples when fixing UP007 violations by
@charliermarsh
in astral-sh/ruff#5724- Ignore Jupyter Notebooks for
--add-noqa
by@dhruvmanila
in astral-sh/ruff#5727- Avoid checking
EXE001
andEXE002
on WSL by@tjkuson
in astral-sh/ruff#5735- Properly group assignment targets by
@MichaReiser
in astral-sh/ruff#5728- Avoid stack overflow for non-BitOr binary types by
@charliermarsh
in astral-sh/ruff#5743- Move function visit out of
Expr::Call
branches by@charliermarsh
in astral-sh/ruff#5772- [B006] Add bytes to immutable types by
@harupy
in astral-sh/ruff#5776- Format
SetComp
by@lkh42t
in astral-sh/ruff#5774- Gate
runtime-import-in-type-checking-block
(TCH004
) behind enabled flag by@charliermarsh
in astral-sh/ruff#5789
... (truncated)
Commits
-
86b6a3e
Remove nested f-string flag (#5966) -
f5a2fb5
Bump version to 0.0.280 (#5965) -
94a004e
Avoid collapsingelif
andelse
branches during import sorting (#5964) -
aaf7f36
Create snake_case file if linter is Pylint (#5948) -
2dcd9e2
Remove unnecessarycheck_deferred_assignments
(#5963) -
40e9884
Move nonlocal-without-binding out of binding step (#5962) -
9bbb0a5
Fix typo in documentation (#5961) -
f1f89f2
Bump version to 0.0.279 (#5949) -
196cc9b
Fix RustPython rev to main branch (#5950) -
972f9a9
Fix formatting lambda with empty arguments (#5944) - Additional commits viewable in compare view