forked from pool/python-ruff
baf2db0363
- update to 0.2.1 * This release includes support for range formatting (i.e., the ability to format specific lines within a source file). * Preview features * [refurb] Implement missing-f-string-syntax (RUF027) * Format module-level docstrings * Formatter * Add --range option to ruff format * Don't trim last empty line in docstrings * Bug fixes * Skip empty lines when determining base indentation * Drop __get__ and __set__ from unnecessary-dunder-call * Respect generic Protocol in ellipsis removal * Revert "Use publicly available Apple Silicon runners" * Performance * Skip LibCST parsing for standard dedent adjustments * Remove CST-based fixer for C408 * Add our own ignored-names abstractions * Remove CST-based fixers for C400, C401, C410, and C418 * Use AhoCorasick to speed up quote match * Remove CST-based fixers for C405 and C409 * Add fast-path for comment detection * Invert order of checks in zero-sleep-call * Short-circuit typing matches based on imports * Run dunder method rule on methods directly * Track top-level module imports in the semantic model * Slight speed-up for lowercase and uppercase identifier checks * Remove LibCST-based fixer for C403 * Documentation * Update max-pos-args example to max-positional-args OBS-URL: https://build.opensuse.org/request/show/1144921 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=18 |
||
---|---|---|
_service | ||
.gitattributes | ||
.gitignore | ||
python-ruff.changes | ||
python-ruff.spec | ||
ruff-0.2.1.tar.gz | ||
vendor.tar.zst |