Accepting request 1202630 from devel:languages:python

- update to 0.6.7:
  * Add Python version support to ruff analyze CLI
  * Add `exclude` support to `ruff analyze`
  * Fix parentheses around return type annotations
  * \[`pycodestyle`\] Fix: Don't autofix if the first line ends
    in a question mark? (D400)
  * Respect `lint.exclude` in ruff check `--add-noqa`
  * Avoid tracking module resolver files in Salsa
- update to 0.6.6:
  * \[`refurb`\] Skip `slice-to-remove-prefix-or-suffix`
    (`FURB188`) when non-trivial slice steps are present
  * Add a subcommand to generate dependency graphs
  * Fix placement of inline parameter comments
  * Fix off-by one error in the `LineIndex::offset` calculation
  * \[`fastapi`\] Respect FastAPI aliases in route definitions
  * \[`pydocstyle`\] Respect word boundaries when detecting
    function signature in docs

   * [pydoclint] Ignore DOC201 when function name is "new"
   * [refurb] Implement slice-to-remove-prefix-or-suffix (FURB188)
   * [eradicate] Ignore script-comments with multiple end-tags (ERA001)
       was added in a newer version than specified in Ruff config (F821)
   * Add support for extensionless Python files for server
   * Fix configuration inheritance for configurations specified in the LSP settings
   * [ruff] Handle unary operators in decimal-from-float-literal (RUF032)
   * Only include rules with diagnostics in SARIF metadata
   * Add "Copy as pyproject.toml/ruff.toml" and "Paste from TOML"
   * Fix errors not shown for restored snippet on page load

OBS-URL: https://build.opensuse.org/request/show/1202630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=39
This commit is contained in:
Ana Guerrero 2024-09-24 15:31:22 +00:00 committed by Git OBS Bridge
commit 45a26cc8b9
5 changed files with 37 additions and 16 deletions

View File

@ -1,24 +1,45 @@
-------------------------------------------------------------------
Mon Sep 23 12:00:29 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.6.7:
* Add Python version support to ruff analyze CLI
* Add `exclude` support to `ruff analyze`
* Fix parentheses around return type annotations
* \[`pycodestyle`\] Fix: Don't autofix if the first line ends
in a question mark? (D400)
* Respect `lint.exclude` in ruff check `--add-noqa`
* Avoid tracking module resolver files in Salsa
- update to 0.6.6:
* \[`refurb`\] Skip `slice-to-remove-prefix-or-suffix`
(`FURB188`) when non-trivial slice steps are present
* Add a subcommand to generate dependency graphs
* Fix placement of inline parameter comments
* Fix off-by one error in the `LineIndex::offset` calculation
* \[`fastapi`\] Respect FastAPI aliases in route definitions
* \[`pydocstyle`\] Respect word boundaries when detecting
function signature in docs
-------------------------------------------------------------------
Wed Sep 18 13:41:33 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.6.5:
* Preview features
* [pydoclint] Ignore DOC201 when function name is "new"
* [refurb] Implement slice-to-remove-prefix-or-suffix (FURB188)
* [pydoclint] Ignore DOC201 when function name is "new"
* [refurb] Implement slice-to-remove-prefix-or-suffix (FURB188)
* Rule changes
* [eradicate] Ignore script-comments with multiple end-tags (ERA001)
* [eradicate] Ignore script-comments with multiple end-tags (ERA001)
* [pyflakes] Improve error message for UndefinedName when a builtin
was added in a newer version than specified in Ruff config (F821)
was added in a newer version than specified in Ruff config (F821)
* Server
* Add support for extensionless Python files for server
* Fix configuration inheritance for configurations specified in the LSP settings
* Add support for extensionless Python files for server
* Fix configuration inheritance for configurations specified in the LSP settings
* Bug fixes
* [ruff] Handle unary operators in decimal-from-float-literal (RUF032)
* [ruff] Handle unary operators in decimal-from-float-literal (RUF032)
* CLI
* Only include rules with diagnostics in SARIF metadata
* Only include rules with diagnostics in SARIF metadata
* Playground
* Add "Copy as pyproject.toml/ruff.toml" and "Paste from TOML"
* Fix errors not shown for restored snippet on page load
* Add "Copy as pyproject.toml/ruff.toml" and "Paste from TOML"
* Fix errors not shown for restored snippet on page load
-------------------------------------------------------------------
Mon Sep 9 08:14:16 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -19,7 +19,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ruff
Version: 0.6.5
Version: 0.6.7
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:4d32d87fab433c0cf285c3683dd4dae63be05fd7a1d65b3f5bf7cdd05a6b96fb
size 2476127

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9b91576e62a2a648423e317eafe44368b065bab86bf80f565e59733ed3a526a
size 27540799
oid sha256:caf50fe1c7a0d7db18f180d7832e7b08367b4b5785e36b716808472c8bb680da
size 28992098