SHA256
1
0
forked from pool/python-ruff

Accepting request 1255264 from devel:languages:python

- update to 0.11.2
 * Preview features
   * [syntax-errors] Fix false-positive syntax errors emitted for annotations on variadic parameters before Python 3.11 
   * [airflow] Add chain, chain_linear and cross_downstream for AIR302 
   * [syntax-errors] Improve error message and range for pre-PEP-614 decorator syntax errors 
   * [syntax-errors] PEP 701 f-strings before Python 3.12 
   * [syntax-errors] Parenthesized context managers before Python 3.9 
   * [syntax-errors] Star annotations before Python 3.11 
   * [syntax-errors] Star expression in index before Python 3.11 
   * [syntax-errors] Unparenthesized assignment expressions in sets and indexes 
 * Bug fixes
   * Server: Allow FixAll action in presence of version-specific syntax errors 
   * [flake8-bandit] Allow raw strings in suspicious-mark-safe-usage (S308)
   * [refurb] Avoid panicking unwrap in verbose-decimal-constructor (FURB157) 
   * [refurb] Fix starred expressions fix (FURB161) 
   * Fix --statistics reporting for unsafe fixes 
 * Rule changes
   * [flake8-executables] Allow uv run in shebang line for shebang-missing-python (EXE003)
 * CLI
   * Add --exit-non-zero-on-format 
 * Documentation
   * Update Ruff tutorial to avoid non-existent fix in __init__.py 
   * [flake8-gettext] Swap format- and printf-in-get-text-func-call examples (INT002, INT003)

OBS-URL: https://build.opensuse.org/request/show/1255264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=63
This commit is contained in:
2025-03-25 21:07:23 +00:00
committed by Git OBS Bridge
5 changed files with 33 additions and 6 deletions

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Sat Mar 22 13:29:35 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.11.2
* Preview features
* [syntax-errors] Fix false-positive syntax errors emitted for annotations on variadic parameters before Python 3.11
* [airflow] Add chain, chain_linear and cross_downstream for AIR302
* [syntax-errors] Improve error message and range for pre-PEP-614 decorator syntax errors
* [syntax-errors] PEP 701 f-strings before Python 3.12
* [syntax-errors] Parenthesized context managers before Python 3.9
* [syntax-errors] Star annotations before Python 3.11
* [syntax-errors] Star expression in index before Python 3.11
* [syntax-errors] Unparenthesized assignment expressions in sets and indexes
* Bug fixes
* Server: Allow FixAll action in presence of version-specific syntax errors
* [flake8-bandit] Allow raw strings in suspicious-mark-safe-usage (S308)
* [refurb] Avoid panicking unwrap in verbose-decimal-constructor (FURB157)
* [refurb] Fix starred expressions fix (FURB161)
* Fix --statistics reporting for unsafe fixes
* Rule changes
* [flake8-executables] Allow uv run in shebang line for shebang-missing-python (EXE003)
* CLI
* Add --exit-non-zero-on-format
* Documentation
* Update Ruff tutorial to avoid non-existent fix in __init__.py
* [flake8-gettext] Swap format- and printf-in-get-text-func-call examples (INT002, INT003)
-------------------------------------------------------------------
Sat Mar 15 22:51: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.0
Version: 0.11.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:e55c620690a4a7ee6f1cccb256ec2157dc597d109400ae75bbf944fc9d6462e2
size 3799407

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

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

View File

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