Sourced from ruff's releases.
0.12.12
Release Notes
Preview features
- Show fixes by default (#19919)
- [
airflow
] ConvertDatasetOrTimeSchedule(datasets=...)
toAssetOrTimeSchedule(assets=...)
(AIR311
) (#20202)- [
airflow
] Improve theAIR002
error message (#20173)- [
airflow
] Moveairflow.operators.postgres_operator.Mapping
fromAIR302
toAIR301
(#20172)- [
flake8-async
] Implementblocking-input
rule (ASYNC250
) (#20122)- [
flake8-use-pathlib
] MakePTH119
andPTH120
fixes unsafe because they can change behavior (#20118)- [
pylint
] Add U+061C toPLE2502
(#20106)- [
ruff
] Fix false negative for empty f-strings indeque
calls (RUF037
) (#20109)Bug fixes
- Less confidently mark f-strings as empty when inferring truthiness (#20152)
- [
fastapi
] Fix false positive for paths with spaces around parameters (FAST003
) (#20077)- [
flake8-comprehensions
] SkipC417
when lambda containsyield
/yield from
(#20201)- [
perflint
] Handle tuples in dictionary comprehensions (PERF403
) (#19934)Rule changes
- [
pycodestyle
] Preserve return type annotation forParamSpec
(E731
) (#20108)Documentation
Contributors
... (truncated)
Sourced from ruff's changelog.
0.12.12
Preview features
- Show fixes by default (#19919)
- [
airflow
] ConvertDatasetOrTimeSchedule(datasets=...)
toAssetOrTimeSchedule(assets=...)
(AIR311
) (#20202)- [
airflow
] Improve theAIR002
error message (#20173)- [
airflow
] Moveairflow.operators.postgres_operator.Mapping
fromAIR302
toAIR301
(#20172)- [
flake8-async
] Implementblocking-input
rule (ASYNC250
) (#20122)- [
flake8-use-pathlib
] MakePTH119
andPTH120
fixes unsafe because they can change behavior (#20118)- [
pylint
] Add U+061C toPLE2502
(#20106)- [
ruff
] Fix false negative for empty f-strings indeque
calls (RUF037
) (#20109)Bug fixes
- Less confidently mark f-strings as empty when inferring truthiness (#20152)
- [
fastapi
] Fix false positive for paths with spaces around parameters (FAST003
) (#20077)- [
flake8-comprehensions
] SkipC417
when lambda containsyield
/yield from
(#20201)- [
perflint
] Handle tuples in dictionary comprehensions (PERF403
) (#19934)Rule changes
- [
pycodestyle
] Preserve return type annotation forParamSpec
(E731
) (#20108)Documentation
c6516e9
Bump 0.12.12 (#20242)1aaa084
[ty] More tests for TypedDict (#20205)b49aa35
Split LICENSE addendum by derivation type (#20222)1e34f3f
[ty] Fix small test typo (#20220)77b2cee
[ty] Add functions for revealing assignability/subtyping constraints (#20217)200349c
[flake8-comprehensions
] Skip C417
when lambda
contains yield
/`yield fro...0d4f7dd
[ty] Treat __new__
as a static method (#20212)cb1ba0d
Expose Indentation
in ruff_python_codegen
(#20216)cda376a
[ty]eliminate definitely-impossible types from union in equality
narrowing (#...b14fc96
Update Rust crate tracing-subscriber to v0.3.20 (#20162)