From 831b6aa151e3161bca3950e76fec5a013ceb4d82787eb19c91aefa925418d8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 22 Mar 2025 14:30:24 +0000 Subject: [PATCH] - update to 0.11.2 * Preview features * [syntax-errors] Fix false-positive syntax errors emitted for annotations on variadic parameters before Python 3.11 * [airflow] Add chain, chain_linear and cross_downstream for AIR302 * [syntax-errors] Improve error message and range for pre-PEP-614 decorator syntax errors * [syntax-errors] PEP 701 f-strings before Python 3.12 * [syntax-errors] Parenthesized context managers before Python 3.9 * [syntax-errors] Star annotations before Python 3.11 * [syntax-errors] Star expression in index before Python 3.11 * [syntax-errors] Unparenthesized assignment expressions in sets and indexes * Bug fixes * Server: Allow FixAll action in presence of version-specific syntax errors * [flake8-bandit] Allow raw strings in suspicious-mark-safe-usage (S308) * [refurb] Avoid panicking unwrap in verbose-decimal-constructor (FURB157) * [refurb] Fix starred expressions fix (FURB161) * Fix --statistics reporting for unsafe fixes * Rule changes * [flake8-executables] Allow uv run in shebang line for shebang-missing-python (EXE003) * CLI * Add --exit-non-zero-on-format * Documentation * Update Ruff tutorial to avoid non-existent fix in __init__.py * [flake8-gettext] Swap format- and printf-in-get-text-func-call examples (INT002, INT003) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=136 --- python-ruff.changes | 27 +++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.11.0.tar.gz | 3 --- ruff-0.11.2.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 33 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.11.0.tar.gz create mode 100644 ruff-0.11.2.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index f94d06b..3701970 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Sat Mar 22 13:29:35 UTC 2025 - Ondřej Súkup + +- update to 0.11.2 + * Preview features + * [syntax-errors] Fix false-positive syntax errors emitted for annotations on variadic parameters before Python 3.11 + * [airflow] Add chain, chain_linear and cross_downstream for AIR302 + * [syntax-errors] Improve error message and range for pre-PEP-614 decorator syntax errors + * [syntax-errors] PEP 701 f-strings before Python 3.12 + * [syntax-errors] Parenthesized context managers before Python 3.9 + * [syntax-errors] Star annotations before Python 3.11 + * [syntax-errors] Star expression in index before Python 3.11 + * [syntax-errors] Unparenthesized assignment expressions in sets and indexes + * Bug fixes + * Server: Allow FixAll action in presence of version-specific syntax errors + * [flake8-bandit] Allow raw strings in suspicious-mark-safe-usage (S308) + * [refurb] Avoid panicking unwrap in verbose-decimal-constructor (FURB157) + * [refurb] Fix starred expressions fix (FURB161) + * Fix --statistics reporting for unsafe fixes + * Rule changes + * [flake8-executables] Allow uv run in shebang line for shebang-missing-python (EXE003) + * CLI + * Add --exit-non-zero-on-format + * Documentation + * Update Ruff tutorial to avoid non-existent fix in __init__.py + * [flake8-gettext] Swap format- and printf-in-get-text-func-call examples (INT002, INT003) + ------------------------------------------------------------------- Sat Mar 15 22:51:35 UTC 2025 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 3819649..2466de1 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.11.0 +Version: 0.11.2 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.11.0.tar.gz b/ruff-0.11.0.tar.gz deleted file mode 100644 index a20b216..0000000 --- a/ruff-0.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e55c620690a4a7ee6f1cccb256ec2157dc597d109400ae75bbf944fc9d6462e2 -size 3799407 diff --git a/ruff-0.11.2.tar.gz b/ruff-0.11.2.tar.gz new file mode 100644 index 0000000..08264ab --- /dev/null +++ b/ruff-0.11.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec47591497d5a1050175bdf4e1a4e6272cddff7da88a2ad595e1e326041d8d94 +size 3857511 diff --git a/vendor.tar.zst b/vendor.tar.zst index bc30f03..13d3bfc 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d37ed7e25cbcdbcecca91b81caa9d2529c29c0c5872588a17ef743782ed5ad98 -size 37817149 +oid sha256:b1f0c18907f1f022385df31050b7ca04f46a995e23a13570ebce8d207d59d85e +size 37935303