SHA256
1
0
forked from pool/python-ruff
Go to file
Ondřej Súkup 4bc9116680 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=43
2024-03-06 14:23:47 +00:00
_service - update to 0.1.7 2023-12-08 09:17:34 +00:00
.gitattributes Accepting request 1117692 from home:mimi_vx 2023-10-13 16:29:43 +00:00
.gitignore Accepting request 1117692 from home:mimi_vx 2023-10-13 16:29:43 +00:00
python-ruff.changes - update to 0.3.0 2024-03-06 14:23:47 +00:00
python-ruff.spec - update to 0.3.0 2024-03-06 14:23:47 +00:00
ruff-0.3.0.tar.gz - update to 0.3.0 2024-03-06 14:23:47 +00:00
vendor.tar.zst - update to 0.3.0 2024-03-06 14:23:47 +00:00