15
0
forked from pool/python-ruff

- update to 0.14.3:

* Respect `--output-format` with `--watch`
  * [`pydoclint`] Fix false positive on explicit exception re-
    raising (`DOC501`, `DOC502`)
  * [`pyflakes`] Revert to stable behavior if imports for
    module lie in alternate branches for `F401`
  * [`pylint`] Implement `stop-iteration-return` (`PLR1708`)
  * [`ruff`] Add support for additional eager conversion
    patterns (`RUF065`)
  * Fix finding keyword range for clause header after statement
    ending with semicolon
  * Fix syntax error false positive on nested alternative
    patterns
  * [`ISC001`] Fix panic when string literals are unclosed
  * [`flake8-django`] Apply `DJ001` to annotated fields
  * [`flake8-pyi`] Fix `PYI034` to not trigger on metaclasses
    (`PYI034`)
  * [`flake8-type-checking`] Fix `TC003` false positive with
    `future-annotations`
  * [`pyflakes`] Fix false positive for `__class__` in lambda
    expressions within class definitions (`F821`)
  * [`pyupgrade`] Fix false positive for `TypeVar` with default
    on Python \<3.13 (`UP046`,`UP047`)
  * [flake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003)
 * Bug fixes
  * Avoid reusing nested, interpolated quotes before Python 3.12
  * Catch syntax errors in nested interpolations before Python 3.12
  * [fastapi] Handle ellipsis defaults in FAST002 autofix
  * [flake8-simplify] Skip SIM911 when unknown arguments are present
  * [pyupgrade] Always parenthesize assignment expressions in fix for f-string (UP032)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=197
This commit is contained in:
2025-10-31 09:35:33 +00:00
committed by Git OBS Bridge
commit 0fe2e2bedc
15 changed files with 3427 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

9
_service Normal file
View 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>

3302
python-ruff.changes Normal file

File diff suppressed because it is too large Load Diff

62
python-ruff.spec Normal file
View File

@@ -0,0 +1,62 @@
#
# spec file for package python-ruff
#
# 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.3
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
View 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
View 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
View 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
View 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
View 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
View 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
View 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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98da787668f239313d9c902ca7c523fe11b8ec3f39345553a51b25abc4629c96
size 5539663

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

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ff876d2ab2b161b6de0aa1f5bd714e8e9b4033dc122ee006925fbacc4f62153
size 5558687

3
vendor.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65eccd18d29884ac1db100882a8e8ebc8eb5ff314a2d534679c4722c88ec2ec3
size 27932862