forked from pool/python-ruff
- 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/package/show/devel:languages:python/python-ruff?expand=0&rev=24
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user