From 4a7b695072cf3d6b2613d44bba591aebbd571960ef42bd1703d003814c7634dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 13 Jul 2025 12:39:18 +0000 Subject: [PATCH] - update to 0.12.3: * Preview features * [flake8-bugbear] Support non-context-manager calls in B017 * [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120 * [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205 * Bug fixes * [flake8-return] Fix false-positive for variables used inside nested functions in RET504 * Treat form feed as valid whitespace before a line continuation * [flake8-type-checking] Fix syntax error introduced by fix (TC008) * [pyupgrade] Keyword arguments in super should suppress the UP008 fix * Documentation * [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008) * [flake8-simplify] Make example error out-of-the-box (SIM116) * [flake8-type-checking] Make example error out-of-the-box (TC001) * [flake8-use-pathlib] Make example error out-of-the-box (PTH210) * [pycodestyle] Make example error out-of-the-box (E272) * [pycodestyle] Make example not raise unnecessary SyntaxError (E114) * [pydoclint] Make example error out-of-the-box (DOC501) * [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028) * [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207) * [flake8-bandit] Make example error out-of-the-box (S412) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=163 --- python-ruff.changes | 25 +++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.12.2.tar.gz | 3 --- ruff-0.12.3.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 31 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.12.2.tar.gz create mode 100644 ruff-0.12.3.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index 56d5ba2..e40990a 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Jul 13 11:33:49 UTC 2025 - Ondřej Súkup + +- update to 0.12.3: + * Preview features + * [flake8-bugbear] Support non-context-manager calls in B017 + * [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120 + * [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205 + * Bug fixes + * [flake8-return] Fix false-positive for variables used inside nested functions in RET504 + * Treat form feed as valid whitespace before a line continuation + * [flake8-type-checking] Fix syntax error introduced by fix (TC008) + * [pyupgrade] Keyword arguments in super should suppress the UP008 fix + * Documentation + * [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008) + * [flake8-simplify] Make example error out-of-the-box (SIM116) + * [flake8-type-checking] Make example error out-of-the-box (TC001) + * [flake8-use-pathlib] Make example error out-of-the-box (PTH210) + * [pycodestyle] Make example error out-of-the-box (E272) + * [pycodestyle] Make example not raise unnecessary SyntaxError (E114) + * [pydoclint] Make example error out-of-the-box (DOC501) + * [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028) + * [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207) + * [flake8-bandit] Make example error out-of-the-box (S412) + ------------------------------------------------------------------- Fri Jul 4 11:36:37 UTC 2025 - Dirk Müller diff --git a/python-ruff.spec b/python-ruff.spec index c30e20b..f4a1d7e 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.2 +Version: 0.12.3 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.12.2.tar.gz b/ruff-0.12.2.tar.gz deleted file mode 100644 index 554d462..0000000 --- a/ruff-0.12.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7b4f55cd6f325cb7621244f19c873c565a08aff5a4ba9c69aa7355f3f7afd3e -size 4432239 diff --git a/ruff-0.12.3.tar.gz b/ruff-0.12.3.tar.gz new file mode 100644 index 0000000..9c1fca0 --- /dev/null +++ b/ruff-0.12.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1b5a4b6668fd7b7ea3697d8d98857390b40c1320a63a178eee6be0899ea2d77 +size 4459341 diff --git a/vendor.tar.zst b/vendor.tar.zst index cd820b3..15197d2 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e7fa4b819cfc51bb3e6972b7b47df7e71f45a06d5cd17736bedd0e0d7d2337a4 -size 31705381 +oid sha256:669d9ef1f47d71cbe2d7baea32684e774e571b1e5b39c82b7edd54759b65e113 +size 31761349