14
0
forked from pool/python-ruff

- update to 0.12.7:

* \[`flake8-commas`\] Add support for trailing comma checks in
    type parameter lists (`COM812`, `COM819`)
  * \[`pylint`\] Implement auto-fix for `missing-maxsplit-arg`
    (`PLC0207`)
  * \[`ruff`\] Offer fixes for `RUF039` in more cases
  * Support `.pyi` files in ruff analyze graph
  * \[`flake8-pyi`\] Preserve inline comment in ellipsis removal
    (`PYI013`)
  * \[`perflint`\] Ignore rule if target is `global` or
    `nonlocal` (`PERF401`)
  * \[`pyupgrade`\] Fix `UP030` to avoid modifying double curly
    braces in format strings
  * \[`refurb`\] Ignore decorated functions for `FURB118`
  * \[`refurb`\] Mark `int` and `bool` cases for
    `Decimal.from_float` as safe fixes (`FURB164`)
  * \[`ruff`\] Fix `RUF033` for named default expressions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=169
This commit is contained in:
2025-07-30 11:51:57 +00:00
committed by Git OBS Bridge
parent c1219bd5b9
commit 4d72b68454
5 changed files with 27 additions and 6 deletions

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Jul 30 09:48:46 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.12.7:
* \[`flake8-commas`\] Add support for trailing comma checks in
type parameter lists (`COM812`, `COM819`)
* \[`pylint`\] Implement auto-fix for `missing-maxsplit-arg`
(`PLC0207`)
* \[`ruff`\] Offer fixes for `RUF039` in more cases
* Support `.pyi` files in ruff analyze graph
* \[`flake8-pyi`\] Preserve inline comment in ellipsis removal
(`PYI013`)
* \[`perflint`\] Ignore rule if target is `global` or
`nonlocal` (`PERF401`)
* \[`pyupgrade`\] Fix `UP030` to avoid modifying double curly
braces in format strings
* \[`refurb`\] Ignore decorated functions for `FURB118`
* \[`refurb`\] Mark `int` and `bool` cases for
`Decimal.from_float` as safe fixes (`FURB164`)
* \[`ruff`\] Fix `RUF033` for named default expressions
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 25 15:50:14 UTC 2025 - Dirk Müller <dmueller@suse.com> Fri Jul 25 15:50:14 UTC 2025 - Dirk Müller <dmueller@suse.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.12.5 Version: 0.12.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:b209db6102b66f13625940b7f8c7d0f18e20039bb7f6101fbdac935c9612057e
size 5170722

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

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

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:d762059a765edae3c0f8dc2927b4c2508594c46aa91664796e225cf4ec16fc5c oid sha256:b3f955088829245f49ff25f60d3105b92f13075eb2c8e8e3e03f6c4eeef159cd
size 29879832 size 29888077