SHA256
1
0
forked from pool/python-ruff

- 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
This commit is contained in:
Ondřej Súkup 2023-10-20 10:13:56 +00:00 committed by Git OBS Bridge
parent e4a3ca8ec7
commit 7d8ae6cfa8
6 changed files with 47 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<services> <services>
<service name="download_files" mode="manual" /> <service name="download_files" mode="manual" />
<service name="cargo_vendor" mode="manual"> <service name="cargo_vendor" mode="manual">
<param name="srctar">ruff-0.0.292.tar.gz</param> <param name="srctar">ruff-0.1.1.tar.gz</param>
<param name="compression">zst</param> <param name="compression">zst</param>
<param name="update">true</param> <param name="update">true</param>
</service> </service>

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Fri Oct 20 10:09:22 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- 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 <mimi.vx@gmail.com> Tue Oct 17 10:38:21 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -17,7 +17,7 @@
Name: python-ruff Name: python-ruff
Version: 0.1.0 Version: 0.1.1
Release: 0 Release: 0
Summary: An extremely fast Python linter, written in Rust Summary: An extremely fast Python linter, written in Rust
License: MIT License: MIT

View File

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

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

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:8a4d776c057bf72e47227d7571ad3cf02e2a88fe0b27bd76403135f9a93b806d oid sha256:d42751cef403ab07cbaa224a4a5fc0b46d335d2d0ddede8244eca7e933a5ae8e
size 38577568 size 30351858