From 80190660ab0741fa0bf6419377141fd23b2c6f6a3d2ee9a4549b8ed3b8ff17d5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 15 Aug 2025 12:57:39 +0000 Subject: [PATCH] - update to 0.12.9: * \[`airflow`\] Add check for `airflow.secrets.cache.SecretCache` (`AIR301`) * \[`ruff`\] Offer a safe fix for multi-digit zeros (`RUF064`) * \[`flake8-blind-except`\] Fix `BLE001` false-positive on `raise ... from None` * \[`flake8-comprehensions`\] Fix false positive for `C420` with attribute, subscript, or slice assignment targets * \[`flake8-simplify`\] Fix handling of U+001C..U+001F whitespace (`SIM905`) * \[`pylint`\] Use lowercase hex characters to match the formatter (`PLE2513`) * [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses * Bug fixes * [flake8-blind-except] Change BLE001 to correctly parse exception tuples * [flake8-errmsg] Exclude typing.cast from EM101 * [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes * [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001 * [isort] Fix syntax error after docstring ending with backslash (I002) * [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present * [pyupgrade] Prevent infinite loop with I002 (UP010, UP035) * [ruff] Parenthesize generator expressions in f-strings (RUF010) * Rule changes * [eradicate] Don't flag pyrefly pragmas as unused code (ERA001) * Documentation * Replace "associative" with "commutative" in docs for RUF036 * Fix copy and line separator colors in dark mode * Fix link to typing documentation * Include column numbers in GitLab output format * Always expand tabs to four spaces in diagnostics OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=173 --- python-ruff.changes | 48 ++++++++++++++++++++++++++++++--------------- python-ruff.spec | 4 ++-- ruff-0.12.8.tar.gz | 3 --- ruff-0.12.9.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 39 insertions(+), 23 deletions(-) delete mode 100644 ruff-0.12.8.tar.gz create mode 100644 ruff-0.12.9.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index ab7bb1e..90ebc07 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,29 +1,45 @@ +------------------------------------------------------------------- +Fri Aug 15 12:56:45 UTC 2025 - Dirk Müller + +- update to 0.12.9: + * \[`airflow`\] Add check for + `airflow.secrets.cache.SecretCache` (`AIR301`) + * \[`ruff`\] Offer a safe fix for multi-digit zeros (`RUF064`) + * \[`flake8-blind-except`\] Fix `BLE001` false-positive on + `raise ... from None` + * \[`flake8-comprehensions`\] Fix false positive for `C420` + with attribute, subscript, or slice assignment targets + * \[`flake8-simplify`\] Fix handling of U+001C..U+001F + whitespace (`SIM905`) + * \[`pylint`\] Use lowercase hex characters to match the + formatter (`PLE2513`) + ------------------------------------------------------------------- Sat Aug 9 10:13:13 UTC 2025 - Ondřej Súkup - update to 0.12.8 * Preview features - * [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses + * [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses * Bug fixes - * [flake8-blind-except] Change BLE001 to correctly parse exception tuples - * [flake8-errmsg] Exclude typing.cast from EM101 - * [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes - * [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001 - * [isort] Fix syntax error after docstring ending with backslash (I002) - * [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present - * [pyupgrade] Prevent infinite loop with I002 (UP010, UP035) - * [ruff] Parenthesize generator expressions in f-strings (RUF010) + * [flake8-blind-except] Change BLE001 to correctly parse exception tuples + * [flake8-errmsg] Exclude typing.cast from EM101 + * [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes + * [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001 + * [isort] Fix syntax error after docstring ending with backslash (I002) + * [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present + * [pyupgrade] Prevent infinite loop with I002 (UP010, UP035) + * [ruff] Parenthesize generator expressions in f-strings (RUF010) * Rule changes - * [eradicate] Don't flag pyrefly pragmas as unused code (ERA001) + * [eradicate] Don't flag pyrefly pragmas as unused code (ERA001) * Documentation - * Replace "associative" with "commutative" in docs for RUF036 - * Fix copy and line separator colors in dark mode - * Fix link to typing documentation + * Replace "associative" with "commutative" in docs for RUF036 + * Fix copy and line separator colors in dark mode + * Fix link to typing documentation * [refurb] Make more examples error out-of-the-box * Other changes - * Include column numbers in GitLab output format - * Always expand tabs to four spaces in diagnostics - * Update pre-commit's ruff id + * Include column numbers in GitLab output format + * Always expand tabs to four spaces in diagnostics + * Update pre-commit's ruff id ------------------------------------------------------------------- Wed Jul 30 09:48:46 UTC 2025 - Dirk Müller diff --git a/python-ruff.spec b/python-ruff.spec index 7f969d7..066e958 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -1,7 +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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.12.8 +Version: 0.12.9 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.12.8.tar.gz b/ruff-0.12.8.tar.gz deleted file mode 100644 index 73ed93a..0000000 --- a/ruff-0.12.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4cb3a45525176e1009b2b64126acf5f9444ea59066262791febf55e40493a033 -size 5242373 diff --git a/ruff-0.12.9.tar.gz b/ruff-0.12.9.tar.gz new file mode 100644 index 0000000..1915bfd --- /dev/null +++ b/ruff-0.12.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbd94b2e3c623f659962934e52c2bea6fc6da11f667a427a368adaf3af2c866a +size 5254702 diff --git a/vendor.tar.zst b/vendor.tar.zst index 6ac31fe..0a36278 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1ad044fe428e3d11ccc66beee91c61853d8974669b792c2b873e47a621b0e528 -size 29954033 +oid sha256:f801ad9bce62ea4cd8f4845ea721f8f01f4c433d032a89cc6d8353f14137878f +size 29925245