SHA256
1
0
forked from pool/python-ruff
Dominique Leuenberger 53bd271c15 Accepting request 1155592 from devel:languages:python
- update to 0.3.0
 * Preview features
   * [flake8-bandit] Remove suspicious-lxml-import (S410) 
   * [pycodestyle] Allow os.environ modifications between imports (E402) 
   * [pycodestyle] Don't warn about a single whitespace character before a comma in a tuple (E203) 
 * Rule changes
   * [eradicate] Detect commented out case statements (ERA001) 
   * [eradicate] Detect single-line code for try:, except:, etc. (ERA001) 
   * [flake8-boolean-trap] Allow boolean positionals in __post_init__ 
   * [flake8-copyright] Allow © in copyright notices 
   * [isort]: Use one blank line after imports in typing stub files 
   * [pylint] New Rule dict-iter-missing-items (PLE1141) 
   * [pylint] Ignore sys.version and sys.platform (PLR1714) 
   * [pyupgrade] Detect literals with unary operators (UP018) 
   * [ruff] Expand rule for list(iterable).pop(0) idiom (RUF015) 
 * Formatter
  * This release introduces the Ruff 2024.2 style, stabilizing the following changes:
   * Prefer splitting the assignment's value over the target or type annotation 
   * Remove blank lines before class docstrings 
   * Wrap multiple context managers in with parentheses when targeting Python 3.9 or newer 
   * Add a blank line after nested classes with a dummy body (...) in typing stub files 
   * Reduce vertical spacing for classes and functions with a dummy (...) body
   * Add a blank line after the module docstring 
   * Parenthesize long type hints in assignments 
   * Preserve indent for single multiline-string call-expressions 
   * Normalize hex escape and unicode escape sequences 
   * Format module docstrings 
 * CLI
   * Explicitly disallow extend as part of a --config flag 
   * Remove build from the default exclusion list

OBS-URL: https://build.opensuse.org/request/show/1155592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=20
2024-03-06 22:04:51 +00:00
2023-12-08 09:17:34 +00:00
2024-03-06 14:23:47 +00:00
2024-03-06 14:23:47 +00:00
2024-03-06 14:23:47 +00:00
2024-03-06 14:23:47 +00:00
Description
No description provided
375 KiB
Languages
RPM Spec 100%