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:
parent
8c75d71fed
commit
f6fca5b7dc
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 8 09:48:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:21:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -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}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb641b5873492cf9bd45bc9c5ae5320648218e04386a5f0c264ad6ccce8226a1
|
||||
size 2587996
|
BIN
ruff-0.5.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
ruff-0.5.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
vendor.tar.zst
(Stored with Git LFS)
BIN
vendor.tar.zst
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user