diff --git a/python-ruff.changes b/python-ruff.changes index d177c8f..e3ee689 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Mon Feb 10 16:29:23 UTC 2025 - Ondřej Súkup + +- update to 0.9.6 + * Preview features + * [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 + * [flake8-builtins] Make strict module name comparison optional (A005) + * [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) + * [pylint] Also report when the object isn't a literal (PLE1310) + * [ruff] Implement indented-form-feed (RUF054) + * [ruff] Skip type definitions for missing-f-string-syntax (RUF027) + * Rule changes + * [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules + * [flake8-builtins] Match upstream module name comparison (A005) + * [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) + * [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) + * [flake8-simplify] Only trigger SIM401 on known dictionaries + * [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) + * [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) + * [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) + * [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) + * [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) + * [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types + * Server + * Root exclusions in the server to project root + * Bug fixes + * [flake8-datetime] Ignore .replace() calls while looking for .astimezone + * [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ + * Documentation + * Improve ruff-lsp migration document + * Undeprecate ruff.nativeServer + ------------------------------------------------------------------- Sun Feb 9 00:50:00 UTC 2025 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 3571d7b..38942a7 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.9.5 +Version: 0.9.6 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.9.5.tar.gz b/ruff-0.9.5.tar.gz deleted file mode 100644 index c21efa2..0000000 --- a/ruff-0.9.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11aecd7a633932875ab3cb05a484c99970b9d52606ce9ea912b690b02653d56c -size 3634177 diff --git a/ruff-0.9.6.tar.gz b/ruff-0.9.6.tar.gz new file mode 100644 index 0000000..f22ac91 --- /dev/null +++ b/ruff-0.9.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81761592f72b620ec8fa1068a6fd00e98a5ebee342a3642efd84454f3031dca9 +size 3639454 diff --git a/vendor.tar.zst b/vendor.tar.zst index 7ac90ad..9e0304f 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6c3071087b4f52e19bd220717e09e7ddf40ba51a2ec1d8172ffbb729a40dfc33 -size 37530004 +oid sha256:ab837021c2fc5ac2a55d05ca1020ea666391800ee5f0673dafad230afc65e98c +size 37527544