From b0821015fd82cec28c5d0d7463d112f0aa037cda0b24307272136862f51d9810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 8 Jan 2024 10:03:14 +0000 Subject: [PATCH] - update to 0.1.11 * [pylint] Implement super-without-brackets (W0245) * Check path string properly in python -m ruff invocations * Documentation * Tweak relative-imports message * Add fix safety note for yield-in-for-loop * 0.1.10 * Preview features * Improve dummy_implementations preview style formatting * Normalise Hex and unicode escape sequences in strings * Parenthesize long type annotations in annotated assignments * Parenthesize multi-context managers in with statements * [flake8-pyi] Implement generator-return-from-iter-method (PYI058) * [pylint] Implement empty-comment (PLR2044) * [refurb] Implement bit-count (FURB161) * [ruff] Add never-union rule to detect redundant typing.NoReturn and typing.Never * CLI * Add paths to TOML parse errors * Add row and column numbers to formatter parse errors * Improve responsiveness when invoked via Python * Short rule messages should not end with a period * Configuration * Respect runtime-required decorators on functions * Bug fixes * Avoid asyncio-dangling-task for nonlocal and global bindings * Escape trailing placeholders in rule documentation * Fix continuation detection following multi-line strings * Fix scoping for generators in named expressions in classes * Port from obsolete wsl crate to is-wsl * Remove special pre-visit for module docstrings OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=26 --- python-ruff.changes | 51 +++++++++++++++++++++++++++++++++++++++++++++ python-ruff.spec | 4 ++-- ruff-0.1.11.tar.gz | 3 +++ ruff-0.1.9.tar.gz | 3 --- vendor.tar.zst | 4 ++-- 5 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 ruff-0.1.11.tar.gz delete mode 100644 ruff-0.1.9.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index 63132c7..09e18f7 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,54 @@ +------------------------------------------------------------------- +Mon Jan 8 09:39:09 UTC 2024 - Ondřej Súkup + +- update to 0.1.11 + * [pylint] Implement super-without-brackets (W0245) + * Check path string properly in python -m ruff invocations + * Documentation + * Tweak relative-imports message + * Add fix safety note for yield-in-for-loop + * 0.1.10 + * Preview features + * Improve dummy_implementations preview style formatting + * Normalise Hex and unicode escape sequences in strings + * Parenthesize long type annotations in annotated assignments + * Parenthesize multi-context managers in with statements + * [flake8-pyi] Implement generator-return-from-iter-method (PYI058) + * [pylint] Implement empty-comment (PLR2044) + * [refurb] Implement bit-count (FURB161) + * [ruff] Add never-union rule to detect redundant typing.NoReturn and typing.Never + * CLI + * Add paths to TOML parse errors + * Add row and column numbers to formatter parse errors + * Improve responsiveness when invoked via Python + * Short rule messages should not end with a period + * Configuration + * Respect runtime-required decorators on functions + * Bug fixes + * Avoid asyncio-dangling-task for nonlocal and global bindings + * Escape trailing placeholders in rule documentation + * Fix continuation detection following multi-line strings + * Fix scoping for generators in named expressions in classes + * Port from obsolete wsl crate to is-wsl + * Remove special pre-visit for module docstrings + * Respect __str__ definitions from super classes + * Respect unused-noqa via per-file-ignores + * Respect attribute chains when resolving builtin call paths + * Treat all typing_extensions members as typing aliases + * Use Display for formatter parse errors + * Wrap subscripted dicts in parens for f-string conversion + * [flake8-annotations] Avoid adding return types to stub methods + * [flake8-annotations] Respect mixed return and raise cases in return-type analysis + * [flake8-bandit] Don't report violations when SafeLoader is imported from yaml.loader (S506) + * [pylint] Avoid panic when comment is preceded by Unicode + * [pylint] Change PLR0917 error message to match other PLR09XX messages + * [refurb] Avoid false positives for math-constant (FURB152) + * Documentation + * Expand target name for better rule documentation + * Fix typos found by codespell + * [perflint] Document PERF102 fix un-safety + * [pyupgrade] Document UP007 fix un-safety + ------------------------------------------------------------------- Thu Dec 21 23:27:31 UTC 2023 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 67fab6c..04bba9a 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -1,7 +1,7 @@ # # spec file for package python-ruff # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.1.9 +Version: 0.1.11 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.1.11.tar.gz b/ruff-0.1.11.tar.gz new file mode 100644 index 0000000..be891fa --- /dev/null +++ b/ruff-0.1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9d4d88cb6eeb4dfe20f9f0519bd2eaba8119bde87c3d5065c541dbae2b5a2cb +size 1924109 diff --git a/ruff-0.1.9.tar.gz b/ruff-0.1.9.tar.gz deleted file mode 100644 index ea857c0..0000000 --- a/ruff-0.1.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b041dee2734719ddbb4518f762c982f2e912e7f28b8ee4fe1dee0b15d1b6e800 -size 1907145 diff --git a/vendor.tar.zst b/vendor.tar.zst index 7344c46..f8fcc47 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2317ab728e7cb05d8f64c79d956a6682e640aeeadf4058593ed202a3608018fa -size 32986496 +oid sha256:f7dafd0d40ec9a94e5fc837957b6b035cfeaf2e54a4b467d8a552f611cb1ef91 +size 28845370