forked from pool/python-ruff
Accepting request 1134560 from devel:languages:python
- update to 0.1.9 * Breaking changes * Add site-packages to default exclusions * Preview features * Fix: Avoid parenthesizing subscript targets and values * [pylint] Implement too-many-locals (PLR0914) * Implement reimplemented_operator (FURB118) * Add a rule to detect string members in runtime-evaluated unions * Implement no_blank_line_before_class_docstring preview style * Rule changes * CONSTANT_CASE variables are improperly flagged for yoda violation (SIM300) * [flake8-pyi] Cover ParamSpecs and TypeVarTuples (PYI018) * [flake8-bugbear] Add fix for zip-without-explicit-strict (B905) * Add fix to automatically remove print and pprint statements (T201, T203) * Prefer Never to NoReturn in auto-typing in Python >= 3.11 (ANN201) * Formatter * can_omit_optional_parentheses: Exit early for unparenthesized expressions * Fix dynamic mode with doctests so that it doesn't exceed configured line width * Fix can_omit_optional_parentheses for expressions with a right most fstring * Add target_version to formatter options * CLI * Update ruff format --check to display message for already formatted files * Bug fixes * Reverse order of arguments for operator.contains * Iterate over lambdas in deferred type annotations * Fix panic in D208 with multibyte indent * Add support for NoReturn in auto-return-typing * Allow removal of typing from exempt-modules * Avoid mutable-class-default violations for Pydantic subclasses * Fix dropped union expressions for piped non-types in PYI055 autofix OBS-URL: https://build.opensuse.org/request/show/1134560 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=11
This commit is contained in:
commit
ba711d28f0
@ -1,3 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 21 23:27:31 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.1.9
|
||||
* Breaking changes
|
||||
* Add site-packages to default exclusions
|
||||
* Preview features
|
||||
* Fix: Avoid parenthesizing subscript targets and values
|
||||
* [pylint] Implement too-many-locals (PLR0914)
|
||||
* Implement reimplemented_operator (FURB118)
|
||||
* Add a rule to detect string members in runtime-evaluated unions
|
||||
* Implement no_blank_line_before_class_docstring preview style
|
||||
* Rule changes
|
||||
* CONSTANT_CASE variables are improperly flagged for yoda violation (SIM300)
|
||||
* [flake8-pyi] Cover ParamSpecs and TypeVarTuples (PYI018)
|
||||
* [flake8-bugbear] Add fix for zip-without-explicit-strict (B905)
|
||||
* Add fix to automatically remove print and pprint statements (T201, T203)
|
||||
* Prefer Never to NoReturn in auto-typing in Python >= 3.11 (ANN201)
|
||||
* Formatter
|
||||
* can_omit_optional_parentheses: Exit early for unparenthesized expressions
|
||||
* Fix dynamic mode with doctests so that it doesn't exceed configured line width
|
||||
* Fix can_omit_optional_parentheses for expressions with a right most fstring
|
||||
* Add target_version to formatter options
|
||||
* CLI
|
||||
* Update ruff format --check to display message for already formatted files
|
||||
* Bug fixes
|
||||
* Reverse order of arguments for operator.contains
|
||||
* Iterate over lambdas in deferred type annotations
|
||||
* Fix panic in D208 with multibyte indent
|
||||
* Add support for NoReturn in auto-return-typing
|
||||
* Allow removal of typing from exempt-modules
|
||||
* Avoid mutable-class-default violations for Pydantic subclasses
|
||||
* Fix dropped union expressions for piped non-types in PYI055 autofix
|
||||
* Enable annotation quoting for multi-line expressions
|
||||
* Deduplicate edits when quoting annotations
|
||||
* Prevent invalid utf8 indexing in cell magic detection
|
||||
* Avoid nested quotations in auto-quoting fix
|
||||
* Add base-class inheritance detection to flake8-django rules
|
||||
* Avoid asyncio-dangling-task violations on shadowed bindings
|
||||
* Documentation
|
||||
* Fix blog post URL in changelog
|
||||
* Add error suppression hint for multi-line strings
|
||||
* Fix typo in SemanticModel.parent_expression docstring
|
||||
* Document link between import sorting and formatter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 14 10:14:53 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ruff
|
||||
Version: 0.1.8
|
||||
Version: 0.1.9
|
||||
Release: 0
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7ee467677467526cfe135eab86a40a0e8db43117936ac4f9b469ce9cdb3fb62
|
||||
size 1891750
|
3
ruff-0.1.9.tar.gz
Normal file
3
ruff-0.1.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b041dee2734719ddbb4518f762c982f2e912e7f28b8ee4fe1dee0b15d1b6e800
|
||||
size 1907145
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4df5a0a6696f132b92942330c8ef447f82c62372e23c3c31b99dc39cab2bb4fa
|
||||
size 33010041
|
||||
oid sha256:2317ab728e7cb05d8f64c79d956a6682e640aeeadf4058593ed202a3608018fa
|
||||
size 32986496
|
||||
|
Loading…
Reference in New Issue
Block a user