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:
@@ -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>
|
||||
|
||||
- update to 0.12.8
|
||||
* Preview features
|
||||
* [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses
|
||||
* [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)
|
||||
* [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)
|
||||
* [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
|
||||
* Replace "associative" with "commutative" in docs for RUF036
|
||||
* Fix copy and line separator colors in dark mode
|
||||
* Fix link to typing documentation
|
||||
* [refurb] Make more examples error out-of-the-box
|
||||
* Other changes
|
||||
* Include column numbers in GitLab output format
|
||||
* Always expand tabs to four spaces in diagnostics
|
||||
* Update pre-commit's ruff id
|
||||
* Include column numbers in GitLab output format
|
||||
* Always expand tabs to four spaces in diagnostics
|
||||
* Update pre-commit's ruff id
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 30 09:48:46 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ruff
|
||||
Version: 0.12.8
|
||||
Version: 0.12.9
|
||||
Release: 0
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
@@ -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
3
ruff-0.12.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fbd94b2e3c623f659962934e52c2bea6fc6da11f667a427a368adaf3af2c866a
|
||||
size 5254702
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ad044fe428e3d11ccc66beee91c61853d8974669b792c2b873e47a621b0e528
|
||||
size 29954033
|
||||
oid sha256:f801ad9bce62ea4cd8f4845ea721f8f01f4c433d032a89cc6d8353f14137878f
|
||||
size 29925245
|
||||
|
Reference in New Issue
Block a user