SHA256
1
0
forked from pool/python-ruff

- update to 0.3.3

* Preview features
   * [flake8-bandit]: Implement S610 rule 
   * [pycodestyle] Implement blank-line-at-end-of-file (W391) 
   * [pycodestyle] Implement redundant-backslash (E502) 
   * [pylint] - implement redeclared-assigned-name (W0128) 
 * Rule changes
   * [flake8_comprehensions] Handled special case for C400 which also matches C416 
   * [flake8-bandit] Implement upstream updates for S311, S324 and S605 
   * [pyflakes] Remove F401 fix for __init__ imports by default and allow opt-in to unsafe fix 
   * [pylint] Implement invalid-bool-return-type (E304) 
   * [pylint] Include builtin warnings in useless-exception-statement (PLW0133) 
 * CLI
   * Add message on success to ruff check 
 * Bug fixes
   * [PIE970] Allow trailing ellipsis in typing.TYPE_CHECKING 
   * Avoid TRIO115 if the argument is a variable 
   * [F811] Avoid removing shadowed imports that point to different symbols 
   * Fix F821 and F822 false positives in .pyi files 
   * Fix F821 false negatives in .py files when from __future__ import annotations is active 
   * Fix case where Indexer fails to identify continuation preceded by newline #10351 
   * Sort hash maps in Settings display 
   * Track conditional deletions in the semantic model 
   * [C413] Wrap expressions in parentheses when negating 
   * [pycodestyle] Do not ignore lines before the first logical line in blank lines rules. 
   * [pycodestyle] Do not trigger E225 and E275 when the next token is a ')' 
   * [pylint] Avoid false-positive slot non-assignment for __dict__ (PLE0237) 
   * Gate f-string struct size test for Rustc < 1.76 
 * Documentation
   * Use ruff.toml format in README

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=48
This commit is contained in:
Ondřej Súkup 2024-03-18 13:48:21 +00:00 committed by Git OBS Bridge
parent 4f989f3cf8
commit 91893edc35
5 changed files with 43 additions and 6 deletions

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Mon Mar 18 13:45:45 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.3.3
* Preview features
* [flake8-bandit]: Implement S610 rule
* [pycodestyle] Implement blank-line-at-end-of-file (W391)
* [pycodestyle] Implement redundant-backslash (E502)
* [pylint] - implement redeclared-assigned-name (W0128)
* Rule changes
* [flake8_comprehensions] Handled special case for C400 which also matches C416
* [flake8-bandit] Implement upstream updates for S311, S324 and S605
* [pyflakes] Remove F401 fix for __init__ imports by default and allow opt-in to unsafe fix
* [pylint] Implement invalid-bool-return-type (E304)
* [pylint] Include builtin warnings in useless-exception-statement (PLW0133)
* CLI
* Add message on success to ruff check
* Bug fixes
* [PIE970] Allow trailing ellipsis in typing.TYPE_CHECKING
* Avoid TRIO115 if the argument is a variable
* [F811] Avoid removing shadowed imports that point to different symbols
* Fix F821 and F822 false positives in .pyi files
* Fix F821 false negatives in .py files when from __future__ import annotations is active
* Fix case where Indexer fails to identify continuation preceded by newline #10351
* Sort hash maps in Settings display
* Track conditional deletions in the semantic model
* [C413] Wrap expressions in parentheses when negating
* [pycodestyle] Do not ignore lines before the first logical line in blank lines rules.
* [pycodestyle] Do not trigger E225 and E275 when the next token is a ')'
* [pylint] Avoid false-positive slot non-assignment for __dict__ (PLE0237)
* Gate f-string struct size test for Rustc < 1.76
* Documentation
* Use ruff.toml format in README
* [RUF008] Make it clearer that a mutable default in a dataclass is only valid if it is typed as a ClassVar
* [pylint] Extend docs and test in invalid-str-return-type (E307)
* Remove . from check and format commands
-------------------------------------------------------------------
Mon Mar 11 08:52:49 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.3.2
Version: 0.3.3
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:fa78ec9418eb1ca3db392811df3376b46471ae93792a81af2d1cbb0e5dcb5142
size 2076440

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d01a0ee56d3d5c68646b3cebac47c2eae3f85e1a26a0737f785fa81767c746e
size 25244788
oid sha256:3167addd9225cee0f05a3fc09395d030c3690b4bc45d29ae634ee9ce3d3103b1
size 25664407