SHA256
1
0
forked from pool/python-ruff

- Update to 0.1.2

* This release includes the Beta version of the Ruff formatter — an extremely
     fast, Black-compatible Python formatter
 * Preview features
   * [pylint] Implement non-ascii-module-import (C2403)
   * [pylint] implement non-ascii-name (C2401)
   * [pylint] Implement unnecessary-lambda (W0108)
   * [refurb] Implement read-whole-file (FURB101)
   * Add fix for E223, E224, and E242
   * Add fix for E225, E226, E227, and E228
   * Add fix for E252
   * Add fix for E261
   * Add fix for E273 and E274
   * Add fix for E275
   * Update SIM401 to catch ternary operations
   * Update E721 to allow is and is not for direct type comparisons
 * Rule changes
   * Add backports.strenum to deprecated-imports
   * Update SIM112 to ignore https_proxy, http_proxy, and no_proxy
   * Update fix for literal-membership (PLR6201) to be unsafe
   * Update fix for  mutable-argument-defaults (B006) to be unsafe
 * Formatter
   * Change line-ending default to auto
   * Respect parenthesized generators in has_own_parentheses
   * Add caching to formatter
   * Remove --line-length option from format command
   * Add formatter to line-length documentation
   * Warn about incompatible formatter options
   * Fix range of unparenthesized tuple subject in match statement
   * Remove experimental formatter warning

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=9
This commit is contained in:
Ondřej Súkup 2023-10-25 11:10:23 +00:00 committed by Git OBS Bridge
parent 7d8ae6cfa8
commit 2b27fdbf7a
6 changed files with 61 additions and 7 deletions

View File

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

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
Wed Oct 25 11:04:42 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- Update to 0.1.2
* This release includes the Beta version of the Ruff formatter — an extremely
fast, Black-compatible Python formatter
* Preview features
* [pylint] Implement non-ascii-module-import (C2403)
* [pylint] implement non-ascii-name (C2401)
* [pylint] Implement unnecessary-lambda (W0108)
* [refurb] Implement read-whole-file (FURB101)
* Add fix for E223, E224, and E242
* Add fix for E225, E226, E227, and E228
* Add fix for E252
* Add fix for E261
* Add fix for E273 and E274
* Add fix for E275
* Update SIM401 to catch ternary operations
* Update E721 to allow is and is not for direct type comparisons
* Rule changes
* Add backports.strenum to deprecated-imports
* Update SIM112 to ignore https_proxy, http_proxy, and no_proxy
* Update fix for literal-membership (PLR6201) to be unsafe
* Update fix for mutable-argument-defaults (B006) to be unsafe
* Formatter
* Change line-ending default to auto
* Respect parenthesized generators in has_own_parentheses
* Add caching to formatter
* Remove --line-length option from format command
* Add formatter to line-length documentation
* Warn about incompatible formatter options
* Fix range of unparenthesized tuple subject in match statement
* Remove experimental formatter warning
* Don't move type param opening parenthesis comment
* Update versions in format benchmark script
* Avoid loading files for cached format results
* CLI
* Show the ruff format command in help menus
* Add ruff version command with long version display
* Configuration
* New pycodestyle.max-line-length option
* Bug fixes
* Detect sys.version_info slices in outdated-version-block
* Avoid if-else simplification for TYPE_CHECKING blocks
* Avoid false-positive print separator diagnostic with starred argument
* Documentation
* Fix message for too-many-arguments lint
* Fix extend-unsafe-fixes and extend-safe-fixes example
* Add links to flake8-import-conventions options
* Rework the documentation to incorporate the Ruff formatter
* Fix Options JSON schema description
* Fix typo (pytext -> pytest)
* Improve magic-value-comparison example in docs
-------------------------------------------------------------------
Fri Oct 20 10:09:22 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

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

View File

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

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

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

View File

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