forked from pool/python-ruff
ba711d28f0
- 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 |
||
---|---|---|
_service | ||
.gitattributes | ||
.gitignore | ||
python-ruff.changes | ||
python-ruff.spec | ||
ruff-0.1.9.tar.gz | ||
vendor.tar.zst |