2 Commits

Author SHA256 Message Date
f6fca5b7dc - update to 0.5.1:
* Enable token-based rules on source with syntax errors
  * \[`flake8-bandit`\] Detect `httpx` for `S113`
  * \[`numpy`\] Update `NPY201` to include exception deprecations
  * \[`pylint`\] Generate autofix for `duplicate-bases`
    (`PLE0241`)
  * Avoid syntax error notification for source code actions
  * Consider the content of the new cells during notebook sync
  * Fix replacement edit range computation
  * Disable auto-fix when source has syntax errors
  * Fix cache key collisions for paths with separators
  * Make `requires-python` inference robust to `==`
  * Use char-wise width instead of `str`-width
  * \[`pycodestyle`\] Avoid `E275` if keyword followed by comma
  * \[`pycodestyle`\] Avoid `E275` if keyword is followed by a
    semicolon
  * \[`pylint`\] Skip dummy variables for `PLR1704`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=69
2024-07-08 09:49:30 +00:00
8c75d71fed - update to 0.5.0:
* Selecting ALL now excludes deprecated rules
  * The released archives now include an extra level of nesting, which
    can be removed with --strip-components=1 when untarring.
  * The release artifact's file name no longer includes the version
    tag. This enables users to install via /latest URLs on GitHub.
  * The diagnostic ranges for some flake8-bandit rules were modified
  * for details see https://github.com/astral-sh/ruff/releases/tag/0.5.0
   * Implement re-lexing logic for better error recovery
 * Rule changes
   * [flake8-copyright] Update CPY001 to check the first 4096 bytes instead of 1024
   * [pycodestyle] Update E999 to show all syntax errors instead of just the first one
  * Add tracing setup guide to Helix documentation
  * Add tracing setup guide to Neovim documentation
  * Defer notebook cell deletion to avoid an error message

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=67
2024-07-01 08:23:35 +00:00