14
0
forked from pool/python-ruff

- update to 0.5.1:

* Enable token-based rules on source with syntax errors
  * \[`flake8-bandit`\] Detect `httpx` for `S113`
  * \[`numpy`\] Update `NPY201` to include exception deprecations
  * \[`pylint`\] Generate autofix for `duplicate-bases`
    (`PLE0241`)
  * Avoid syntax error notification for source code actions
  * Consider the content of the new cells during notebook sync
  * Fix replacement edit range computation
  * Disable auto-fix when source has syntax errors
  * Fix cache key collisions for paths with separators
  * Make `requires-python` inference robust to `==`
  * Use char-wise width instead of `str`-width
  * \[`pycodestyle`\] Avoid `E275` if keyword followed by comma
  * \[`pycodestyle`\] Avoid `E275` if keyword is followed by a
    semicolon
  * \[`pylint`\] Skip dummy variables for `PLR1704`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=69
This commit is contained in:
2024-07-08 09:49:30 +00:00
committed by Git OBS Bridge
parent 8c75d71fed
commit f6fca5b7dc
5 changed files with 28 additions and 7 deletions

View File

@@ -19,11 +19,11 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ruff
Version: 0.5.0
Version: 0.5.1
Release: 0
Summary: An extremely fast Python linter, written in Rust
License: MIT
URL: https://docs.astral.sh/ruff
URL: https://github.com/astral-sh/ruff
Source: https://files.pythonhosted.org/packages/source/r/ruff/ruff-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: %{python_module maturin}