14
0
forked from pool/python-ruff

- update to 0.12.9:

* \[`airflow`\] Add check for
    `airflow.secrets.cache.SecretCache` (`AIR301`)
  * \[`ruff`\] Offer a safe fix for multi-digit zeros (`RUF064`)
  * \[`flake8-blind-except`\] Fix `BLE001` false-positive on
    `raise ... from None`
  * \[`flake8-comprehensions`\] Fix false positive for `C420`
    with attribute, subscript, or slice assignment targets
  * \[`flake8-simplify`\] Fix handling of U+001C..U+001F
    whitespace (`SIM905`)
  * \[`pylint`\] Use lowercase hex characters to match the
    formatter (`PLE2513`)
  * [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses
 * Bug fixes
  * [flake8-blind-except] Change BLE001 to correctly parse exception tuples
  * [flake8-errmsg] Exclude typing.cast from EM101
  * [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes
  * [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001
  * [isort] Fix syntax error after docstring ending with backslash (I002)
  * [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present
  * [pyupgrade] Prevent infinite loop with I002 (UP010, UP035)
  * [ruff] Parenthesize generator expressions in f-strings (RUF010)
 * Rule changes
  * [eradicate] Don't flag pyrefly pragmas as unused code (ERA001)
 * Documentation
  * Replace "associative" with "commutative" in docs for RUF036
  * Fix copy and line separator colors in dark mode
  * Fix link to typing documentation
  * Include column numbers in GitLab output format
  * Always expand tabs to four spaces in diagnostics

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=173
This commit is contained in:
2025-08-15 12:57:39 +00:00
committed by Git OBS Bridge
parent cd52ffd036
commit 2a7c4255b3
5 changed files with 39 additions and 23 deletions

View File

@@ -1,29 +1,45 @@
-------------------------------------------------------------------
Fri Aug 15 12:56:45 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.12.9:
* \[`airflow`\] Add check for
`airflow.secrets.cache.SecretCache` (`AIR301`)
* \[`ruff`\] Offer a safe fix for multi-digit zeros (`RUF064`)
* \[`flake8-blind-except`\] Fix `BLE001` false-positive on
`raise ... from None`
* \[`flake8-comprehensions`\] Fix false positive for `C420`
with attribute, subscript, or slice assignment targets
* \[`flake8-simplify`\] Fix handling of U+001C..U+001F
whitespace (`SIM905`)
* \[`pylint`\] Use lowercase hex characters to match the
formatter (`PLE2513`)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 9 10:13:13 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com> Sat Aug 9 10:13:13 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.12.8 - update to 0.12.8
* Preview features * Preview features
* [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses * [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses
* Bug fixes * Bug fixes
* [flake8-blind-except] Change BLE001 to correctly parse exception tuples * [flake8-blind-except] Change BLE001 to correctly parse exception tuples
* [flake8-errmsg] Exclude typing.cast from EM101 * [flake8-errmsg] Exclude typing.cast from EM101
* [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes * [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes
* [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001 * [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001
* [isort] Fix syntax error after docstring ending with backslash (I002) * [isort] Fix syntax error after docstring ending with backslash (I002)
* [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present * [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present
* [pyupgrade] Prevent infinite loop with I002 (UP010, UP035) * [pyupgrade] Prevent infinite loop with I002 (UP010, UP035)
* [ruff] Parenthesize generator expressions in f-strings (RUF010) * [ruff] Parenthesize generator expressions in f-strings (RUF010)
* Rule changes * Rule changes
* [eradicate] Don't flag pyrefly pragmas as unused code (ERA001) * [eradicate] Don't flag pyrefly pragmas as unused code (ERA001)
* Documentation * Documentation
* Replace "associative" with "commutative" in docs for RUF036 * Replace "associative" with "commutative" in docs for RUF036
* Fix copy and line separator colors in dark mode * Fix copy and line separator colors in dark mode
* Fix link to typing documentation * Fix link to typing documentation
* [refurb] Make more examples error out-of-the-box * [refurb] Make more examples error out-of-the-box
* Other changes * Other changes
* Include column numbers in GitLab output format * Include column numbers in GitLab output format
* Always expand tabs to four spaces in diagnostics * Always expand tabs to four spaces in diagnostics
* Update pre-commit's ruff id * Update pre-commit's ruff id
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 30 09:48:46 UTC 2025 - Dirk Müller <dmueller@suse.com> Wed Jul 30 09:48:46 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +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
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -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.8 Version: 0.12.9
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:4cb3a45525176e1009b2b64126acf5f9444ea59066262791febf55e40493a033
size 5242373

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

@@ -0,0 +1,3 @@
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:1ad044fe428e3d11ccc66beee91c61853d8974669b792c2b873e47a621b0e528 oid sha256:f801ad9bce62ea4cd8f4845ea721f8f01f4c433d032a89cc6d8353f14137878f
size 29954033 size 29925245