forked from pool/python-ruff
- update to 0.14.14
* Preview features * Preserve required parentheses in lambda bodies * Combine range suppression code diagnostics * [airflow] Second positional argument to Asset/Dataset should not be a dictionary (AIR303) * [ruff] Detect duplicate entries in __all__ (RUF068) * Bug fixes * [pyupgrade] Allow shadowing non-builtin bindings (UP029) * [pyupgrade] Apply UP045 to string arguments of typing.cast * [flake8-pie] Detect duplicated declared class fields in PIE794 * Rule changes * [flake8-pyi] Fix inconsistent handling of forward references for __new__, __enter__, __aenter__ in PYI034 * [flake8-pytest-style] Support check parameter in PT011 * [ruff] Add exception for ctypes.Structure._fields_ (RUF012) * Many fixes are now marked unsafe if they would remove comments: * [flake8-bugbear] B009, B010, B013, B014, B033 * [flake8-simplify] SIM910, SIM911 * [pyupgrade] UP007, UP039, UP041, UP045 * [refurb] FURB105, FURB116, FURB136, FURB140, FURB145, FURB154, FURB157, FURB164,FURB181, FURB188 * [ruff] RUF019, RUF020 * Documentation * Add --exit-non-zero-on-format to formatter exit codes section * Update contributing guide for adding a new rule * [FastAPI] Document fix safety for FAST001 * [flake8-async] Tweak explanation to focus on latency/efficiency tradeoff (ASYNC110) * [pandas-vet] Make example error out-of-the-box (PD002) * [refurb] Make the example work out of box (FURB101) * [refurb] Make the example work out of box (FURB103) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=215
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>
|
||||
3538
python-ruff.changes
Normal file
3538
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) 2026 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.14
|
||||
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.10.tar.gz
Normal file
3
ruff-0.14.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a2e830f075d1a42cd28420d7809ace390832a490ed0966fe373ba288e77aaf4
|
||||
size 5859763
|
||||
3
ruff-0.14.11.tar.gz
Normal file
3
ruff-0.14.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6dc463bfa5c07a59b1ff2c3b9767373e541346ea105503b4c0369c520a66958
|
||||
size 5993417
|
||||
3
ruff-0.14.13.tar.gz
Normal file
3
ruff-0.14.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:83cd6c0763190784b99650a20fec7633c59f6ebe41c5cc9d45ee42749563ad47
|
||||
size 6059504
|
||||
3
ruff-0.14.14.tar.gz
Normal file
3
ruff-0.14.14.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d0f819c9a90205f3a867dbbd0be083bee9912e170fd7d9704cc8ae45824896b
|
||||
size 4515732
|
||||
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
ruff-0.14.8.tar.gz
Normal file
3
ruff-0.14.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:774ed0dd87d6ce925e3b8496feb3a00ac564bea52b9feb551ecd17e0a23d1eed
|
||||
size 5765385
|
||||
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:c5a3cefd8186053fe46c18b611bfb21dbecbb82edf47cefc7103fed79b9f6eef
|
||||
size 28220257
|
||||
Reference in New Issue
Block a user