Commit Graph

2 Commits

Author SHA256 Message Date
75b0f23e4f - update to 0.11.5
* Preview features
   * [airflow] Add missing AIR302 attribute check 
   * [airflow] Expand module path check to individual symbols (AIR302) 
   * [airflow] Extract AIR312 from AIR302 rules (AIR302, AIR312) 
   * [airflow] Update oudated AIR301, AIR302 rules 
   * [syntax-errors] Async comprehension in sync comprehension 
   * [syntax-errors] Check annotations in annotated assignments 
   * [syntax-errors] Extend annotation checks to await 
 * Bug fixes
   * [flake8-pie] Avoid false positive for multiple assignment with auto() (PIE796) 
 * Rule changes
   * [ruff] Fix RUF100 to detect unused file-level noqa directives with specific codes  
   * [flake8-pytest-style] Avoid false positive for legacy form of pytest.raises (PT011) 
 * Documentation
   * Fix formatting of "See Style Guide" link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=140
2025-04-11 17:16:44 +00:00
39806fad74 - update to 0.11.4
* Preview features
   * [ruff] Implement invalid-rule-code as RUF102 
   * [syntax-errors] Detect duplicate keys in match mapping patterns 
   * [syntax-errors] Detect duplicate attributes in match class patterns 
   * [syntax-errors] Detect invalid syntax in annotations 
   * [airflow] Add more autofixes for AIR302
   * [airflow] Move AIR301 to AIR002 
   * [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 
   * [flake8-bandit] Mark str and list[str] literals as trusted input (S603) 
   * [ruff] Support slices in RUF005 
   * [syntax-errors] Start detecting compile-time syntax errors 
   * [syntax-errors] Duplicate type parameter names 
   * [syntax-errors] Irrefutable case pattern before final case 
   * [syntax-errors] Multiple assignments in case pattern 
   * [syntax-errors] Single starred assignment target 
   * [syntax-errors] Starred expressions in return, yield, and for 
   * [syntax-errors] Store to or delete __debug__ 
 * Bug fixes
   * [syntax-errors] Fix multiple assignment error for class fields in match patterns 
   * Don't skip visiting non-tuple slice in typing.Annotated subscripts 
   * Error instead of panic! when running Ruff from a deleted directory
   * [syntax-errors] Fix false positive for parenthesized tuple index 
 * CLI
   * Check pyproject.toml correctly when it is passed via stdin 
 * Configuration
   * [flake8-import-conventions] Add import numpy.typing as npt to default flake8-import-conventions.aliases 
   * Documentation
   * [refurb] Document why UserDict, UserList, and UserString are preferred over dict, list, and str (FURB189)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=138
2025-04-06 19:01:15 +00:00