14
0
forked from pool/python-ruff

- Update to 0.1.4

* Preview features
   * [flake8-trio] Implement timeout-without-await (TRIO001)
   * [numpy] Implement NumPy 2.0 migration rule (NPY200)
   * [pylint] Implement bad-open-mode (W1501)
   * [pylint] Implement import-outside-toplevel (C0415) rule
   * [pylint] Implement useless-with-lock (W2101)
   * [pyupgrade] Implement timeout-error-alias (UP041)
   * [refurb] Implement isinstance-type-none (FURB168)
   * Detect confusable Unicode-to-Unicode units in RUF001, RUF002, and RUF003
   * Add newline after module docstrings in preview style
 * Formatter
   * Add a note on line-too-long to the formatter docs
   * Preserve trailing statement semicolons when using fmt: skip
   * Preserve trailing semicolons when using fmt: off
   * Avoid duplicating linter-formatter compatibility warnings
   * Avoid inserting a newline after function docstrings
   * Insert newline between docstring and following own line comment
   * Split tuples in return positions by comma first
   * Avoid treating byte strings as docstrings
   * Add --line-length option to format command
   * Avoid parenthesizing unsplittable because of comments
 * CLI
   * Add --output-format to ruff rule and ruff linter
 * Bug fixes
   * Respect --force-exclude in lint.exclude and format.exclude
   * Respect --extend-per-file-ignores on the CLI
   * Extend bad-dunder-method-name to permit __index__
   * Fix panic with 8 in octal escape
   * Avoid raising D300 when both triple quote styles are present

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=14
This commit is contained in:
2023-11-07 11:33:31 +00:00
committed by Git OBS Bridge
parent 9f74bd38b8
commit 95db8002aa
6 changed files with 61 additions and 7 deletions

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Tue Nov 7 11:29:10 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- Update to 0.1.4
* Preview features
* [flake8-trio] Implement timeout-without-await (TRIO001)
* [numpy] Implement NumPy 2.0 migration rule (NPY200)
* [pylint] Implement bad-open-mode (W1501)
* [pylint] Implement import-outside-toplevel (C0415) rule
* [pylint] Implement useless-with-lock (W2101)
* [pyupgrade] Implement timeout-error-alias (UP041)
* [refurb] Implement isinstance-type-none (FURB168)
* Detect confusable Unicode-to-Unicode units in RUF001, RUF002, and RUF003
* Add newline after module docstrings in preview style
* Formatter
* Add a note on line-too-long to the formatter docs
* Preserve trailing statement semicolons when using fmt: skip
* Preserve trailing semicolons when using fmt: off
* Avoid duplicating linter-formatter compatibility warnings
* Avoid inserting a newline after function docstrings
* Insert newline between docstring and following own line comment
* Split tuples in return positions by comma first
* Avoid treating byte strings as docstrings
* Add --line-length option to format command
* Avoid parenthesizing unsplittable because of comments
* CLI
* Add --output-format to ruff rule and ruff linter
* Bug fixes
* Respect --force-exclude in lint.exclude and format.exclude
* Respect --extend-per-file-ignores on the CLI
* Extend bad-dunder-method-name to permit __index__
* Fix panic with 8 in octal escape
* Avoid raising D300 when both triple quote styles are present
* Consider unterminated f-strings in FStringRanges
* Avoid including literal shell=True for truthy, non-True diagnostics
* Avoid triggering single-element test for starred expressions
* Detect and ignore Jupyter automagics
* Fix invalid E231 error with f-strings
* Avoid triggering NamedTuple rewrite with starred annotation
* Avoid un-setting bracket flag in logical lines
* Place 'r' prefix before 'f' for raw format strings
* Remove trailing periods from NumPy 2.0 code actions
* Fix bug where PLE1307 was raised when formatting %c with characters
* Remove unicode flag from comparable
* Improve B015 message
* Use fixedOverflowWidgets for playground popover
* Mark byte_bounds as a non-backwards-compatible NumPy 2.0 change
* Internals
* Add a dedicated cache directory per Ruff version
* Allow selective caching for --fix and --diff
* Improve performance of comment parsing
* Improve performance of string parsing
* Use a dedicated sort key for isort import sorting
-------------------------------------------------------------------
Fri Oct 27 07:53:47 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>