forked from pool/python-ruff
Accepting request 1290670 from devel:languages:python
- update to 0.12.2: * [`flake8-pyi`] Expand `Optional[A]` to `A | None` (`PYI016`) * [`pyupgrade`] Mark `UP008` fix safe if no comments are in range * [`flake8-comprehensions`] Fix `C420` to prepend whitespace when needed * [`perflint`] Fix `PERF403` panic on attribute or subscription loop variable * [`pydocstyle`] Fix `D413` infinite loop for parenthesized docstring * [`pylint`] Fix `PLW0108` autofix introducing a syntax error when the lambda's body contains an assignment expression * [`refurb`] Fix false positive on empty tuples (`FURB168`) * [`ruff`] Allow more `field` calls from `attrs` (`RUF009`) * [`ruff`] Fix syntax error introduced for an empty string followed by a u-prefixed string (`UP025`) * [flake8-errmsg] Extend EM101 to support byte strings * [flake8-use-pathlib] Add autofix for PTH202 * [pygrep-hooks] Add AsyncMock methods to invalid-mock-access (PGH005) * [pylint] Ignore __init__.py files in (PLC0414) * [ruff] Trigger RUF037 for empty string and byte strings * [formatter] Fix missing blank lines before decorated classes in .pyi files * Avoid generating diagnostics with per-file ignores * Handle parenthesized arguments in remove_argument * [flake8-logging] Avoid false positive for exc_info=True outside logger.exception (LOG014) * [flake8-pytest-style] Enforce pytest import for decorators * [flake8-pytest-style] Mark autofix for PT001 and PT023 as unsafe if there's comments in the decorator * [flake8-pytest-style] PT001/PT023 fix makes syntax error on parenthesized decorator OBS-URL: https://build.opensuse.org/request/show/1290670 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=75
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 4 11:36:37 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.12.2:
|
||||
* [`flake8-pyi`] Expand `Optional[A]` to `A | None`
|
||||
(`PYI016`)
|
||||
* [`pyupgrade`] Mark `UP008` fix safe if no comments are in
|
||||
range
|
||||
* [`flake8-comprehensions`] Fix `C420` to prepend whitespace
|
||||
when needed
|
||||
* [`perflint`] Fix `PERF403` panic on attribute or
|
||||
subscription loop variable
|
||||
* [`pydocstyle`] Fix `D413` infinite loop for parenthesized
|
||||
docstring
|
||||
* [`pylint`] Fix `PLW0108` autofix introducing a syntax error
|
||||
when the lambda's body contains an assignment expression
|
||||
* [`refurb`] Fix false positive on empty tuples (`FURB168`)
|
||||
* [`ruff`] Allow more `field` calls from `attrs` (`RUF009`)
|
||||
* [`ruff`] Fix syntax error introduced for an empty string
|
||||
followed by a u-prefixed string (`UP025`)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 28 16:22:10 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ruff
|
||||
Version: 0.12.1
|
||||
Version: 0.12.2
|
||||
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:806bbc17f1104fd57451a98a58df35388ee3ab422e029e8f5cf30aa4af2c138c
|
||||
size 4413426
|
3
ruff-0.12.2.tar.gz
Normal file
3
ruff-0.12.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7b4f55cd6f325cb7621244f19c873c565a08aff5a4ba9c69aa7355f3f7afd3e
|
||||
size 4432239
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f05158d3ec58df836627955461134ebdbf9a02cdab9abbf0ceafff2d9fa2b3f
|
||||
size 29522343
|
||||
oid sha256:e7fa4b819cfc51bb3e6972b7b47df7e71f45a06d5cd17736bedd0e0d7d2337a4
|
||||
size 31705381
|
||||
|
Reference in New Issue
Block a user