SHA256
1
0
forked from pool/python-ruff

Accepting request 1144921 from devel:languages:python

- update to 0.2.1
 * This release includes support for range formatting
   (i.e., the ability to format specific lines within a source file).
 * Preview features
   * [refurb] Implement missing-f-string-syntax (RUF027) 
   * Format module-level docstrings 
 * Formatter
   * Add --range option to ruff format 
   * Don't trim last empty line in docstrings 
 * Bug fixes
   * Skip empty lines when determining base indentation 
   * Drop __get__ and __set__ from unnecessary-dunder-call 
   * Respect generic Protocol in ellipsis removal 
   * Revert "Use publicly available Apple Silicon runners"
 * Performance
   * Skip LibCST parsing for standard dedent adjustments 
   * Remove CST-based fixer for C408 
   * Add our own ignored-names abstractions 
   * Remove CST-based fixers for C400, C401, C410, and C418 
   * Use AhoCorasick to speed up quote match 
   * Remove CST-based fixers for C405 and C409 
   * Add fast-path for comment detection 
   * Invert order of checks in zero-sleep-call 
   * Short-circuit typing matches based on imports 
   * Run dunder method rule on methods directly 
   * Track top-level module imports in the semantic model 
   * Slight speed-up for lowercase and uppercase identifier checks 
   * Remove LibCST-based fixer for C403 
 * Documentation
   * Update max-pos-args example to max-positional-args

OBS-URL: https://build.opensuse.org/request/show/1144921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=18
This commit is contained in:
Ana Guerrero 2024-02-07 17:50:45 +00:00 committed by Git OBS Bridge
commit baf2db0363
5 changed files with 43 additions and 6 deletions

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Wed Feb 7 10:16:16 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.2.1
* This release includes support for range formatting
(i.e., the ability to format specific lines within a source file).
* Preview features
* [refurb] Implement missing-f-string-syntax (RUF027)
* Format module-level docstrings
* Formatter
* Add --range option to ruff format
* Don't trim last empty line in docstrings
* Bug fixes
* Skip empty lines when determining base indentation
* Drop __get__ and __set__ from unnecessary-dunder-call
* Respect generic Protocol in ellipsis removal
* Revert "Use publicly available Apple Silicon runners"
* Performance
* Skip LibCST parsing for standard dedent adjustments
* Remove CST-based fixer for C408
* Add our own ignored-names abstractions
* Remove CST-based fixers for C400, C401, C410, and C418
* Use AhoCorasick to speed up quote match
* Remove CST-based fixers for C405 and C409
* Add fast-path for comment detection
* Invert order of checks in zero-sleep-call
* Short-circuit typing matches based on imports
* Run dunder method rule on methods directly
* Track top-level module imports in the semantic model
* Slight speed-up for lowercase and uppercase identifier checks
* Remove LibCST-based fixer for C403
* Documentation
* Update max-pos-args example to max-positional-args
* Fixed example code in weak_cryptographic_key.rs
* Fix references to deprecated ANN rules in changelog
* Fix default for max-positional-args
-------------------------------------------------------------------
Mon Feb 5 09:40:59 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.2.0
Version: 0.2.1
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:63856b91837606c673537d2889989733d7dffde553828d3b0f0bacfa6def54be
size 1997887

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:152db61301a6ba1a1c1fb352da1d9b0471e92620f83bdebaf2a1541eebc3cb3b
size 25225508
oid sha256:cbfbeb2ba23a5234b5ce2ffe0e2bcc627af22bbef584444663c8ffd8487d68da
size 25227373