SHA256
1
0
forked from pool/python-ruff
python-ruff/ruff-0.2.2.tar.gz
Ondřej Súkup f74cb95efd - update to 0.2.2
* Highlights include:
   * Initial support formatting f-strings (in --preview).
   * Support for overriding arbitrary configuration options via the CLI
      through an expanded --config argument (e.g., --config "lint.isort.combine-as-imports=false").
   * Significant performance improvements in Ruff's lexer, parser, and lint rules.
 * Preview features
   * Implement minimal f-string formatting 
   * [pycodestyle] Add blank line(s) rules (E301, E302, E303, E304, E305, E306) 
   * [refurb] Implement readlines_in_for (FURB129) 
 * Rule changes
   * [ruff] Ensure closing parentheses for multiline sequences are always on their own line (RUF022, RUF023) 
   * [numpy] Add missing deprecation violations (NPY002) 
   * [flake8-bandit] Detect mark_safe usages in decorators 
   * [ruff] Expand asyncio-dangling-task (RUF006) to include new_event_loop 
   * [flake8-pyi] Ignore 'unused' private type dicts in class scopes 
 * Formatter
   * Docstring formatting: Preserve tab indentation when using indent-style=tabs 
   * Disable top-level docstring formatting for notebooks 
   * Stabilize quote-style's preserve mode 
 * CLI
   * Allow arbitrary configuration options to be overridden via the CLI 
 * Bug fixes
   * Make show-settings filters directory-agnostic 
   * Respect duplicates when rewriting type aliases 
   * Respect tuple assignments in typing analyzer 
   * Use atomic write when persisting cache 
   * Use non-parenthesized range for DebugText 
   * [flake8-simplify] Avoid false positive with async for loops (SIM113) 
   * [flake8-trio] Respect async with in timeout-without-await

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=40
2024-02-21 16:54:24 +00:00

4 lines
132 B
Plaintext

version https://git-lfs.github.com/spec/v1
oid sha256:e62ed7f36b3068a30ba39193a14274cd706bc486fad521276458022f7bccb31d
size 2040633