- Update to 0.1.3

* Formatter
   * Avoid space around pow for None, True and False
   * Avoid sorting all paths in the format command
   * Insert necessary blank line between class and leading comments
   * Avoid introducing new parentheses in annotated assignments
   * Refine the warnings about incompatible linter options
   * Add test and basic implementation for formatter preview mode
   * Refine warning about incompatible isort settings
   * Only omit optional parentheses for starting or ending with parentheses
   * Use source type to determine parser mode for formatting
   * Don't warn about magic trailing comma when isort.force-single-line is true
   * Use SourceKind::diff for formatter
   * Fix fmt:off with trailing child comment
   * Formatter parentheses support for IpyEscapeCommand
 * Linter
   * [pylint] Add buffer methods to bad-dunder-method-name (PLW3201) exclusions
   * Match rule prefixes from external codes setting in unused-noqa
   * Use line-length setting for isort in lieu of pycodestyle.max-line-length
   * Update fix for unnecessary-paren-on-raise-exception to unsafe for unknown types
   * Correct quick fix message for W605
 * Documentation
   * Fix typo in max-doc-length documentation
   * Improve documentation around linter-formatter conflicts
   * Fix link to error suppression documentation in unused-noqa
   * Add external option to unused-noqa documentation
   * Add title attribute to icons
   * Clarify unsafe case in RSE102
   * Fix skipping formatting examples
   * docs: fix name of magic-trailing-comma option in README

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=12
This commit is contained in:
Ondřej Súkup 2023-10-27 07:55:42 +00:00 committed by Git OBS Bridge
parent 43ad193c19
commit 9f74bd38b8
6 changed files with 45 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.2.tar.gz</param>
<param name="srctar">ruff-0.1.3.tar.gz</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Fri Oct 27 07:53:47 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- Update to 0.1.3
* Formatter
* Avoid space around pow for None, True and False
* Avoid sorting all paths in the format command
* Insert necessary blank line between class and leading comments
* Avoid introducing new parentheses in annotated assignments
* Refine the warnings about incompatible linter options
* Add test and basic implementation for formatter preview mode
* Refine warning about incompatible isort settings
* Only omit optional parentheses for starting or ending with parentheses
* Use source type to determine parser mode for formatting
* Don't warn about magic trailing comma when isort.force-single-line is true
* Use SourceKind::diff for formatter
* Fix fmt:off with trailing child comment
* Formatter parentheses support for IpyEscapeCommand
* Linter
* [pylint] Add buffer methods to bad-dunder-method-name (PLW3201) exclusions
* Match rule prefixes from external codes setting in unused-noqa
* Use line-length setting for isort in lieu of pycodestyle.max-line-length
* Update fix for unnecessary-paren-on-raise-exception to unsafe for unknown types
* Correct quick fix message for W605
* Documentation
* Fix typo in max-doc-length documentation
* Improve documentation around linter-formatter conflicts
* Fix link to error suppression documentation in unused-noqa
* Add external option to unused-noqa documentation
* Add title attribute to icons
* Clarify unsafe case in RSE102
* Fix skipping formatting examples
* docs: fix name of magic-trailing-comma option in README
* Add note about scope of rule changing in versioning policy
* Document: Fix default lint rules
* Fix a wrong setting in configuration.md
* Fix misspelled TOML headers in the tutorial
-------------------------------------------------------------------
Wed Oct 25 12:38:40 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-ruff
Version: 0.1.2
Version: 0.1.3
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:afd4785ae060ce6edcd52436d0c197628a918d6d09e3107a892a1bad6a4c6608
size 1661854

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

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

View File

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