Accepting request 1123950 from devel:languages:python
- 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/request/show/1123950 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=6
This commit is contained in:
commit
9c72bbdb51
2
_service
2
_service
@ -1,7 +1,7 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="download_files" mode="manual" />
|
<service name="download_files" mode="manual" />
|
||||||
<service name="cargo_vendor" mode="manual">
|
<service name="cargo_vendor" mode="manual">
|
||||||
<param name="srctar">ruff-0.1.3.tar.gz</param>
|
<param name="srctar">ruff-0.1.4.tar.gz</param>
|
||||||
<param name="compression">zst</param>
|
<param name="compression">zst</param>
|
||||||
<param name="update">true</param>
|
<param name="update">true</param>
|
||||||
</service>
|
</service>
|
||||||
|
@ -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>
|
Fri Oct 27 07:53:47 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-ruff
|
Name: python-ruff
|
||||||
Version: 0.1.3
|
Version: 0.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An extremely fast Python linter, written in Rust
|
Summary: An extremely fast Python linter, written in Rust
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3ba6145369a151401d5db79f0a47d50e470384d0d89d0d6f7fab0b589ad07c34
|
|
||||||
size 1667977
|
|
3
ruff-0.1.4.tar.gz
Normal file
3
ruff-0.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:21520ecca4cc555162068d87c747b8f95e1e95f8ecfcbbe59e8dd00710586315
|
||||||
|
size 1685809
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:05f649636e77d37ad2720624f9cd6144fe94654a55516de87d1a35fb68fa9bb8
|
oid sha256:33ac57ea1fb001b61467eec9757cd53b8624976c8381e67fa7b3f866d671f84f
|
||||||
size 29012845
|
size 29032377
|
||||||
|
Loading…
x
Reference in New Issue
Block a user