Accepting request 1220121 from devel:languages:python

- update to 0.7.2 
 * Preview features
   * Fix formatting of single with-item with trailing comment 
   * [pyupgrade] Add PEP 646 Unpack conversion to * with fix (UP044) 
 * Rule changes
   * Regenerate known_stdlibs.rs with stdlibs 2024.10.25 
   * [flake8-no-pep420] Skip namespace package enforcement for PEP 723 scripts (INP001) 
 * Server
   * Fix server panic when undoing an edit 
 * Bug fixes
   * Fix issues in discovering ruff in pip build environments 
   * [flake8-type-checking] Fix false positive for singledispatchmethod (TCH003) 
   * [flake8-type-checking] Treat return type of singledispatch as runtime-required (TCH003) 
 * Documentation
   * [flake8-simplify] Include caveats of enabling if-else-block-instead-of-if-exp (SIM108)

OBS-URL: https://build.opensuse.org/request/show/1220121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2024-11-03 06:17:06 +00:00 committed by Git OBS Bridge
commit cf4fd6a126
5 changed files with 25 additions and 6 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Nov 1 20:52:26 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.7.2
* Preview features
* Fix formatting of single with-item with trailing comment
* [pyupgrade] Add PEP 646 Unpack conversion to * with fix (UP044)
* Rule changes
* Regenerate known_stdlibs.rs with stdlibs 2024.10.25
* [flake8-no-pep420] Skip namespace package enforcement for PEP 723 scripts (INP001)
* Server
* Fix server panic when undoing an edit
* Bug fixes
* Fix issues in discovering ruff in pip build environments
* [flake8-type-checking] Fix false positive for singledispatchmethod (TCH003)
* [flake8-type-checking] Treat return type of singledispatch as runtime-required (TCH003)
* Documentation
* [flake8-simplify] Include caveats of enabling if-else-block-instead-of-if-exp (SIM108)
-------------------------------------------------------------------
Fri Oct 25 19:55:52 UTC 2024 - 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.7.1
Version: 0.7.2
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:9d8a41d4aa2dad1575adb98a82870cf5db5f76b2938cf2206c22c940034a36f4
size 3181670

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18cd6bc69b55cfe00f7bf47b597bf581580142e5179cb07d812fe2e5e151c671
size 29148143
oid sha256:dfa5ce258119db9fd363c703ae9ac44856881ee7136cdd3dd6ed062faa2fb66d
size 29167876