14
0
forked from pool/python-ruff

Accepting request 1300962 from devel:languages:python

- update to 0.12.10
 * Preview features
  * [flake8-simplify] Implement fix for maxsplit without separator (SIM905) 
  * [flake8-use-pathlib] Add fixes for PTH102 and PTH103 
 * Bug fixes
  * [isort] Handle multiple continuation lines after module docstring (I002) 
  * [pyupgrade] Avoid reporting __future__ features as unnecessary when they are used (UP010) 
  * [pyupgrade] Handle nested Optionals (UP045) 
 * Rule changes
  * [pycodestyle] Make E731 fix unsafe instead of display-only for class assignments 
  * [pyflakes] Add secondary annotation showing previous definition (F811) 
 * Documentation
  * Fix description of global config file discovery strategy 
  * Update outdated links to https://typing.python.org/en/latest/source/stubs.html 
  * [flake8-annotations] Remove unused import in example (ANN401)

OBS-URL: https://build.opensuse.org/request/show/1300962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=82
This commit is contained in:
2025-08-25 18:36:09 +00:00
committed by Git OBS Bridge
5 changed files with 26 additions and 6 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Aug 22 11:09:22 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.12.10
* Preview features
* [flake8-simplify] Implement fix for maxsplit without separator (SIM905)
* [flake8-use-pathlib] Add fixes for PTH102 and PTH103
* Bug fixes
* [isort] Handle multiple continuation lines after module docstring (I002)
* [pyupgrade] Avoid reporting __future__ features as unnecessary when they are used (UP010)
* [pyupgrade] Handle nested Optionals (UP045)
* Rule changes
* [pycodestyle] Make E731 fix unsafe instead of display-only for class assignments
* [pyflakes] Add secondary annotation showing previous definition (F811)
* Documentation
* Fix description of global config file discovery strategy
* Update outdated links to https://typing.python.org/en/latest/source/stubs.html
* [flake8-annotations] Remove unused import in example (ANN401)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 15 12:56:45 UTC 2025 - Dirk Müller <dmueller@suse.com> Fri Aug 15 12:56:45 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,6 +1,7 @@
# #
# spec file for package python-ruff # spec file for package python-ruff
# #
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -19,7 +20,7 @@
%bcond_without libalternatives %bcond_without libalternatives
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-ruff Name: python-ruff
Version: 0.12.9 Version: 0.12.10
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

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

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

View File

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

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f801ad9bce62ea4cd8f4845ea721f8f01f4c433d032a89cc6d8353f14137878f oid sha256:17a38b6eb1f0c4172eb9fee84fdc1dd545967cfba98305005dc83042696c51d4
size 29925245 size 30194923