Accepting request 1267438 from devel:languages:python

- update to 0.11.4
 * Preview features
   * [ruff] Implement invalid-rule-code as RUF102 
   * [syntax-errors] Detect duplicate keys in match mapping patterns 
   * [syntax-errors] Detect duplicate attributes in match class patterns 
   * [syntax-errors] Detect invalid syntax in annotations 
   * [airflow] Add more autofixes for AIR302
   * [airflow] Move AIR301 to AIR002 
   * [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 
   * [flake8-bandit] Mark str and list[str] literals as trusted input (S603) 
   * [ruff] Support slices in RUF005 
   * [syntax-errors] Start detecting compile-time syntax errors 
   * [syntax-errors] Duplicate type parameter names 
   * [syntax-errors] Irrefutable case pattern before final case 
   * [syntax-errors] Multiple assignments in case pattern 
   * [syntax-errors] Single starred assignment target 
   * [syntax-errors] Starred expressions in return, yield, and for 
   * [syntax-errors] Store to or delete __debug__ 
 * Bug fixes
   * [syntax-errors] Fix multiple assignment error for class fields in match patterns 
   * Don't skip visiting non-tuple slice in typing.Annotated subscripts 
   * Error instead of panic! when running Ruff from a deleted directory
   * [syntax-errors] Fix false positive for parenthesized tuple index 
 * CLI
   * Check pyproject.toml correctly when it is passed via stdin 
 * Configuration
   * [flake8-import-conventions] Add import numpy.typing as npt to default flake8-import-conventions.aliases 
   * Documentation
   * [refurb] Document why UserDict, UserList, and UserString are preferred over dict, list, and str (FURB189)

OBS-URL: https://build.opensuse.org/request/show/1267438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=64
This commit is contained in:
2025-04-08 15:50:06 +00:00
committed by Git OBS Bridge
5 changed files with 39 additions and 6 deletions

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Sun Apr 6 18:44:08 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.11.4
* Preview features
* [ruff] Implement invalid-rule-code as RUF102
* [syntax-errors] Detect duplicate keys in match mapping patterns
* [syntax-errors] Detect duplicate attributes in match class patterns
* [syntax-errors] Detect invalid syntax in annotations
* [airflow] Add more autofixes for AIR302
* [airflow] Move AIR301 to AIR002
* [airflow] Move AIR302 to AIR301 and AIR303 to AIR302
* [flake8-bandit] Mark str and list[str] literals as trusted input (S603)
* [ruff] Support slices in RUF005
* [syntax-errors] Start detecting compile-time syntax errors
* [syntax-errors] Duplicate type parameter names
* [syntax-errors] Irrefutable case pattern before final case
* [syntax-errors] Multiple assignments in case pattern
* [syntax-errors] Single starred assignment target
* [syntax-errors] Starred expressions in return, yield, and for
* [syntax-errors] Store to or delete __debug__
* Bug fixes
* [syntax-errors] Fix multiple assignment error for class fields in match patterns
* Don't skip visiting non-tuple slice in typing.Annotated subscripts
* Error instead of panic! when running Ruff from a deleted directory
* [syntax-errors] Fix false positive for parenthesized tuple index
* CLI
* Check pyproject.toml correctly when it is passed via stdin
* Configuration
* [flake8-import-conventions] Add import numpy.typing as npt to default flake8-import-conventions.aliases
* Documentation
* [refurb] Document why UserDict, UserList, and UserString are preferred over dict, list, and str (FURB189)
-------------------------------------------------------------------
Sat Mar 22 13:29:35 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -19,7 +19,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ruff
Version: 0.11.2
Version: 0.11.4
Release: 0
Summary: An extremely fast Python linter, written in Rust
License: MIT

View File

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

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

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

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1f0c18907f1f022385df31050b7ca04f46a995e23a13570ebce8d207d59d85e
size 37935303
oid sha256:333bfeac587c39e07e4be65ae3002637b80e8591f2b5df97796d883903187b6b
size 37935611