Accepting request 1120279 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1120279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2023-10-25 16:04:37 +00:00 committed by Git OBS Bridge
commit 4e353d5440
6 changed files with 67 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<services> <services>
<service name="download_files" mode="manual" /> <service name="download_files" mode="manual" />
<service name="cargo_vendor" mode="manual"> <service name="cargo_vendor" mode="manual">
<param name="srctar">ruff-0.1.1.tar.gz</param> <param name="srctar">ruff-0.1.2.tar.gz</param>
<param name="compression">zst</param> <param name="compression">zst</param>
<param name="update">true</param> <param name="update">true</param>
</service> </service>

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Wed Oct 25 12:38:40 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Oct 25 11:04:42 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- 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 <mimi.vx@gmail.com> Fri Oct 20 10:09:22 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -16,8 +16,9 @@
# #
%{?sle15_python_module_pythons}
Name: python-ruff Name: python-ruff
Version: 0.1.1 Version: 0.1.2
Release: 0 Release: 0
Summary: An extremely fast Python linter, written in Rust Summary: An extremely fast Python linter, written in Rust
License: MIT License: MIT

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c90461ae4abec261609e5ea436de4a4b5f2822921cf04c16d2cc9327182dbbcc
size 1646173

3
ruff-0.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afd4785ae060ce6edcd52436d0c197628a918d6d09e3107a892a1bad6a4c6608
size 1661854

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:d42751cef403ab07cbaa224a4a5fc0b46d335d2d0ddede8244eca7e933a5ae8e oid sha256:b0b634c409d5638b97322959dbe19701a3f7d2b0c34e8cf80647708eb9c3d533
size 30351858 size 29015443