From 2b27fdbf7aa11b02f74fbe0100c0c22ad4c857b660d69dc48a754446a5a413e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 25 Oct 2023 11:10:23 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=200.1.2=20=20*=20This=20release?= =?UTF-8?q?=20includes=20the=20Beta=20version=20of=20the=20Ruff=20formatte?= =?UTF-8?q?r=20=E2=80=94=20an=20extremely=20=20=20=20=20=20fast,=20Black-c?= =?UTF-8?q?ompatible=20Python=20formatter=20=20*=20Preview=20features=20?= =?UTF-8?q?=20=20=20*=20[pylint]=20Implement=20non-ascii-module-import=20(?= =?UTF-8?q?C2403)=20=20=20=20*=20[pylint]=20implement=20non-ascii-name=20(?= =?UTF-8?q?C2401)=20=20=20=20*=20[pylint]=20Implement=20unnecessary-lambda?= =?UTF-8?q?=20(W0108)=20=20=20=20*=20[refurb]=20Implement=20read-whole-fil?= =?UTF-8?q?e=20(FURB101)=20=20=20=20*=20Add=20fix=20for=20E223,=20E224,=20?= =?UTF-8?q?and=20E242=20=20=20=20*=20Add=20fix=20for=20E225,=20E226,=20E22?= =?UTF-8?q?7,=20and=20E228=20=20=20=20*=20Add=20fix=20for=20E252=20=20=20?= =?UTF-8?q?=20*=20Add=20fix=20for=20E261=20=20=20=20*=20Add=20fix=20for=20?= =?UTF-8?q?E273=20and=20E274=20=20=20=20*=20Add=20fix=20for=20E275=20=20?= =?UTF-8?q?=20=20*=20Update=20SIM401=20to=20catch=20ternary=20operations?= =?UTF-8?q?=20=20=20=20*=20Update=20E721=20to=20allow=20is=20and=20is=20no?= =?UTF-8?q?t=20for=20direct=20type=20comparisons=20=20*=20Rule=20changes?= =?UTF-8?q?=20=20=20=20*=20Add=20backports.strenum=20to=20deprecated-impor?= =?UTF-8?q?ts=20=20=20=20*=20Update=20SIM112=20to=20ignore=20https=5Fproxy?= =?UTF-8?q?,=20http=5Fproxy,=20and=20no=5Fproxy=20=20=20=20*=20Update=20fi?= =?UTF-8?q?x=20for=20literal-membership=20(PLR6201)=20to=20be=20unsafe=20?= =?UTF-8?q?=20=20=20*=20Update=20fix=20for=20=20mutable-argument-defaults?= =?UTF-8?q?=20(B006)=20to=20be=20unsafe=20=20*=20Formatter=20=20=20=20*=20?= =?UTF-8?q?Change=20line-ending=20default=20to=20auto=20=20=20=20*=20Respe?= =?UTF-8?q?ct=20parenthesized=20generators=20in=20has=5Fown=5Fparentheses?= =?UTF-8?q?=20=20=20=20*=20Add=20caching=20to=20formatter=20=20=20=20*=20R?= =?UTF-8?q?emove=20--line-length=20option=20from=20format=20command=20=20?= =?UTF-8?q?=20=20*=20Add=20formatter=20to=20line-length=20documentation=20?= =?UTF-8?q?=20=20=20*=20Warn=20about=20incompatible=20formatter=20options?= =?UTF-8?q?=20=20=20=20*=20Fix=20range=20of=20unparenthesized=20tuple=20su?= =?UTF-8?q?bject=20in=20match=20statement=20=20=20=20*=20Remove=20experime?= =?UTF-8?q?ntal=20formatter=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=9 --- _service | 2 +- python-ruff.changes | 54 +++++++++++++++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.1.1.tar.gz | 3 --- ruff-0.1.2.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 6 files changed, 61 insertions(+), 7 deletions(-) delete mode 100644 ruff-0.1.1.tar.gz create mode 100644 ruff-0.1.2.tar.gz diff --git a/_service b/_service index 1197d94..456f034 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ - ruff-0.1.1.tar.gz + ruff-0.1.2.tar.gz zst true diff --git a/python-ruff.changes b/python-ruff.changes index 3a0b44c..65fd7ac 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Wed Oct 25 11:04:42 UTC 2023 - Ondřej Súkup + +- Update to 0.1.2 + * This release includes the Beta version of the Ruff formatter — an extremely + fast, Black-compatible Python formatter + * Preview features + * [pylint] Implement non-ascii-module-import (C2403) + * [pylint] implement non-ascii-name (C2401) + * [pylint] Implement unnecessary-lambda (W0108) + * [refurb] Implement read-whole-file (FURB101) + * Add fix for E223, E224, and E242 + * Add fix for E225, E226, E227, and E228 + * Add fix for E252 + * Add fix for E261 + * Add fix for E273 and E274 + * Add fix for E275 + * Update SIM401 to catch ternary operations + * Update E721 to allow is and is not for direct type comparisons + * Rule changes + * Add backports.strenum to deprecated-imports + * Update SIM112 to ignore https_proxy, http_proxy, and no_proxy + * Update fix for literal-membership (PLR6201) to be unsafe + * Update fix for mutable-argument-defaults (B006) to be unsafe + * Formatter + * Change line-ending default to auto + * Respect parenthesized generators in has_own_parentheses + * Add caching to formatter + * Remove --line-length option from format command + * Add formatter to line-length documentation + * Warn about incompatible formatter options + * Fix range of unparenthesized tuple subject in match statement + * Remove experimental formatter warning + * Don't move type param opening parenthesis comment + * Update versions in format benchmark script + * Avoid loading files for cached format results + * CLI + * Show the ruff format command in help menus + * Add ruff version command with long version display + * Configuration + * New pycodestyle.max-line-length option + * Bug fixes + * Detect sys.version_info slices in outdated-version-block + * Avoid if-else simplification for TYPE_CHECKING blocks + * Avoid false-positive print separator diagnostic with starred argument + * Documentation + * Fix message for too-many-arguments lint + * Fix extend-unsafe-fixes and extend-safe-fixes example + * Add links to flake8-import-conventions options + * Rework the documentation to incorporate the Ruff formatter + * Fix Options JSON schema description + * Fix typo (pytext -> pytest) + * Improve magic-value-comparison example in docs + ------------------------------------------------------------------- Fri Oct 20 10:09:22 UTC 2023 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index d62308b..98974de 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -17,7 +17,7 @@ Name: python-ruff -Version: 0.1.1 +Version: 0.1.2 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.1.1.tar.gz b/ruff-0.1.1.tar.gz deleted file mode 100644 index 3260653..0000000 --- a/ruff-0.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c90461ae4abec261609e5ea436de4a4b5f2822921cf04c16d2cc9327182dbbcc -size 1646173 diff --git a/ruff-0.1.2.tar.gz b/ruff-0.1.2.tar.gz new file mode 100644 index 0000000..ddf9a07 --- /dev/null +++ b/ruff-0.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:afd4785ae060ce6edcd52436d0c197628a918d6d09e3107a892a1bad6a4c6608 +size 1661854 diff --git a/vendor.tar.zst b/vendor.tar.zst index f08a242..719f818 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d42751cef403ab07cbaa224a4a5fc0b46d335d2d0ddede8244eca7e933a5ae8e -size 30351858 +oid sha256:b0b634c409d5638b97322959dbe19701a3f7d2b0c34e8cf80647708eb9c3d533 +size 29015443