SHA256
1
0
forked from pool/python-ruff

Accepting request 1244821 from devel:languages:python

- update to 0.9.6 
 * Preview features
   * [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 
   * [flake8-builtins] Make strict module name comparison optional (A005) 
   * [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) 
   * [pylint] Also report when the object isn't a literal (PLE1310) 
   * [ruff] Implement indented-form-feed (RUF054) 
   * [ruff] Skip type definitions for missing-f-string-syntax (RUF027) 
 * Rule changes
   * [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules 
   * [flake8-builtins] Match upstream module name comparison (A005) 
   * [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) 
   * [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) 
   * [flake8-simplify] Only trigger SIM401 on known dictionaries 
   * [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) 
   * [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) 
   * [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) 
   * [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) 
   * [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) 
   * [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types 
 * Server
   * Root exclusions in the server to project root 
 * Bug fixes
   * [flake8-datetime] Ignore .replace() calls while looking for .astimezone 
   * [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ 
 * Documentation
   * Improve ruff-lsp migration document 
   * Undeprecate ruff.nativeServer

OBS-URL: https://build.opensuse.org/request/show/1244821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=58
This commit is contained in:
Ana Guerrero 2025-02-11 20:21:15 +00:00 committed by Git OBS Bridge
commit d8cd5c9e4d
5 changed files with 38 additions and 6 deletions

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Mon Feb 10 16:29:23 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.9.6
* Preview features
* [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302
* [flake8-builtins] Make strict module name comparison optional (A005)
* [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061)
* [pylint] Also report when the object isn't a literal (PLE1310)
* [ruff] Implement indented-form-feed (RUF054)
* [ruff] Skip type definitions for missing-f-string-syntax (RUF027)
* Rule changes
* [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules
* [flake8-builtins] Match upstream module name comparison (A005)
* [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417)
* [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800)
* [flake8-simplify] Only trigger SIM401 on known dictionaries
* [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310)
* [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040)
* [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040)
* [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049)
* [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052)
* [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types
* Server
* Root exclusions in the server to project root
* Bug fixes
* [flake8-datetime] Ignore .replace() calls while looking for .astimezone
* [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__
* Documentation
* Improve ruff-lsp migration document
* Undeprecate ruff.nativeServer
-------------------------------------------------------------------
Sun Feb 9 00:50:00 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.9.5
Version: 0.9.6
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:11aecd7a633932875ab3cb05a484c99970b9d52606ce9ea912b690b02653d56c
size 3634177

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c3071087b4f52e19bd220717e09e7ddf40ba51a2ec1d8172ffbb729a40dfc33
size 37530004
oid sha256:ab837021c2fc5ac2a55d05ca1020ea666391800ee5f0673dafad230afc65e98c
size 37527544