diff --git a/python-ruff.changes b/python-ruff.changes index 396c762..f02f541 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Thu Sep 11 00:23:58 UTC 2025 - Ondřej Súkup + +- update to 0.13.0 + * Breaking changes + * Several rules can now add from __future__ import annotations automatically + * Full module paths are now used to verify first-party modules + * Deprecated rules must now be selected by exact rule code + * The deprecated macOS configuration directory fallback has been removed + * Removed Rules + * pandas-df-variable-name (PD901) + * non-pep604-isinstance (UP038) + * Stabilization + * airflow-dag-no-schedule-argument (AIR002) + * airflow3-removal (AIR301) + * airflow3-moved-to-provider (AIR302) + * airflow3-suggested-update (AIR311) + * airflow3-suggested-to-move-to-provider (AIR312) + * long-sleep-not-forever (ASYNC116) + * f-string-number-format (FURB116) + * os-symlink (PTH211) + * generic-not-last-base-class (PYI059) + * redundant-none-literal (PYI061) + * pytest-raises-ambiguous-pattern (RUF043) + * unused-unpacked-variable (RUF059) + * useless-class-metaclass-type (UP050) + * assert-raises-exception (B017) now checks for direct calls to unittest.TestCase.assert_raises + and pytest.raises instead of only the context manager forms. + * missing-trailing-comma (COM812) and prohibited-trailing-comma (COM819) now check + for trailing commas in PEP 695 type parameter lists. + * raw-string-in-exception (EM101) now also checks for byte strings in exception messages. + * invalid-mock-access (PGH005) now checks for AsyncMock methods like + not_awaited in addition to the synchronous variants. + * useless-import-alias (PLC0414) no longer applies to __init__.py files, where + it conflicted with one of the suggested fixes for unused-import (F401). + * bidirectional-unicode (PLE2502) now also checks for U+061C (Arabic Letter Mark). + * The fix for multiple-with-statements (SIM117) is now marked as always safe. + * Preview features + * [pyupgrade] Enable UP043 in stub files + * Bug fixes + * [pyupgrade] Apply UP008 only when the __class__ cell exists + * [ruff] Fix empty f-string detection in in-empty-collection (RUF060) + * Server + * Add support for using uv as an alternative formatter backend + * Documentation + * [pep8-naming] Fix formatting of __all__ (N816) + ------------------------------------------------------------------- Fri Sep 5 09:19:10 UTC 2025 - Dirk Müller diff --git a/python-ruff.spec b/python-ruff.spec index 6540607..0ff229b 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -1,6 +1,7 @@ # # 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 @@ -19,7 +20,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.12.12 +Version: 0.13.0 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.12.12.tar.gz b/ruff-0.12.12.tar.gz deleted file mode 100644 index f602e26..0000000 --- a/ruff-0.12.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b86cd3415dbe31b3b46a71c598f4c4b2f550346d1ccf6326b347cc0c8fd063d6 -size 5359915 diff --git a/ruff-0.13.0.tar.gz b/ruff-0.13.0.tar.gz new file mode 100644 index 0000000..5ee2fa8 --- /dev/null +++ b/ruff-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b4b1ee7eb35afae128ab94459b13b2baaed282b1fb0f472a73c82c996c8ae60 +size 5372863 diff --git a/vendor.tar.zst b/vendor.tar.zst index 9b72a67..a753b7e 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6c6264944163620023d579dbd8e3fbbae8dc780bd754e7c2dbf8e64162935056 -size 29476465 +oid sha256:00e16f4ccfec7c1415e75cd34035e585889d1e12ef5a70c480207c7b330c31f4 +size 29748887