diff --git a/python-ruff.changes b/python-ruff.changes index e40990a..ca48428 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Fri Jul 18 18:45:45 UTC 2025 - Ondřej Súkup + +- update to 0.12.4 + * Preview features + * [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would + allow new fixes (TC001, TC002, TC003, UP037, RUF013) + * [flake8-use-pathlib] Add autofix for PTH109 + * [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514) + * Bug fixes + * [flake8-bugbear] Fix B017 false negatives for keyword exception arguments + * [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210) + * [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field + * [isort] Fix I002 import insertion after docstring with multiple string statements + * [isort] Treat form feed as valid whitespace before a semicolon + * [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202) + * [refurb] FURB164 fix should validate arguments and should usually be marked unsafe + * Rule changes + * [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14 + * [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802) + * [pycodestyle] Handle brace escapes for t-strings in logical lines + * [pylint] Extend invalid string character rules to include t-strings + * [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+ + * Documentation + * [flake8-type-checking] Make TC010 docs example more realistic + * Make more documentation examples error out-of-the-box + ------------------------------------------------------------------- Sun Jul 13 11:33:49 UTC 2025 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index f4a1d7e..a6f5010 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.3 +Version: 0.12.4 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.12.3.tar.gz b/ruff-0.12.3.tar.gz deleted file mode 100644 index 9c1fca0..0000000 --- a/ruff-0.12.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f1b5a4b6668fd7b7ea3697d8d98857390b40c1320a63a178eee6be0899ea2d77 -size 4459341 diff --git a/ruff-0.12.4.tar.gz b/ruff-0.12.4.tar.gz new file mode 100644 index 0000000..448a6c3 --- /dev/null +++ b/ruff-0.12.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13efa16df6c6eeb7d0f091abae50f58e9522f3843edb40d56ad52a5a4a4b6873 +size 5131435 diff --git a/vendor.tar.zst b/vendor.tar.zst index 15197d2..69f9ff9 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:669d9ef1f47d71cbe2d7baea32684e774e571b1e5b39c82b7edd54759b65e113 -size 31761349 +oid sha256:07d18bb30cd86cedd4a6f1debc959c1e141b291e0a317fdb6e5a9464ad62b977 +size 31809023