From 7d8ae6cfa8445993f35ec31e725c7b28bc2b102889f39d7ffed765971ef4523f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 20 Oct 2023 10:13:56 +0000 Subject: [PATCH] - update to 0.1.1 * Rule changes * Add unsafe fix for escape-sequence-in-docstring (D301) * Configuration * Respect #(deprecated) attribute in configuration options * Add [format|lint].exclude options * Respect tab-size setting in formatter * Add lint.preview * Preview features * [pylint] Implement literal-membership (PLR6201) * [pylint] Implement too-many-boolean-expressions (PLR0916) * [pylint] Implement misplaced-bare-raise (E0704) * [pylint] Implement global-at-module-level (W0604) * [pylint] Implement unspecified-encoding (PLW1514) * Add fix for triple-single-quotes (D300) * Formatter * New code style badge for ruff format * Fix comments outside expression parentheses * Add --target-version to ruff format * Skip over parentheses when detecting in keyword * Add --diff option to ruff format * Insert newline after nested function or class statements * Use pass over ellipsis in non-function/class contexts * Bug fixes * Lazily evaluate all PEP 695 type alias values * Avoid failed assertion when showing fixes from stdin * Avoid flagging HTTP and HTTPS literals in urllib-open * Avoid flagging bad-dunder-method-name for _ * Remove Python 2-only methods from URLOpen audit * Use set bracket replacement for iteration-over-set to preserve whitespace and comments OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=7 --- _service | 2 +- python-ruff.changes | 40 ++++++++++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.1.0.tar.gz | 3 --- ruff-0.1.1.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 6 files changed, 47 insertions(+), 7 deletions(-) delete mode 100644 ruff-0.1.0.tar.gz create mode 100644 ruff-0.1.1.tar.gz diff --git a/_service b/_service index 65a229f..1197d94 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ - ruff-0.0.292.tar.gz + ruff-0.1.1.tar.gz zst true diff --git a/python-ruff.changes b/python-ruff.changes index 70fe2d5..3a0b44c 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Fri Oct 20 10:09:22 UTC 2023 - Ondřej Súkup + +- update to 0.1.1 + * Rule changes + * Add unsafe fix for escape-sequence-in-docstring (D301) + * Configuration + * Respect #(deprecated) attribute in configuration options + * Add [format|lint].exclude options + * Respect tab-size setting in formatter + * Add lint.preview + * Preview features + * [pylint] Implement literal-membership (PLR6201) + * [pylint] Implement too-many-boolean-expressions (PLR0916) + * [pylint] Implement misplaced-bare-raise (E0704) + * [pylint] Implement global-at-module-level (W0604) + * [pylint] Implement unspecified-encoding (PLW1514) + * Add fix for triple-single-quotes (D300) + * Formatter + * New code style badge for ruff format + * Fix comments outside expression parentheses + * Add --target-version to ruff format + * Skip over parentheses when detecting in keyword + * Add --diff option to ruff format + * Insert newline after nested function or class statements + * Use pass over ellipsis in non-function/class contexts + * Bug fixes + * Lazily evaluate all PEP 695 type alias values + * Avoid failed assertion when showing fixes from stdin + * Avoid flagging HTTP and HTTPS literals in urllib-open + * Avoid flagging bad-dunder-method-name for _ + * Remove Python 2-only methods from URLOpen audit + * Use set bracket replacement for iteration-over-set to preserve whitespace and comments + * Documentation + * Update tutorial to match revised Ruff defaults + * Update rule B005 docs + * Update GitHub actions example in docs to use --output-format + * Document lint.preview and format.preview + * Clarify that new rules should be added to RuleGroup::Preview. + ------------------------------------------------------------------- Tue Oct 17 10:38:21 UTC 2023 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 1b4a736..d62308b 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -17,7 +17,7 @@ Name: python-ruff -Version: 0.1.0 +Version: 0.1.1 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.1.0.tar.gz b/ruff-0.1.0.tar.gz deleted file mode 100644 index a6afd69..0000000 --- a/ruff-0.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad6b13824714b19c5f8225871cf532afb994470eecb74631cd3500fe817e6b3f -size 1632695 diff --git a/ruff-0.1.1.tar.gz b/ruff-0.1.1.tar.gz new file mode 100644 index 0000000..3260653 --- /dev/null +++ b/ruff-0.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c90461ae4abec261609e5ea436de4a4b5f2822921cf04c16d2cc9327182dbbcc +size 1646173 diff --git a/vendor.tar.zst b/vendor.tar.zst index 76650e5..f08a242 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8a4d776c057bf72e47227d7571ad3cf02e2a88fe0b27bd76403135f9a93b806d -size 38577568 +oid sha256:d42751cef403ab07cbaa224a4a5fc0b46d335d2d0ddede8244eca7e933a5ae8e +size 30351858