14
0
forked from pool/python-ruff

Accepting request 1272955 from devel:languages:python

- update to 0.11.7:
  * \[`airflow`\] Apply auto fixes to cases where the names have
    changed in Airflow 3 (`AIR301`)
  * \[`perflint`\] Implement fix for `manual-dict-comprehension`
    (`PERF403`)
  * [syntax-errors] Make duplicate parameter names a semantic
    error
  * \[`flake8-type-checking`\] Visit keyword arguments in checks
    involving `typing.cast`/`typing.NewType` arguments
  * \[`pyupgrade`\] Preserve parenthesis when fixing native
    literals containing newlines (`UP018`)
  * \[`refurb`\] Mark the `FURB161` fix unsafe except for
    integers and booleans

   * Avoid adding whitespace to the end of a docstring after an escaped quote
   * Raise syntax error when \ is at end of file
   * [airflow] Add missing AIR302 attribute check
   * [airflow] Expand module path check to individual symbols (AIR302)
   * [airflow] Extract AIR312 from AIR302 rules (AIR302, AIR312)
   * [airflow] Update oudated AIR301, AIR302 rules
   * [syntax-errors] Async comprehension in sync comprehension
   * [syntax-errors] Check annotations in annotated assignments
   * [syntax-errors] Extend annotation checks to await
   * [flake8-pie] Avoid false positive for multiple assignment with auto() (PIE796)
   * [ruff] Fix RUF100 to detect unused file-level noqa directives with specific codes
   * [flake8-pytest-style] Avoid false positive for legacy form of pytest.raises (PT011)
   * Fix formatting of "See Style Guide" link
   * [ruff] Implement invalid-rule-code as RUF102
   * [syntax-errors] Detect duplicate keys in match mapping patterns
   * [syntax-errors] Detect duplicate attributes in match class patterns

OBS-URL: https://build.opensuse.org/request/show/1272955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=67
This commit is contained in:
2025-04-29 14:39:31 +00:00
committed by Git OBS Bridge
4 changed files with 258 additions and 241 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sun Apr 27 14:51:47 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.11.7:
* \[`airflow`\] Apply auto fixes to cases where the names have
changed in Airflow 3 (`AIR301`)
* \[`perflint`\] Implement fix for `manual-dict-comprehension`
(`PERF403`)
* [syntax-errors] Make duplicate parameter names a semantic
error
* \[`flake8-type-checking`\] Visit keyword arguments in checks
involving `typing.cast`/`typing.NewType` arguments
* \[`pyupgrade`\] Preserve parenthesis when fixing native
literals containing newlines (`UP018`)
* \[`refurb`\] Mark the `FURB161` fix unsafe except for
integers and booleans
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 21 12:16:47 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com> Mon Apr 21 12:16:47 UTC 2025 - 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.11.6 Version: 0.11.7
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

View File

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

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

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