14
0
forked from pool/python-ruff

- update to 0.9.10

* Preview features
   * [ruff] Add new rule RUF059: Unused unpacked assignment 
   * [syntax-errors] Detect assignment expressions before Python 3.8 
   * [syntax-errors] Named expressions in decorators before Python 3.9 
   * [syntax-errors] Parenthesized keyword argument names after Python 3.8 
   * [syntax-errors] Positional-only parameters before Python 3.8 
   * [syntax-errors] Tuple unpacking in return and yield before Python 3.8 
   * [syntax-errors] Type parameter defaults before Python 3.13 
   * [syntax-errors] Type parameter lists before Python 3.12 
   * [syntax-errors] except* before Python 3.11 
   * [syntax-errors] type statements before Python 3.12 
 * Bug fixes
   * Escape template filenames in glob patterns in configuration 
   * [flake8-simplify] Exempt unittest context methods for SIM115 rule 
   * Formatter: Fix syntax error location in notebooks 
   * [pyupgrade] Do not offer fix when at least one target is global/nonlocal (UP028) 
   * [flake8-builtins] Ignore variables matching module attribute names (A001) 
   * [pylint] Convert code keyword argument to a positional argument in fix for (PLR1722) 
 * CLI
   * Move rule code from description to check_name in GitLab output serializer 
 * Documentation
   * [pydocstyle] Clarify that D417 only checks docstrings with an arguments section

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=129
This commit is contained in:
2025-03-10 10:21:38 +00:00
committed by Git OBS Bridge
parent afeb4a3fc1
commit 9216107558
3 changed files with 30 additions and 3 deletions

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Mon Mar 10 10:18:59 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.9.10
* Preview features
* [ruff] Add new rule RUF059: Unused unpacked assignment
* [syntax-errors] Detect assignment expressions before Python 3.8
* [syntax-errors] Named expressions in decorators before Python 3.9
* [syntax-errors] Parenthesized keyword argument names after Python 3.8
* [syntax-errors] Positional-only parameters before Python 3.8
* [syntax-errors] Tuple unpacking in return and yield before Python 3.8
* [syntax-errors] Type parameter defaults before Python 3.13
* [syntax-errors] Type parameter lists before Python 3.12
* [syntax-errors] except* before Python 3.11
* [syntax-errors] type statements before Python 3.12
* Bug fixes
* Escape template filenames in glob patterns in configuration
* [flake8-simplify] Exempt unittest context methods for SIM115 rule
* Formatter: Fix syntax error location in notebooks
* [pyupgrade] Do not offer fix when at least one target is global/nonlocal (UP028)
* [flake8-builtins] Ignore variables matching module attribute names (A001)
* [pylint] Convert code keyword argument to a positional argument in fix for (PLR1722)
* CLI
* Move rule code from description to check_name in GitLab output serializer
* Documentation
* [pydocstyle] Clarify that D417 only checks docstrings with an arguments section
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 4 13:44:16 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com> Tue Mar 4 13:44:16 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -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.9.9 Version: 0.9.10
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 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:b460640ac43b00d8adc4242fae6431cb9d0c5b4c69cf84d6f4b2c0499e9ca106 oid sha256:5e0ded8523bbae062211503cfa8de06d0b9fdc8c3f28987edf84bf003d7eea42
size 37565480 size 37673371