Accepting request 1218438 from devel:languages:python

- update to 0.7.1
 * Preview features
   * Fix E221 and E222 to flag missing or extra whitespace around == operator 
   * Formatter: Alternate quotes for strings inside f-strings in preview 
   * Formatter: Join implicit concatenated strings when they fit on a line 
   * [pylint] Restrict iteration-over-set to only work on sets of literals (PLC0208) 
 * Rule changes
   * [flake8-type-checking] Support auto-quoting when annotations contain quotes 
 * Server
   * Avoid indexing the workspace for single-file mode 
 * Bug fixes
   * Make ARG002 compatible with EM101 when raising NotImplementedError

OBS-URL: https://build.opensuse.org/request/show/1218438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=44
This commit is contained in:
Ana Guerrero 2024-10-27 10:24:17 +00:00 committed by Git OBS Bridge
commit 3521b16751
5 changed files with 23 additions and 7 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Oct 25 19:55:52 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.7.1
* Preview features
* Fix E221 and E222 to flag missing or extra whitespace around == operator
* Formatter: Alternate quotes for strings inside f-strings in preview
* Formatter: Join implicit concatenated strings when they fit on a line
* [pylint] Restrict iteration-over-set to only work on sets of literals (PLC0208)
* Rule changes
* [flake8-type-checking] Support auto-quoting when annotations contain quotes
* Server
* Avoid indexing the workspace for single-file mode
* Bug fixes
* Make ARG002 compatible with EM101 when raising NotImplementedError
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 21 19:19:25 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com> Mon Oct 21 19:19:25 UTC 2024 - 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.7.0 Version: 0.7.1
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
@ -31,7 +31,7 @@ BuildRequires: %{python_module pip}
BuildRequires: cargo-packaging BuildRequires: cargo-packaging
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Provides: ruff-%version} Provides: ruff = %{version}-%{release}
Requires: alts Requires: alts
BuildRequires: alts BuildRequires: alts
%python_subpackages %python_subpackages

View File

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

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

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

View File

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