SHA256
1
0
forked from pool/python-ruff

Accepting request 1140308 from devel:languages:python

- update to 0.1.14
 * Preview features
   * [flake8-bugbear] Add fix for duplicate-value (B033) 
   * [flake8-simplify] Implement enumerate-for-loop (SIM113) 
   * [pygrep_hooks] Add fix for deprecated-log-warn (PGH002) 
   * [pylint] Implement import-private-name (C2701) 
   * [refurb] Implement regex-flag-alias with fix (FURB167) 
   * [ruff] Add rule and fix to sort contents of __all__ (RUF022) 
   * [tryceratops] Add fix for error-instead-of-exception (TRY400) 
 * Rule changes
   * [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases 
   * [flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts 
   * [pylint] Exclude self and cls when counting method arguments (PLR0917) 
 * CLI
   * --show-settings displays active settings in a far more readable format 
   * Add --extension support to the formatter 
   * Configuration
   * Ignore preview status for fixable and unfixable selectors 
   * [pycodestyle] Use the configured tab size when expanding indents 
 * Bug fixes
   * Recursively visit deferred AST nodes 
   * Visit deferred lambdas before type definitions 
   * [flake8-simplify] Avoid some more enumerate-for-loop false positives (SIM113) 
   * [pandas-vet] Limit inplace diagnostics to methods that accept inplace 
   * [pylint] Add the __prepare__ method to the list of recognized dunder method 
   * [pylint] Ignore unnecessary dunder calls within dunder definitions 
   * [refurb] Avoid bailing when reimplemented-operator is called on function (FURB118) 
   * [ruff] Avoid treating named expressions as static keys (RUF011) 
 * Documentation
   * Add instructions on using noqa with isort rules

OBS-URL: https://build.opensuse.org/request/show/1140308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=15
This commit is contained in:
Ana Guerrero 2024-01-21 22:10:44 +00:00 committed by Git OBS Bridge
commit c950851a42
5 changed files with 45 additions and 6 deletions

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Sun Jan 21 15:21:29 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.1.14
* Preview features
* [flake8-bugbear] Add fix for duplicate-value (B033)
* [flake8-simplify] Implement enumerate-for-loop (SIM113)
* [pygrep_hooks] Add fix for deprecated-log-warn (PGH002)
* [pylint] Implement import-private-name (C2701)
* [refurb] Implement regex-flag-alias with fix (FURB167)
* [ruff] Add rule and fix to sort contents of __all__ (RUF022)
* [tryceratops] Add fix for error-instead-of-exception (TRY400)
* Rule changes
* [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases
* [flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts
* [pylint] Exclude self and cls when counting method arguments (PLR0917)
* CLI
* --show-settings displays active settings in a far more readable format
* Add --extension support to the formatter
* Configuration
* Ignore preview status for fixable and unfixable selectors
* [pycodestyle] Use the configured tab size when expanding indents
* Bug fixes
* Recursively visit deferred AST nodes
* Visit deferred lambdas before type definitions
* [flake8-simplify] Avoid some more enumerate-for-loop false positives (SIM113)
* [pandas-vet] Limit inplace diagnostics to methods that accept inplace
* [pylint] Add the __prepare__ method to the list of recognized dunder method
* [pylint] Ignore unnecessary dunder calls within dunder definitions
* [refurb] Avoid bailing when reimplemented-operator is called on function (FURB118)
* [ruff] Avoid treating named expressions as static keys (RUF011)
* Documentation
* Add instructions on using noqa with isort rules
* Documentation update for URL giving 'page not found'
* Fix admonition in dark mode
* Update contributing docs to use cargo bench -p ruff_benchmark
* Update emacs integration section to include emacs-ruff-format
* [flake8-blind-except] Document exceptions to blind-except rule
-------------------------------------------------------------------
Mon Jan 15 13:27:02 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.1.13
Version: 0.1.14
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:e261f1baed6291f434ffb1d5c6bd8051d1c2a26958072d38dfbec39b3dda7352
size 1926170

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1e114f83790850823d2d364419cc0fed94926850ffdd690af9e0fe130b18976
size 25204119
oid sha256:d33c9f139428b941714f43efd683d9f6236831fa2104e7e79d7abbbe375195b2
size 25200327