forked from pool/python-ruff
- update to 0.14.7
* Preview features * [flake8-bandit] Handle string literal bindings in suspicious-url-open-usage (S310) * [pylint] Fix PLR1708 false positives on nested functions * [pylint] Fix suppression for empty dict without tuple key annotation (PLE1141) * [ruff] Add rule RUF066 to detect unnecessary class properties * [ruff] Catch more dummy variable uses (RUF052) * Bug fixes * [server] Set severity for non-rule diagnostics * [flake8-implicit-str-concat] Avoid invalid fix in (ISC003) * [parser] Fix panic when parsing IPython escape command expressions * CLI * Show partial fixability indicator in statistics output OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=204
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
9
_service
Normal file
9
_service
Normal file
@@ -0,0 +1,9 @@
|
||||
<services>
|
||||
<service name="download_files" mode="manual" />
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="srctar">ruff-*.tar.gz</param>
|
||||
<param name="compression">zst</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="manual" />
|
||||
</services>
|
||||
3395
python-ruff.changes
Normal file
3395
python-ruff.changes
Normal file
File diff suppressed because it is too large
Load Diff
63
python-ruff.spec
Normal file
63
python-ruff.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package python-ruff
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ruff
|
||||
Version: 0.14.7
|
||||
Release: 0
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
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}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Provides: ruff = %{version}-%{release}
|
||||
Requires: alts
|
||||
BuildRequires: alts
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Ruff extremely fast Python linter written in rust supperseding many other linting tools
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -p1 -n ruff-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%python_clone -a %{buildroot}%{_bindir}/ruff
|
||||
%python_group_libalternatives ruff
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative ruff
|
||||
|
||||
%files %{python_files}
|
||||
%python_alternative %{_bindir}/ruff
|
||||
%{python_sitearch}/ruff
|
||||
%{python_sitearch}/ruff-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
3
ruff-0.12.11.tar.gz
Normal file
3
ruff-0.12.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6b09ae8426a65bbee5425b9d0b82796dbb07cb1af045743c79bfb163001165d
|
||||
size 5347103
|
||||
3
ruff-0.12.12.tar.gz
Normal file
3
ruff-0.12.12.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b86cd3415dbe31b3b46a71c598f4c4b2f550346d1ccf6326b347cc0c8fd063d6
|
||||
size 5359915
|
||||
3
ruff-0.13.0.tar.gz
Normal file
3
ruff-0.13.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b4b1ee7eb35afae128ab94459b13b2baaed282b1fb0f472a73c82c996c8ae60
|
||||
size 5372863
|
||||
3
ruff-0.13.1.tar.gz
Normal file
3
ruff-0.13.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88074c3849087f153d4bb22e92243ad4c1b366d7055f98726bc19aa08dc12d51
|
||||
size 5397987
|
||||
3
ruff-0.13.2.tar.gz
Normal file
3
ruff-0.13.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb12fffd32fb16d32cef4ed16d8c7cdc27ed7c944eaa98d99d01ab7ab0b710ff
|
||||
size 5416417
|
||||
3
ruff-0.13.3.tar.gz
Normal file
3
ruff-0.13.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b0ba0db740eefdfbcce4299f49e9eaefc643d4d007749d77d047c2bab19908e
|
||||
size 5438533
|
||||
3
ruff-0.14.0.tar.gz
Normal file
3
ruff-0.14.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:62ec8969b7510f77945df916de15da55311fade8d6050995ff7f680afe582c57
|
||||
size 5452071
|
||||
3
ruff-0.14.2.tar.gz
Normal file
3
ruff-0.14.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98da787668f239313d9c902ca7c523fe11b8ec3f39345553a51b25abc4629c96
|
||||
size 5539663
|
||||
3
ruff-0.14.4.tar.gz
Normal file
3
ruff-0.14.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f459a49fe1085a749f15414ca76f61595f1a2cc8778ed7c279b6ca2e1fd19df3
|
||||
size 5587844
|
||||
3
ruff-0.14.5.tar.gz
Normal file
3
ruff-0.14.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8d3b48d7d8aad423d3137af7ab6c8b1e38e4de104800f0d596990f6ada1a9fc1
|
||||
size 5615944
|
||||
3
ruff-0.14.6.tar.gz
Normal file
3
ruff-0.14.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f0c742ca6a7783a736b867a263b9a7a80a45ce9bee391eeda296895f1b4e1cc
|
||||
size 5669501
|
||||
3
ruff-0.14.7.tar.gz
Normal file
3
ruff-0.14.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3417deb75d23bd14a722b57b0a1435561db65f0ad97435b4cf9f85ffcef34ae5
|
||||
size 5727324
|
||||
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9436dd4976b26db9e4fc8bf37a455f4f5eee23f09d43eda5c9c7ccca2edb372e
|
||||
size 28051081
|
||||
Reference in New Issue
Block a user