Accepting request 1248763 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1248763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=59
This commit is contained in:
Dominique Leuenberger 2025-02-27 13:50:21 +00:00 committed by Git OBS Bridge
commit 6833036aae
5 changed files with 48 additions and 6 deletions

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Feb 26 12:35:32 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.9.7
* Consider __new__ methods as special function type for enforcing
class method or static method rules (#13305)
* [airflow] Improve the internal logic to differentiate deprecated
symbols (AIR303) (#16013)
* [refurb] Manual timezone monkeypatching (FURB162) (#16113)
* [ruff] Implicit class variable in dataclass (RUF045) (#14349)
* [ruff] Skip singleton starred expressions for incorrectly-\
parenthesized-tuple-in-subscript (RUF031) (#16083)
* [refurb] Check for subclasses includes subscript expressions (FURB189) (#16155)
* [flake8-debugger] Also flag sys.breakpointhook and
sys.__breakpointhook__ (T100) (#16191)
* [pycodestyle] Exempt site.addsitedir(...) calls (E402) (#16251)
* Fix unstable formatting of trailing end-of-line comments of
parenthesized attribute values (#16187)
* Fix handling of requests received after shutdown message (#16262)
* Ignore source.organizeImports.ruff and source.fixAll.ruff code
actions for a notebook cell (#16154)
* Include document specific debug info for ruff.printDebugInformation (#16215)
* Update server to return the debug info as string with
ruff.printDebugInformation (#16214)
* Warn on invalid noqa even when there are no diagnostics (#16178)
* Better error messages while loading configuration extends (#15658)
* [flake8-comprehensions] Handle trailing comma in C403 fix (#16110)
* [flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass
methods (PYI019) (#16141)
* [pydocstyle] Handle arguments with the same names as sections (D417) (#16011)
* [pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#16080)
* [pylint] Do not offer fix for raw strings (PLE251) (#16132)
* [pyupgrade] Do not upgrade functional TypedDicts with private field
names to the class-based syntax (UP013) (#16219)
* [pyupgrade] Handle micro version numbers correctly (UP036) (#16091)
* [pyupgrade] Unwrap unary expressions correctly (UP018) (#15919)
* [refurb] Correctly handle lengths of literal strings in
slice-to-remove-prefix-or-suffix (FURB188) (#16237)
* [ruff] Skip RUF001 diagnostics when visiting string type definitions (#16122)
* Add FAQ entry for source.* code actions in Notebook (#16212)
* Add SECURITY.md (#16224)
-------------------------------------------------------------------
Mon Feb 10 16:29:23 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.6
Version: 0.9.7
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:81761592f72b620ec8fa1068a6fd00e98a5ebee342a3642efd84454f3031dca9
size 3639454

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

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

View File

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