Accepting request 1228749 from devel:languages:python

- update to 0.8.2
 * Preview features
   * [airflow] Avoid deprecated values (AIR302) 
   * [airflow] Extend removed names for AIR302 
   * [ruff] Extend unnecessary-regular-expression to non-literal strings (RUF055) 
   * [ruff] Implement used-dummy-variable (RUF052) 
   * [ruff] Implement unnecessary-cast-to-int (RUF046) 
 * Rule changes
   * [airflow] Check AIR001 from builtin or providers operators module 
   * [flake8-pytest-style] Remove @ in pytest.mark.parametrize rule messages 
   * [pandas-vet] Skip rules if the panda module hasn't been seen 
   * [pylint] Fix false negatives for ascii and sorted in len-as-condition (PLC1802) 
   * [refurb] Guard hashlib imports and mark hashlib-digest-hex fix as safe (FURB181) 
 * Configuration
   * [flake8-import-conventions] Improve syntax check for aliases supplied in configuration for unconventional-import-alias (ICN001) 
 * Bug fixes
   * Revert: [pyflakes] Avoid false positives in @no_type_check contexts (F821, F722)  
   * [pep8-naming] Avoid false positive for class Bar(type(foo)) (N804) 
   * [pycodestyle] Handle f-strings properly for invalid-escape-sequence (W605) 
   * [pylint] Ignore @overload in PLR0904 
   * [refurb] Handle non-finite decimals in verbose-decimal-constructor (FURB157) 
   * [ruff] Avoid emitting assignment-in-assert when all references to the assigned variable are themselves inside asserts (RUF018) 
 * Documentation
   * Improve docs for flake8-use-pathlib rules 
   * Improve error messages and docs for flake8-comprehensions rules 
   * [flake8-type-checking] Expands TC006 docs to better explain itself

OBS-URL: https://build.opensuse.org/request/show/1228749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=49
This commit is contained in:
Ana Guerrero 2024-12-08 10:36:25 +00:00 committed by Git OBS Bridge
commit c5a9a34047
5 changed files with 36 additions and 6 deletions

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Fri Dec 6 11:34:33 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.8.2
* Preview features
* [airflow] Avoid deprecated values (AIR302)
* [airflow] Extend removed names for AIR302
* [ruff] Extend unnecessary-regular-expression to non-literal strings (RUF055)
* [ruff] Implement used-dummy-variable (RUF052)
* [ruff] Implement unnecessary-cast-to-int (RUF046)
* Rule changes
* [airflow] Check AIR001 from builtin or providers operators module
* [flake8-pytest-style] Remove @ in pytest.mark.parametrize rule messages
* [pandas-vet] Skip rules if the panda module hasn't been seen
* [pylint] Fix false negatives for ascii and sorted in len-as-condition (PLC1802)
* [refurb] Guard hashlib imports and mark hashlib-digest-hex fix as safe (FURB181)
* Configuration
* [flake8-import-conventions] Improve syntax check for aliases supplied in configuration for unconventional-import-alias (ICN001)
* Bug fixes
* Revert: [pyflakes] Avoid false positives in @no_type_check contexts (F821, F722)
* [pep8-naming] Avoid false positive for class Bar(type(foo)) (N804)
* [pycodestyle] Handle f-strings properly for invalid-escape-sequence (W605)
* [pylint] Ignore @overload in PLR0904
* [refurb] Handle non-finite decimals in verbose-decimal-constructor (FURB157)
* [ruff] Avoid emitting assignment-in-assert when all references to the assigned variable are themselves inside asserts (RUF018)
* Documentation
* Improve docs for flake8-use-pathlib rules
* Improve error messages and docs for flake8-comprehensions rules
* [flake8-type-checking] Expands TC006 docs to better explain itself
-------------------------------------------------------------------
Mon Dec 2 11:13:33 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -19,7 +19,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ruff
Version: 0.8.1
Version: 0.8.2
Release: 0
Summary: An extremely fast Python linter, written in Rust
License: MIT

View File

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

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fdfd45f9c6f91e66b15dc262215cf847b79c0c26927427c414f37e9c441e2e1
size 29666230
oid sha256:e80c9c91808bc3e749a1081a4f593bf9e396db14820a94790d0681f62c2c4bcd
size 29767735