From 84efaa3bb020cd9255440ed92f691975cb3ff9f9df6a59b479c44c271b353643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 16 Oct 2025 21:57:09 +0000 Subject: [PATCH] - update to 0.14.1 * Preview features * [formatter] Remove parentheses around multiple exception types on Python 3.14+ * [flake8-bugbear] Omit annotation in preview fix for B006 * [flake8-logging-format] Avoid dropping implicitly concatenated pieces in the G004 fix * [pydoclint] Implement docstring-extraneous-parameter (DOC102) * [pyupgrade] Extend UP019 to detect typing_extensions.Text (UP019) * [pyupgrade] Fix false negative for TypeVar with default argument in non-pep695-generic-class (UP046) * Bug fixes * Fix false negatives in Truthiness::from_expr for lambdas, generators, and f-strings * Fix syntax error false positives for escapes and quotes in f-strings * Fix syntax error false positives on parenthesized context managers * [fastapi] Fix false positives for path parameters that FastAPI doesn't recognize (FAST003) * [flake8-pyi] Fix operator precedence by adding parentheses when needed (PYI061) * [ruff] Suppress diagnostic for f-string interpolations with debug text (RUF010) * Rule changes * [airflow] Add warning to airflow.datasets.DatasetEvent usage (AIR301) * [flake8-bugbear] Mark B905 and B912 fixes as unsafe * Use DiagnosticTag for more rules - changes display in editors * Documentation * Update Python compatibility from 3.13 to 3.14 in README.md * Update lint.flake8-type-checking.quoted-annotations docs * Update setup instructions for Zed 0.208.0+ * [flake8-datetimez] Clarify docs for several rules * Fix typo in RUF015 description * Other changes * Reduce binary size * Improved error recovery for unclosed strings (including f- and t-strings) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=193 --- python-ruff.changes | 32 ++++++++++++++++++++++++++++++++ python-ruff.spec | 3 ++- ruff-0.14.0.tar.gz | 3 --- ruff-0.14.1.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 39 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.14.0.tar.gz create mode 100644 ruff-0.14.1.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index bbd8307..1e41529 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Thu Oct 16 21:55:47 UTC 2025 - Ondřej Súkup + +- update to 0.14.1 + * Preview features + * [formatter] Remove parentheses around multiple exception types on Python 3.14+ + * [flake8-bugbear] Omit annotation in preview fix for B006 + * [flake8-logging-format] Avoid dropping implicitly concatenated pieces in the G004 fix + * [pydoclint] Implement docstring-extraneous-parameter (DOC102) + * [pyupgrade] Extend UP019 to detect typing_extensions.Text (UP019) + * [pyupgrade] Fix false negative for TypeVar with default argument in non-pep695-generic-class (UP046) + * Bug fixes + * Fix false negatives in Truthiness::from_expr for lambdas, generators, and f-strings + * Fix syntax error false positives for escapes and quotes in f-strings + * Fix syntax error false positives on parenthesized context managers + * [fastapi] Fix false positives for path parameters that FastAPI doesn't recognize (FAST003) + * [flake8-pyi] Fix operator precedence by adding parentheses when needed (PYI061) + * [ruff] Suppress diagnostic for f-string interpolations with debug text (RUF010) + * Rule changes + * [airflow] Add warning to airflow.datasets.DatasetEvent usage (AIR301) + * [flake8-bugbear] Mark B905 and B912 fixes as unsafe + * Use DiagnosticTag for more rules - changes display in editors + * Documentation + * Update Python compatibility from 3.13 to 3.14 in README.md + * Update lint.flake8-type-checking.quoted-annotations docs + * Update setup instructions for Zed 0.208.0+ + * [flake8-datetimez] Clarify docs for several rules + * Fix typo in RUF015 description + * Other changes + * Reduce binary size + * Improved error recovery for unclosed strings (including f- and t-strings) + ------------------------------------------------------------------- Wed Oct 8 10:02:40 UTC 2025 - Dirk Müller diff --git a/python-ruff.spec b/python-ruff.spec index 2c80193..7f6ee3c 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -1,6 +1,7 @@ # # spec file for package python-ruff # +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties @@ -19,7 +20,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.14.0 +Version: 0.14.1 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.14.0.tar.gz b/ruff-0.14.0.tar.gz deleted file mode 100644 index 20fdbf5..0000000 --- a/ruff-0.14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62ec8969b7510f77945df916de15da55311fade8d6050995ff7f680afe582c57 -size 5452071 diff --git a/ruff-0.14.1.tar.gz b/ruff-0.14.1.tar.gz new file mode 100644 index 0000000..ebce40f --- /dev/null +++ b/ruff-0.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1dd86253060c4772867c61791588627320abcb6ed1577a90ef432ee319729b69 +size 5513429 diff --git a/vendor.tar.zst b/vendor.tar.zst index 55ec24a..2d53656 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b5986732b62587f5bebf1341d3ebb2e28a8a60f5dfadbd133e58aff83bc94e6b -size 29507263 +oid sha256:04711705f8e851c8d2ddd2265aaabaaa050b735091359a28d1d691366e2bf989 +size 27738717