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 1/2] =?UTF-8?q?-=20Update=20to=200.1.2=20=20*=20This=20rel?= =?UTF-8?q?ease=20includes=20the=20Beta=20version=20of=20the=20Ruff=20form?= =?UTF-8?q?atter=20=E2=80=94=20an=20extremely=20=20=20=20=20=20fast,=20Bla?= =?UTF-8?q?ck-compatible=20Python=20formatter=20=20*=20Preview=20features?= =?UTF-8?q?=20=20=20=20*=20[pylint]=20Implement=20non-ascii-module-import?= =?UTF-8?q?=20(C2403)=20=20=20=20*=20[pylint]=20implement=20non-ascii-name?= =?UTF-8?q?=20(C2401)=20=20=20=20*=20[pylint]=20Implement=20unnecessary-la?= =?UTF-8?q?mbda=20(W0108)=20=20=20=20*=20[refurb]=20Implement=20read-whole?= =?UTF-8?q?-file=20(FURB101)=20=20=20=20*=20Add=20fix=20for=20E223,=20E224?= =?UTF-8?q?,=20and=20E242=20=20=20=20*=20Add=20fix=20for=20E225,=20E226,?= =?UTF-8?q?=20E227,=20and=20E228=20=20=20=20*=20Add=20fix=20for=20E252=20?= =?UTF-8?q?=20=20=20*=20Add=20fix=20for=20E261=20=20=20=20*=20Add=20fix=20?= =?UTF-8?q?for=20E273=20and=20E274=20=20=20=20*=20Add=20fix=20for=20E275?= =?UTF-8?q?=20=20=20=20*=20Update=20SIM401=20to=20catch=20ternary=20operat?= =?UTF-8?q?ions=20=20=20=20*=20Update=20E721=20to=20allow=20is=20and=20is?= =?UTF-8?q?=20not=20for=20direct=20type=20comparisons=20=20*=20Rule=20chan?= =?UTF-8?q?ges=20=20=20=20*=20Add=20backports.strenum=20to=20deprecated-im?= =?UTF-8?q?ports=20=20=20=20*=20Update=20SIM112=20to=20ignore=20https=5Fpr?= =?UTF-8?q?oxy,=20http=5Fproxy,=20and=20no=5Fproxy=20=20=20=20*=20Update?= =?UTF-8?q?=20fix=20for=20literal-membership=20(PLR6201)=20to=20be=20unsaf?= =?UTF-8?q?e=20=20=20=20*=20Update=20fix=20for=20=20mutable-argument-defau?= =?UTF-8?q?lts=20(B006)=20to=20be=20unsafe=20=20*=20Formatter=20=20=20=20*?= =?UTF-8?q?=20Change=20line-ending=20default=20to=20auto=20=20=20=20*=20Re?= =?UTF-8?q?spect=20parenthesized=20generators=20in=20has=5Fown=5Fparenthes?= =?UTF-8?q?es=20=20=20=20*=20Add=20caching=20to=20formatter=20=20=20=20*?= =?UTF-8?q?=20Remove=20--line-length=20option=20from=20format=20command=20?= =?UTF-8?q?=20=20=20*=20Add=20formatter=20to=20line-length=20documentation?= =?UTF-8?q?=20=20=20=20*=20Warn=20about=20incompatible=20formatter=20optio?= =?UTF-8?q?ns=20=20=20=20*=20Fix=20range=20of=20unparenthesized=20tuple=20?= =?UTF-8?q?subject=20in=20match=20statement=20=20=20=20*=20Remove=20experi?= =?UTF-8?q?mental=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 From 43ad193c19112fe099ffbd32c44634eab6f177711fe2ff45f2f2d0dd8b636688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 25 Oct 2023 13:22:50 +0000 Subject: [PATCH 2/2] Accepting request 1120272 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1120272 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=10 --- python-ruff.changes | 5 +++++ python-ruff.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-ruff.changes b/python-ruff.changes index 65fd7ac..eaa611a 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 25 12:38:40 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Wed Oct 25 11:04:42 UTC 2023 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 98974de..2ac27fa 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} Name: python-ruff Version: 0.1.2 Release: 0