From 7402960a962a9ba2dfb766f352e47dca07336a40b4dca63c55ccc9c34fd526c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 18 Jan 2025 13:09:00 +0000 Subject: [PATCH] - Update to 0.9.2 * Preview features * [airflow] Fix typo "security_managr" to "security_manager" (AIR303) * [airflow] extend and fix AIR302 rules * [fastapi] Handle parameters with Depends correctly (FAST003) * [flake8-pytest-style] Implement pytest.warns diagnostics (PT029, PT030, PT031) * [flake8-pytest-style] Test function parameters with default arguments (PT028) * [flake8-type-checking] Avoid false positives for | in TC008 * Rule changes * [flake8-todos] Allow VSCode GitHub PR extension style links in missing-todo-link (TD003) * [pyflakes] Show syntax error message for F722 * Formatter * Fix curly bracket spacing around f-string expressions containing curly braces * Fix joining of f-strings with different quotes when using quote style Preserve * Server * Avoid indexing the same workspace multiple times * Display context for ruff.configuration errors * Configuration * Remove flatten to improve deserialization error messages * Bug fixes * Parse triple-quoted string annotations as if parenthesized * [fastapi] Update Annotated fixes (FAST002) * [flake8-bandit] Check for builtins instead of builtin (S102, PTH123) * [flake8-pathlib] Fix --select for os-path-dirname (PTH120) * [ruff] Fix false positive on global keyword (RUF052) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=116 --- python-ruff.changes | 29 +++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.9.1.tar.gz | 3 --- ruff-0.9.2.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 35 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.9.1.tar.gz create mode 100644 ruff-0.9.2.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index 7bf8efb..412948a 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Fri Jan 17 19:28:35 UTC 2025 - Ondřej Súkup + +- Update to 0.9.2 + * Preview features + * [airflow] Fix typo "security_managr" to "security_manager" (AIR303) + * [airflow] extend and fix AIR302 rules + * [fastapi] Handle parameters with Depends correctly (FAST003) + * [flake8-pytest-style] Implement pytest.warns diagnostics (PT029, PT030, PT031) + * [flake8-pytest-style] Test function parameters with default arguments (PT028) + * [flake8-type-checking] Avoid false positives for | in TC008 + * Rule changes + * [flake8-todos] Allow VSCode GitHub PR extension style links in missing-todo-link (TD003) + * [pyflakes] Show syntax error message for F722 + * Formatter + * Fix curly bracket spacing around f-string expressions containing curly braces + * Fix joining of f-strings with different quotes when using quote style Preserve + * Server + * Avoid indexing the same workspace multiple times + * Display context for ruff.configuration errors + * Configuration + * Remove flatten to improve deserialization error messages + * Bug fixes + * Parse triple-quoted string annotations as if parenthesized + * [fastapi] Update Annotated fixes (FAST002) + * [flake8-bandit] Check for builtins instead of builtin (S102, PTH123) + * [flake8-pathlib] Fix --select for os-path-dirname (PTH120) + * [ruff] Fix false positive on global keyword (RUF052) + ------------------------------------------------------------------- Sun Jan 12 22:05:39 UTC 2025 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index c138497..a1f5b2c 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.1 +Version: 0.9.2 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.9.1.tar.gz b/ruff-0.9.1.tar.gz deleted file mode 100644 index 952ea1f..0000000 --- a/ruff-0.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd2b25ecaf907d6458fa842675382c8597b3c746a2dde6717fe3415425df0c17 -size 3498844 diff --git a/ruff-0.9.2.tar.gz b/ruff-0.9.2.tar.gz new file mode 100644 index 0000000..837fe76 --- /dev/null +++ b/ruff-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5eceb334d55fae5f316f783437392642ae18e16dcf4f1858d55d3c2a0f8f5d0 +size 3553799 diff --git a/vendor.tar.zst b/vendor.tar.zst index a3d9840..cdbd85e 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9c83d129fc8429ebc7259c3b5e95183aa08620b1cb372a5bf7b7eabf9cb558c6 -size 29824449 +oid sha256:214bdfb9fd53f90c9e0c7d5e12ab59d812cb9b330b331686775a693537c69e57 +size 25574457