From 6c8135a1926af6d86504eddb1ab20e31bec6596cbd2010e4e861f7be4a0e9447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 19 Sep 2025 19:30:01 +0000 Subject: [PATCH] - update to 0.13.1 * Preview features * [flake8-simplify] Detect unnecessary None default for additional key expression types (SIM910) * [flake8-use-pathlib] Add fix for PTH123 * [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes * [flake8-use-pathlib] Make PTH111 fix unsafe because it can change behavior * [pycodestyle] Fix E301 to only trigger for functions immediately within a class * [refurb] Mark single-item-membership-test fix as always unsafe (FURB171) * Bug fixes * Handle t-strings for token-based rules and suppression comments * [flake8-bandit] Fix truthiness: dict-only ** displays not truthy for shell (S602, S604, S609) * [flake8-simplify] Fix diagnostic to show correct method name for str.rsplit calls (SIM905) * [flynt] Use triple quotes for joined raw strings with newlines (FLY002) * [pyupgrade] Fix false positive when class name is shadowed by local variable (UP008) * [pyupgrade] Prevent infinite loop with I002 and UP026 * [ruff] Recognize t-strings, generators, and lambdas in invalid-index-type (RUF016) * Rule changes * [RUF102] Respect rule redirects in invalid rule code detection * [flake8-bugbear] Mark the fix for unreliable-callable-check as always unsafe (B004) * [ruff] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009) * CLI * Add fixes to output-format=sarif * Treat panics as fatal diagnostics, sort panics last * Documentation * [ruff] Add analyze.string-imports-min-dots to settings * Update README.md with Albumentations new repository URL OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=185 --- python-ruff.changes | 30 ++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.13.0.tar.gz | 3 --- ruff-0.13.1.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 36 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.13.0.tar.gz create mode 100644 ruff-0.13.1.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index f02f541..3e24862 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Fri Sep 19 19:26:06 UTC 2025 - Ondřej Súkup + +- update to 0.13.1 + * Preview features + * [flake8-simplify] Detect unnecessary None default for additional key expression types (SIM910) + * [flake8-use-pathlib] Add fix for PTH123 + * [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes + * [flake8-use-pathlib] Make PTH111 fix unsafe because it can change behavior + * [pycodestyle] Fix E301 to only trigger for functions immediately within a class + * [refurb] Mark single-item-membership-test fix as always unsafe (FURB171) + * Bug fixes + * Handle t-strings for token-based rules and suppression comments + * [flake8-bandit] Fix truthiness: dict-only ** displays not truthy for shell (S602, S604, S609) + * [flake8-simplify] Fix diagnostic to show correct method name for str.rsplit calls (SIM905) + * [flynt] Use triple quotes for joined raw strings with newlines (FLY002) + * [pyupgrade] Fix false positive when class name is shadowed by local variable (UP008) + * [pyupgrade] Prevent infinite loop with I002 and UP026 + * [ruff] Recognize t-strings, generators, and lambdas in invalid-index-type (RUF016) + * Rule changes + * [RUF102] Respect rule redirects in invalid rule code detection + * [flake8-bugbear] Mark the fix for unreliable-callable-check as always unsafe (B004) + * [ruff] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009) + * CLI + * Add fixes to output-format=sarif + * Treat panics as fatal diagnostics, sort panics last + * Documentation + * [ruff] Add analyze.string-imports-min-dots to settings + * Update README.md with Albumentations new repository URL + ------------------------------------------------------------------- Thu Sep 11 00:23:58 UTC 2025 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 0ff229b..57b1f86 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -20,7 +20,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.13.0 +Version: 0.13.1 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.13.0.tar.gz b/ruff-0.13.0.tar.gz deleted file mode 100644 index 5ee2fa8..0000000 --- a/ruff-0.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b4b1ee7eb35afae128ab94459b13b2baaed282b1fb0f472a73c82c996c8ae60 -size 5372863 diff --git a/ruff-0.13.1.tar.gz b/ruff-0.13.1.tar.gz new file mode 100644 index 0000000..dea0d08 --- /dev/null +++ b/ruff-0.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88074c3849087f153d4bb22e92243ad4c1b366d7055f98726bc19aa08dc12d51 +size 5397987 diff --git a/vendor.tar.zst b/vendor.tar.zst index a753b7e..f0d7dd9 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:00e16f4ccfec7c1415e75cd34035e585889d1e12ef5a70c480207c7b330c31f4 -size 29748887 +oid sha256:810006226862d590d4bd1e6b945e9f16abfb7c7c4d6fe8fc1e72bb68c177bd1b +size 29709889