From b41eea67e82336e1c567ff57ced2b64e3bf53d1f98bd745e94a6ad76bb24c750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 7 Feb 2024 12:57:56 +0000 Subject: [PATCH] - update to 0.2.1 * This release includes support for range formatting (i.e., the ability to format specific lines within a source file). * Preview features * [refurb] Implement missing-f-string-syntax (RUF027) * Format module-level docstrings * Formatter * Add --range option to ruff format * Don't trim last empty line in docstrings * Bug fixes * Skip empty lines when determining base indentation * Drop __get__ and __set__ from unnecessary-dunder-call * Respect generic Protocol in ellipsis removal * Revert "Use publicly available Apple Silicon runners" * Performance * Skip LibCST parsing for standard dedent adjustments * Remove CST-based fixer for C408 * Add our own ignored-names abstractions * Remove CST-based fixers for C400, C401, C410, and C418 * Use AhoCorasick to speed up quote match * Remove CST-based fixers for C405 and C409 * Add fast-path for comment detection * Invert order of checks in zero-sleep-call * Short-circuit typing matches based on imports * Run dunder method rule on methods directly * Track top-level module imports in the semantic model * Slight speed-up for lowercase and uppercase identifier checks * Remove LibCST-based fixer for C403 * Documentation * Update max-pos-args example to max-positional-args OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=38 --- python-ruff.changes | 37 +++++++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.2.0.tar.gz | 3 --- ruff-0.2.1.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 43 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.2.0.tar.gz create mode 100644 ruff-0.2.1.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index 897d9cb..2094f34 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Wed Feb 7 10:16:16 UTC 2024 - Ondřej Súkup + +- update to 0.2.1 + * This release includes support for range formatting + (i.e., the ability to format specific lines within a source file). + * Preview features + * [refurb] Implement missing-f-string-syntax (RUF027) + * Format module-level docstrings + * Formatter + * Add --range option to ruff format + * Don't trim last empty line in docstrings + * Bug fixes + * Skip empty lines when determining base indentation + * Drop __get__ and __set__ from unnecessary-dunder-call + * Respect generic Protocol in ellipsis removal + * Revert "Use publicly available Apple Silicon runners" + * Performance + * Skip LibCST parsing for standard dedent adjustments + * Remove CST-based fixer for C408 + * Add our own ignored-names abstractions + * Remove CST-based fixers for C400, C401, C410, and C418 + * Use AhoCorasick to speed up quote match + * Remove CST-based fixers for C405 and C409 + * Add fast-path for comment detection + * Invert order of checks in zero-sleep-call + * Short-circuit typing matches based on imports + * Run dunder method rule on methods directly + * Track top-level module imports in the semantic model + * Slight speed-up for lowercase and uppercase identifier checks + * Remove LibCST-based fixer for C403 + * Documentation + * Update max-pos-args example to max-positional-args + * Fixed example code in weak_cryptographic_key.rs + * Fix references to deprecated ANN rules in changelog + * Fix default for max-positional-args + ------------------------------------------------------------------- Mon Feb 5 09:40:59 UTC 2024 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 4a35a54..56b599d 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.2.0 +Version: 0.2.1 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.2.0.tar.gz b/ruff-0.2.0.tar.gz deleted file mode 100644 index f9a743c..0000000 --- a/ruff-0.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:63856b91837606c673537d2889989733d7dffde553828d3b0f0bacfa6def54be -size 1997887 diff --git a/ruff-0.2.1.tar.gz b/ruff-0.2.1.tar.gz new file mode 100644 index 0000000..3ee8778 --- /dev/null +++ b/ruff-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b42b5d8677cd0c72b99fcaf068ffc62abb5a19e71b4a3b9cfa50658a0af02f1 +size 2009158 diff --git a/vendor.tar.zst b/vendor.tar.zst index b5bf196..4264de8 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:152db61301a6ba1a1c1fb352da1d9b0471e92620f83bdebaf2a1541eebc3cb3b -size 25225508 +oid sha256:cbfbeb2ba23a5234b5ce2ffe0e2bcc627af22bbef584444663c8ffd8487d68da +size 25227373