From a4f855053b8442b22b6655973314d192b1d6dc16f8e02ddd071920da0002ea99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 13 May 2025 06:44:07 +0000 Subject: [PATCH 1/2] - update to 0.11.9: * Preview features * Default to latest supported Python version for version-related syntax errors * Implement deferred annotations for Python 3.14 * [airflow] Fix SQLTableCheckOperator typo (AIR302) * [airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301) * [airflow] Skip attribute check in try catch block (AIR301) * [flake8-bandit] Mark tuples of string literals as trusted input in S603 * [isort] Check full module path against project root(s) when categorizing first-party imports * [ruff] Add new rule in-empty-collection (RUF060) * Bug fixes * Fix missing combine call for lint.typing-extensions setting * [flake8-async] Fix module name in ASYNC110, ASYNC115, and ASYNC116 fixes * [pyupgrade] Add spaces between tokens as necessary to avoid syntax errors in UP018 autofix * [refurb] Fix false positive for float and complex numbers in FURB116 * [parser] Flag single unparenthesized generator expr with trailing comma in arguments. * Documentation * Add instructions on how to upgrade to a newer Rust version * Update code of conduct email address * Add fix safety sections to PLC2801, PLR1722, and RUF013 * Add link to check-typed-exception from S110 and S112 * Other changes * Allow passing a virtual environment to ruff analyze graph OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=148 --- python-ruff.changes | 27 +++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.11.8.tar.gz | 3 --- ruff-0.11.9.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 33 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.11.8.tar.gz create mode 100644 ruff-0.11.9.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index 12c2f38..a7919f1 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Tue May 13 06:39:19 UTC 2025 - Ondřej Súkup + +- update to 0.11.9: + * Preview features + * Default to latest supported Python version for version-related syntax errors + * Implement deferred annotations for Python 3.14 + * [airflow] Fix SQLTableCheckOperator typo (AIR302) + * [airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301) + * [airflow] Skip attribute check in try catch block (AIR301) + * [flake8-bandit] Mark tuples of string literals as trusted input in S603 + * [isort] Check full module path against project root(s) when categorizing first-party imports + * [ruff] Add new rule in-empty-collection (RUF060) + * Bug fixes + * Fix missing combine call for lint.typing-extensions setting + * [flake8-async] Fix module name in ASYNC110, ASYNC115, and ASYNC116 fixes + * [pyupgrade] Add spaces between tokens as necessary to avoid syntax errors in UP018 autofix + * [refurb] Fix false positive for float and complex numbers in FURB116 + * [parser] Flag single unparenthesized generator expr with trailing comma in arguments. + * Documentation + * Add instructions on how to upgrade to a newer Rust version + * Update code of conduct email address + * Add fix safety sections to PLC2801, PLR1722, and RUF013 + * Add link to check-typed-exception from S110 and S112 + * Other changes + * Allow passing a virtual environment to ruff analyze graph + ------------------------------------------------------------------- Fri May 2 15:28:43 UTC 2025 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 099d258..44dd71b 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.11.8 +Version: 0.11.9 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.11.8.tar.gz b/ruff-0.11.8.tar.gz deleted file mode 100644 index ad473bb..0000000 --- a/ruff-0.11.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d742d10626f9004b781f4558154bb226620a7242080e11caeffab1a40e99df8 -size 4086399 diff --git a/ruff-0.11.9.tar.gz b/ruff-0.11.9.tar.gz new file mode 100644 index 0000000..fc531fa --- /dev/null +++ b/ruff-0.11.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebd58d4f67a00afb3a30bf7d383e52d0e036e6195143c6db7019604a05335517 +size 4132134 diff --git a/vendor.tar.zst b/vendor.tar.zst index b1a13e6..047bb84 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:75299dc411e4b6f83d1bc09edc91421134b846868ef02257c4f403cac420378b -size 34747684 +oid sha256:ec1bb0fecc6e3b86ca513debcab12f8316217ceb44439c08d09951a796a73961 +size 34657617 From 06155d72b0a71698de4a480e6002687f8776b70a5412d4fe574c2884849800c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 19 May 2025 14:20:27 +0000 Subject: [PATCH 2/2] - update 0.11.10: * Preview features * [ruff] Implement a recursive check for RUF060 * [airflow] Enable autofixes for AIR301 and AIR311 * [airflow] Apply try catch guard to all AIR3 rules * [airflow] Extend AIR311 rules * Bug fixes * [flake8-bugbear] Ignore B028 if skip_file_prefixes is present * [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments * [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905) * [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal * [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH) * [refurb] Mark autofix as safe only for number literals (FURB116) * Rule changes * [flake8-bandit] Skip S608 for expressionless f-strings * [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019) * [pyupgrade] Add resource.error as deprecated alias of OSError (UP024) * CLI * Disable jemalloc on Android * Documentation * Update Neovim setup docs * [flake8-simplify] Add fix safety section (SIM103) * [flake8-simplify] Add fix safety section (SIM112) * [pylint] Add fix safety section (PLC0414) * [pylint] Add fix safety section (PLE4703) * [pylint] Add fix safety section (PLW1514) * [pylint] Add fix safety section (PLW3301) * [ruff] Add fix safety section (RUF007) * [ruff] Add fix safety section (RUF033) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=149 --- python-ruff.changes | 33 +++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.11.10.tar.gz | 3 +++ ruff-0.11.9.tar.gz | 3 --- vendor.tar.zst | 4 ++-- 5 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 ruff-0.11.10.tar.gz delete mode 100644 ruff-0.11.9.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index a7919f1..a44d564 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Mon May 19 14:18:18 UTC 2025 - Ondřej Súkup + +- update 0.11.10: + * Preview features + * [ruff] Implement a recursive check for RUF060 + * [airflow] Enable autofixes for AIR301 and AIR311 + * [airflow] Apply try catch guard to all AIR3 rules + * [airflow] Extend AIR311 rules + * Bug fixes + * [flake8-bugbear] Ignore B028 if skip_file_prefixes is present + * [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments + * [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905) + * [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal + * [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH) + * [refurb] Mark autofix as safe only for number literals (FURB116) + * Rule changes + * [flake8-bandit] Skip S608 for expressionless f-strings + * [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019) + * [pyupgrade] Add resource.error as deprecated alias of OSError (UP024) + * CLI + * Disable jemalloc on Android + * Documentation + * Update Neovim setup docs + * [flake8-simplify] Add fix safety section (SIM103) + * [flake8-simplify] Add fix safety section (SIM112) + * [pylint] Add fix safety section (PLC0414) + * [pylint] Add fix safety section (PLE4703) + * [pylint] Add fix safety section (PLW1514) + * [pylint] Add fix safety section (PLW3301) + * [ruff] Add fix safety section (RUF007) + * [ruff] Add fix safety section (RUF033) + ------------------------------------------------------------------- Tue May 13 06:39:19 UTC 2025 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 44dd71b..dfd41b5 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.11.9 +Version: 0.11.10 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.11.10.tar.gz b/ruff-0.11.10.tar.gz new file mode 100644 index 0000000..2dba17e --- /dev/null +++ b/ruff-0.11.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d522fb204b4959909ecac47da02830daec102eeb100fb50ea9554818d47a5fa6 +size 4165632 diff --git a/ruff-0.11.9.tar.gz b/ruff-0.11.9.tar.gz deleted file mode 100644 index fc531fa..0000000 --- a/ruff-0.11.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ebd58d4f67a00afb3a30bf7d383e52d0e036e6195143c6db7019604a05335517 -size 4132134 diff --git a/vendor.tar.zst b/vendor.tar.zst index 047bb84..cc78f7e 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ec1bb0fecc6e3b86ca513debcab12f8316217ceb44439c08d09951a796a73961 -size 34657617 +oid sha256:91f5fcad88bbe8d26c5e95fc43b6df5bb78ccab4e64aca66b08b786138bc5e4e +size 27513976