Accepting request 1182988 from devel:languages:python

- update to 0.4.10
 * Parser
   * Implement re-lexing logic for better error recovery 
 * Rule changes
   * [flake8-copyright] Update CPY001 to check the first 4096 bytes instead of 1024 
   * [pycodestyle] Update E999 to show all syntax errors instead of just the first one 
 * Server
  * Add tracing setup guide to Helix documentation 
  * Add tracing setup guide to Neovim documentation 
  * Defer notebook cell deletion to avoid an error message 
 * Security
  * Guard against malicious ecosystem comment artifacts

- update to 0.4.9:
  * Preview features
    + [pylint] Implement consider-dict-items (C0206) (#11688)
    +  [refurb] Implement repeated-global (FURB154) (#11187)
  * Rule changes
    + [pycodestyle] Adapt fix for E203 to work identical to ruff
      format (#10999)
  * Formatter
    + Fix formatter instability for lines only consisting of
      zero-width characters (#11748)
  * Server
    + Add supported commands in server capabilities (#11850)
    + Use real file path when available in ruff server (#11800)
    + Improve error message when a command is run on an unavailable
      document (#11823)
    + Introduce the ruff.printDebugInformation command (#11831)
    + Tracing system now respects log level and trace level, with

OBS-URL: https://build.opensuse.org/request/show/1182988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=30
This commit is contained in:
Ana Guerrero 2024-06-24 18:50:51 +00:00 committed by Git OBS Bridge
commit 99db7b097a
5 changed files with 570 additions and 524 deletions

File diff suppressed because it is too large Load Diff

View File

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

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

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

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44cf73b2e237765d01b090c87ec11507d6fb4f62789a86a898357eab24bde2c4
size 25333500
oid sha256:887e7fd9468c9e68ad045abf354a922f0431e034ef201ce688332eb3a6ef3410
size 25317964