Accepting request 1243319 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1243319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=56
This commit is contained in:
Ana Guerrero 2025-02-07 21:56:51 +00:00 committed by Git OBS Bridge
commit b656af0850
5 changed files with 37 additions and 6 deletions

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Wed Feb 5 09:29:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.9.4
* Preview features
- [airflow] Extend airflow context parameter check for BaseOperator.execute (AIR302) (#15713)
- [airflow] Update AIR302 to check for deprecated context keys (#15144)
- [flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
- [pylint] Do not trigger PLR6201 on empty collections (#15732)
- [refurb] Do not emit diagnostic when loop variables are used outside loop body (FURB122) (#15757)
- [ruff] Add support for more re patterns (RUF055) (#15764)
- [ruff] Check for shadowed map before suggesting fix (RUF058) (#15790)
- [ruff] Do not emit diagnostic when all arguments to zip() are variadic (RUF058) (#15744)
- [ruff] Parenthesize fix when argument spans multiple lines for unnecessary-round (RUF057) (#15703)
* Rule changes
- Preserve quote style in generated code (#15726, #15778, #15794)
- [flake8-bugbear] Exempt NewType calls where the original type is immutable (B008) (#15765)
- [pylint] Honor banned top-level imports by TID253 in PLC0415. (#15628)
- [pyupgrade] Ignore is_typeddict and TypedDict for deprecated-import (UP035) (#15800)
* CLI
- Fix formatter warning message for flake8-quotes option (#15788)
- Implement tab autocomplete for ruff config (#15603)
* Bug fixes
- [flake8-comprehensions] Do not emit unnecessary-map diagnostic when lambda has different arity (C417) (#15802)
- [flake8-comprehensions] Parenthesize sorted when needed for unnecessary-call-around-sorted (C413) (#15825)
- [pyupgrade] Handle end-of-line comments for quoted-annotation (UP037) (#15824)
* Documentation
- Add missing config docstrings (#15803)
- Add references to trio.run_process and anyio.run_process (#15761)
- Use uv init --lib in tutorial (#15718)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 24 10:43:17 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com> Fri Jan 24 10:43:17 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -19,7 +19,7 @@
%bcond_without libalternatives %bcond_without libalternatives
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-ruff Name: python-ruff
Version: 0.9.3 Version: 0.9.4
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:8293f89985a090ebc3ed1064df31f3b4b56320cdfcec8b60d3295bddb955c22a
size 3586740

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:4d1ce701ea4f113f5d01fbd94c9bb852870e4034a48d2b8ba25c64aa199813dd oid sha256:d56ae94672fd9323360f4342c457ebbdbc052d86667b87cc901826ed633f78f1
size 25566307 size 25870975