Accepting request 1294441 from devel:languages:python

- update to 0.12.4
 * Preview features
   * [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would
      allow new fixes (TC001, TC002, TC003, UP037, RUF013) 
   * [flake8-use-pathlib] Add autofix for PTH109 
   * [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514) 
 * Bug fixes
   * [flake8-bugbear] Fix B017 false negatives for keyword exception arguments 
   * [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210) 
   * [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field 
   * [isort] Fix I002 import insertion after docstring with multiple string statements 
   * [isort] Treat form feed as valid whitespace before a semicolon 
   * [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202) 
   * [refurb] FURB164 fix should validate arguments and should usually be marked unsafe 
 * Rule changes
   * [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14 
   * [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802) 
   * [pycodestyle] Handle brace escapes for t-strings in logical lines 
   * [pylint] Extend invalid string character rules to include t-strings 
   * [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+ 
 * Documentation
   * [flake8-type-checking] Make TC010 docs example more realistic 
   * Make more documentation examples error out-of-the-box

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

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Fri Jul 18 18:45:45 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.12.4
* Preview features
* [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
* [flake8-use-pathlib] Add autofix for PTH109
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
* Bug fixes
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
* [isort] Fix I002 import insertion after docstring with multiple string statements
* [isort] Treat form feed as valid whitespace before a semicolon
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
* Rule changes
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
* [pycodestyle] Handle brace escapes for t-strings in logical lines
* [pylint] Extend invalid string character rules to include t-strings
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
* Documentation
* [flake8-type-checking] Make TC010 docs example more realistic
* Make more documentation examples error out-of-the-box
-------------------------------------------------------------------
Sun Jul 13 11:33:49 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.12.3
Version: 0.12.4
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:f1b5a4b6668fd7b7ea3697d8d98857390b40c1320a63a178eee6be0899ea2d77
size 4459341

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

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

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:669d9ef1f47d71cbe2d7baea32684e774e571b1e5b39c82b7edd54759b65e113
size 31761349
oid sha256:07d18bb30cd86cedd4a6f1debc959c1e141b291e0a317fdb6e5a9464ad62b977
size 31809023