diff --git a/python-ruff.changes b/python-ruff.changes index 1c43548..396c762 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Fri Sep 5 09:19:10 UTC 2025 - Dirk Müller + +- update to 0.12.12: + * Show fixes by default + * [`airflow`] Convert `DatasetOrTimeSchedule(datasets=...)` + to `AssetOrTimeSchedule(assets=...)` (`AIR311`) + * [`airflow`] Improve the `AIR002` error message + * [`airflow`] Move + `airflow.operators.postgres_operator.Mapping` from `AIR302` + to `AIR301` + * [`flake8-async`] Implement `blocking-input` rule + (`ASYNC250`) + * [`flake8-use-pathlib`] Make `PTH119` and `PTH120` fixes + unsafe because they can change behavior + * [`pylint`] Add U+061C to `PLE2502` + * [`ruff`] Fix false negative for empty f-strings in `deque` + calls (`RUF037`) + * Less confidently mark f-strings as empty when inferring + truthiness + * [`fastapi`] Fix false positive for paths with spaces around + parameters (`FAST003`) + * [`flake8-comprehensions`] Skip `C417` when lambda contains + `yield`/`yield from` + * [`perflint`] Handle tuples in dictionary comprehensions + (`PERF403`) + ------------------------------------------------------------------- Tue Sep 2 14:04:47 UTC 2025 - Nico Krapp @@ -6,43 +33,43 @@ Tue Sep 2 14:04:47 UTC 2025 - Nico Krapp ------------------------------------------------------------------- Thu Aug 28 21:53:00 UTC 2025 - Ondřej Súkup -- update to 0.12.11 +- update to 0.12.11 * Preview features - * [airflow] Extend AIR311 and AIR312 rules - * [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311) - * [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212) - * [flake8-logging-format] Add auto-fix for f-string logging calls (G004) - * [flake8-use-pathlib] Add autofix for PTH211 - * [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior + * [airflow] Extend AIR311 and AIR312 rules + * [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311) + * [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212) + * [flake8-logging-format] Add auto-fix for f-string logging calls (G004) + * [flake8-use-pathlib] Add autofix for PTH211 + * [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior * Bug fixes - * [pyflakes, pylint] Fix false positives caused by __class__ cell handling (F841, PLE0117) - * [pyflakes] Fix allowed-unused-imports matching for top-level modules (F401) - * [ruff] Fix false positive for t-strings in default-factory-kwarg (RUF026) - * [ruff] Preserve relative whitespace in multi-line expressions (RUF033) + * [pyflakes, pylint] Fix false positives caused by __class__ cell handling (F841, PLE0117) + * [pyflakes] Fix allowed-unused-imports matching for top-level modules (F401) + * [ruff] Fix false positive for t-strings in default-factory-kwarg (RUF026) + * [ruff] Preserve relative whitespace in multi-line expressions (RUF033) * Rule changes - * [ruff] Handle empty t-strings in unnecessary-empty-iterable-within-deque-call (RUF037) + * [ruff] Handle empty t-strings in unnecessary-empty-iterable-within-deque-call (RUF037) * Documentation - * Fix incorrect D413 links in docstrings convention FAQ - * [flake8-use-pathlib] Update links to the table showing the correspondence between os and pathlib + * Fix incorrect D413 links in docstrings convention FAQ + * [flake8-use-pathlib] Update links to the table showing the correspondence between os and pathlib ------------------------------------------------------------------- Fri Aug 22 11:09:22 UTC 2025 - Ondřej Súkup - update to 0.12.10 * Preview features - * [flake8-simplify] Implement fix for maxsplit without separator (SIM905) - * [flake8-use-pathlib] Add fixes for PTH102 and PTH103 + * [flake8-simplify] Implement fix for maxsplit without separator (SIM905) + * [flake8-use-pathlib] Add fixes for PTH102 and PTH103 * Bug fixes - * [isort] Handle multiple continuation lines after module docstring (I002) - * [pyupgrade] Avoid reporting __future__ features as unnecessary when they are used (UP010) - * [pyupgrade] Handle nested Optionals (UP045) + * [isort] Handle multiple continuation lines after module docstring (I002) + * [pyupgrade] Avoid reporting __future__ features as unnecessary when they are used (UP010) + * [pyupgrade] Handle nested Optionals (UP045) * Rule changes - * [pycodestyle] Make E731 fix unsafe instead of display-only for class assignments - * [pyflakes] Add secondary annotation showing previous definition (F811) + * [pycodestyle] Make E731 fix unsafe instead of display-only for class assignments + * [pyflakes] Add secondary annotation showing previous definition (F811) * Documentation - * Fix description of global config file discovery strategy - * Update outdated links to https://typing.python.org/en/latest/source/stubs.html - * [flake8-annotations] Remove unused import in example (ANN401) + * Fix description of global config file discovery strategy + * Update outdated links to https://typing.python.org/en/latest/source/stubs.html + * [flake8-annotations] Remove unused import in example (ANN401) ------------------------------------------------------------------- Fri Aug 15 12:56:45 UTC 2025 - Dirk Müller diff --git a/python-ruff.spec b/python-ruff.spec index def679f..6540607 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.12.11 +Version: 0.12.12 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.12.11.tar.gz b/ruff-0.12.11.tar.gz deleted file mode 100644 index a6eba52..0000000 --- a/ruff-0.12.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6b09ae8426a65bbee5425b9d0b82796dbb07cb1af045743c79bfb163001165d -size 5347103 diff --git a/ruff-0.12.12.tar.gz b/ruff-0.12.12.tar.gz new file mode 100644 index 0000000..f602e26 --- /dev/null +++ b/ruff-0.12.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b86cd3415dbe31b3b46a71c598f4c4b2f550346d1ccf6326b347cc0c8fd063d6 +size 5359915 diff --git a/vendor.tar.zst b/vendor.tar.zst index be0e390..9b72a67 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8132f6de87965337ae7a6055e3b1873cd89c99ad4be3d3a2cc34779473a3e7e9 -size 27523163 +oid sha256:6c6264944163620023d579dbd8e3fbbae8dc780bd754e7c2dbf8e64162935056 +size 29476465