From 4d0df8b2ecf91e6c7276430878c5ad84785b8c3a7f1f8e0ef384351aef78af53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 21 Jan 2024 15:24:01 +0000 Subject: [PATCH] - update to 0.1.14 * Preview features * [flake8-bugbear] Add fix for duplicate-value (B033) * [flake8-simplify] Implement enumerate-for-loop (SIM113) * [pygrep_hooks] Add fix for deprecated-log-warn (PGH002) * [pylint] Implement import-private-name (C2701) * [refurb] Implement regex-flag-alias with fix (FURB167) * [ruff] Add rule and fix to sort contents of __all__ (RUF022) * [tryceratops] Add fix for error-instead-of-exception (TRY400) * Rule changes * [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases * [flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts * [pylint] Exclude self and cls when counting method arguments (PLR0917) * CLI * --show-settings displays active settings in a far more readable format * Add --extension support to the formatter * Configuration * Ignore preview status for fixable and unfixable selectors * [pycodestyle] Use the configured tab size when expanding indents * Bug fixes * Recursively visit deferred AST nodes * Visit deferred lambdas before type definitions * [flake8-simplify] Avoid some more enumerate-for-loop false positives (SIM113) * [pandas-vet] Limit inplace diagnostics to methods that accept inplace * [pylint] Add the __prepare__ method to the list of recognized dunder method * [pylint] Ignore unnecessary dunder calls within dunder definitions * [refurb] Avoid bailing when reimplemented-operator is called on function (FURB118) * [ruff] Avoid treating named expressions as static keys (RUF011) * Documentation * Add instructions on using noqa with isort rules OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=32 --- python-ruff.changes | 39 +++++++++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.1.13.tar.gz | 3 --- ruff-0.1.14.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 45 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.1.13.tar.gz create mode 100644 ruff-0.1.14.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index b079020..65ee2ec 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sun Jan 21 15:21:29 UTC 2024 - Ondřej Súkup + +- update to 0.1.14 + * Preview features + * [flake8-bugbear] Add fix for duplicate-value (B033) + * [flake8-simplify] Implement enumerate-for-loop (SIM113) + * [pygrep_hooks] Add fix for deprecated-log-warn (PGH002) + * [pylint] Implement import-private-name (C2701) + * [refurb] Implement regex-flag-alias with fix (FURB167) + * [ruff] Add rule and fix to sort contents of __all__ (RUF022) + * [tryceratops] Add fix for error-instead-of-exception (TRY400) + * Rule changes + * [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases + * [flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts + * [pylint] Exclude self and cls when counting method arguments (PLR0917) + * CLI + * --show-settings displays active settings in a far more readable format + * Add --extension support to the formatter + * Configuration + * Ignore preview status for fixable and unfixable selectors + * [pycodestyle] Use the configured tab size when expanding indents + * Bug fixes + * Recursively visit deferred AST nodes + * Visit deferred lambdas before type definitions + * [flake8-simplify] Avoid some more enumerate-for-loop false positives (SIM113) + * [pandas-vet] Limit inplace diagnostics to methods that accept inplace + * [pylint] Add the __prepare__ method to the list of recognized dunder method + * [pylint] Ignore unnecessary dunder calls within dunder definitions + * [refurb] Avoid bailing when reimplemented-operator is called on function (FURB118) + * [ruff] Avoid treating named expressions as static keys (RUF011) + * Documentation + * Add instructions on using noqa with isort rules + * Documentation update for URL giving 'page not found' + * Fix admonition in dark mode + * Update contributing docs to use cargo bench -p ruff_benchmark + * Update emacs integration section to include emacs-ruff-format + * [flake8-blind-except] Document exceptions to blind-except rule + ------------------------------------------------------------------- Mon Jan 15 13:27:02 UTC 2024 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 01e15d9..b56c9a5 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.1.13 +Version: 0.1.14 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.1.13.tar.gz b/ruff-0.1.13.tar.gz deleted file mode 100644 index 5de14a7..0000000 --- a/ruff-0.1.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e261f1baed6291f434ffb1d5c6bd8051d1c2a26958072d38dfbec39b3dda7352 -size 1926170 diff --git a/ruff-0.1.14.tar.gz b/ruff-0.1.14.tar.gz new file mode 100644 index 0000000..9a2e18a --- /dev/null +++ b/ruff-0.1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad3f8088b2dfd884820289a06ab718cde7d38b94972212cc4ba90d5fbc9955f3 +size 1954042 diff --git a/vendor.tar.zst b/vendor.tar.zst index f7a7f5a..4834d4e 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b1e114f83790850823d2d364419cc0fed94926850ffdd690af9e0fe130b18976 -size 25204119 +oid sha256:d33c9f139428b941714f43efd683d9f6236831fa2104e7e79d7abbbe375195b2 +size 25200327