Accepting request 1223378 from devel:languages:python
- update to 0.7.3 * Preview features * Formatter: Disallow single-line implicit concatenated strings * [flake8-pyi] Include all Python file types for PYI006 and PYI066 * [flake8-simplify] Implement split-of-static-string (SIM905) * [refurb] Implement subclass-builtin (FURB189) * [ruff] Improve diagnostic messages and docs (RUF031, RUF032, RUF034) * Rule changes * Detect items that hash to same value in duplicate sets (B033, PLC0208) * [eradicate] Better detection of IntelliJ language injection comments (ERA001) * [flake8-pyi] Add autofix for docstring-in-stub (PYI021) * [flake8-pyi] Update duplicate-literal-member (PYI062) to alawys provide an autofix * [pyflakes] Detect items that hash to same value in duplicate dictionaries (F601) * [ruff] Fix false positive for decorators (RUF028) * Bug fixes * Avoid parsing joint rule codes as distinct codes in # noqa * [eradicate] ignore # language= in commented-out-code rule (ERA001) * [flake8-bugbear] - do not run mutable-argument-default on stubs (B006) * [flake8-builtins] Skip lambda expressions in builtin-argument-shadowing (A002) * [flake8-comprehension] Also remove trailing comma while fixing C409 and C419 * [flake8-simplify] Allow open without context manager in return statement (SIM115) * [pylint] Respect hash-equivalent literals in iteration-over-set (PLC0208) * [pylint] Update known dunder methods for Python 3.13 (PLW3201) * [pyupgrade] - ignore kwarg unpacking for UP044 * [refurb] Parse more exotic decimal strings in verbose-decimal-constructor (FURB157) * Documentation * Add links to missing related options within rule documentations * Add rule short code to mkdocs tags to allow searching via rule codes OBS-URL: https://build.opensuse.org/request/show/1223378 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=46
This commit is contained in:
commit
c5c04be959
@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 13:34:06 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.7.3
|
||||||
|
* Preview features
|
||||||
|
* Formatter: Disallow single-line implicit concatenated strings
|
||||||
|
* [flake8-pyi] Include all Python file types for PYI006 and PYI066
|
||||||
|
* [flake8-simplify] Implement split-of-static-string (SIM905)
|
||||||
|
* [refurb] Implement subclass-builtin (FURB189)
|
||||||
|
* [ruff] Improve diagnostic messages and docs (RUF031, RUF032, RUF034)
|
||||||
|
* Rule changes
|
||||||
|
* Detect items that hash to same value in duplicate sets (B033, PLC0208)
|
||||||
|
* [eradicate] Better detection of IntelliJ language injection comments (ERA001)
|
||||||
|
* [flake8-pyi] Add autofix for docstring-in-stub (PYI021)
|
||||||
|
* [flake8-pyi] Update duplicate-literal-member (PYI062) to alawys provide an autofix
|
||||||
|
* [pyflakes] Detect items that hash to same value in duplicate dictionaries (F601)
|
||||||
|
* [ruff] Fix false positive for decorators (RUF028)
|
||||||
|
* Bug fixes
|
||||||
|
* Avoid parsing joint rule codes as distinct codes in # noqa
|
||||||
|
* [eradicate] ignore # language= in commented-out-code rule (ERA001)
|
||||||
|
* [flake8-bugbear] - do not run mutable-argument-default on stubs (B006)
|
||||||
|
* [flake8-builtins] Skip lambda expressions in builtin-argument-shadowing (A002)
|
||||||
|
* [flake8-comprehension] Also remove trailing comma while fixing C409 and C419
|
||||||
|
* [flake8-simplify] Allow open without context manager in return statement (SIM115)
|
||||||
|
* [pylint] Respect hash-equivalent literals in iteration-over-set (PLC0208)
|
||||||
|
* [pylint] Update known dunder methods for Python 3.13 (PLW3201)
|
||||||
|
* [pyupgrade] - ignore kwarg unpacking for UP044
|
||||||
|
* [refurb] Parse more exotic decimal strings in verbose-decimal-constructor (FURB157)
|
||||||
|
* Documentation
|
||||||
|
* Add links to missing related options within rule documentations
|
||||||
|
* Add rule short code to mkdocs tags to allow searching via rule codes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 1 20:52:26 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
Fri Nov 1 20:52:26 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -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.7.2
|
Version: 0.7.3
|
||||||
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
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2b14e77293380e475b4e3a7a368e14549288ed2931fce259a6f99978669e844f
|
|
||||||
size 3210036
|
|
3
ruff-0.7.3.tar.gz
Normal file
3
ruff-0.7.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1d1ba2e40b6e71a61b063354d04be669ab0d39c352461f3d789cac68b54a313
|
||||||
|
size 3243664
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:dfa5ce258119db9fd363c703ae9ac44856881ee7136cdd3dd6ed062faa2fb66d
|
oid sha256:1a5e22dff70d7098288cf2d5b4b9829836fd1a1d2267fb11126c0854cf400b8e
|
||||||
size 29167876
|
size 29665422
|
||||||
|
Loading…
x
Reference in New Issue
Block a user