forked from pool/python-ruff
Accepting request 1133053 from devel:languages:python
- update to 0.1.8 * Preview features * Add "preserve" quote-style to mimic Black's skip-string-normalization * Implement prefer_splitting_right_hand_side_of_assignments preview style * [pycodestyle] Add fix for unexpected-spaces-around-keyword-parameter-equals * [pycodestyle] Add fix for comment-related whitespace rules * [pycodestyle] Allow sys.path modifications between imports * [refurb] Implement hashlib-digest-hex (FURB181) * Rule changes * Allow flake8-type-checking rules to automatically quote runtime-evaluated references * Allow transparent cell magics in Jupyter Notebooks * [flake8-annotations] Avoid ANN2xx fixes for abstract methods with empty bodies * [flake8-self] Ignore underscore references in type annotations * [pep8-naming] Allow class names when apps.get_model is a non-string * [pycodestyle] Allow matplotlib.use calls to intersperse imports * [pyflakes] Support fixing unused assignments in tuples by renaming variables (F841) * [pylint] Add fix for subprocess-run-without-check (PLW1510) * Formatter * Add docstring-code-format knob to enable docstring snippet formatting * Use double quotes for all docstrings, including single-quoted docstrings * Implement "dynamic" line width mode for docstring code formatting * Support reformatting Markdown code blocks * add support for formatting reStructuredText code snippets * Avoid trailing comma for single-argument with positional separator * Fix handling of trailing target comment * CLI * Hide unsafe fix suggestions when explicitly disabled * Add SARIF support to --output-format * Bug fixes * Apply unnecessary index rule prior to enumerate rewrite OBS-URL: https://build.opensuse.org/request/show/1133053 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=10
This commit is contained in:
commit
f09f13c0e1
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 14 10:14:53 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.1.8
|
||||
* Preview features
|
||||
* Add "preserve" quote-style to mimic Black's skip-string-normalization
|
||||
* Implement prefer_splitting_right_hand_side_of_assignments preview style
|
||||
* [pycodestyle] Add fix for unexpected-spaces-around-keyword-parameter-equals
|
||||
* [pycodestyle] Add fix for comment-related whitespace rules
|
||||
* [pycodestyle] Allow sys.path modifications between imports
|
||||
* [refurb] Implement hashlib-digest-hex (FURB181)
|
||||
* Rule changes
|
||||
* Allow flake8-type-checking rules to automatically quote runtime-evaluated references
|
||||
* Allow transparent cell magics in Jupyter Notebooks
|
||||
* [flake8-annotations] Avoid ANN2xx fixes for abstract methods with empty bodies
|
||||
* [flake8-self] Ignore underscore references in type annotations
|
||||
* [pep8-naming] Allow class names when apps.get_model is a non-string
|
||||
* [pycodestyle] Allow matplotlib.use calls to intersperse imports
|
||||
* [pyflakes] Support fixing unused assignments in tuples by renaming variables (F841)
|
||||
* [pylint] Add fix for subprocess-run-without-check (PLW1510)
|
||||
* Formatter
|
||||
* Add docstring-code-format knob to enable docstring snippet formatting
|
||||
* Use double quotes for all docstrings, including single-quoted docstrings
|
||||
* Implement "dynamic" line width mode for docstring code formatting
|
||||
* Support reformatting Markdown code blocks
|
||||
* add support for formatting reStructuredText code snippets
|
||||
* Avoid trailing comma for single-argument with positional separator
|
||||
* Fix handling of trailing target comment
|
||||
* CLI
|
||||
* Hide unsafe fix suggestions when explicitly disabled
|
||||
* Add SARIF support to --output-format
|
||||
* Bug fixes
|
||||
* Apply unnecessary index rule prior to enumerate rewrite
|
||||
* [flake8-err-msg] Allow EM fixes even if msg variable is defined
|
||||
* [flake8-pie] Prevent keyword arguments duplication
|
||||
* [flake8-pie] Respect trailing comma in unnecessary-dict-kwargs (PIE804)
|
||||
* [flake8-raise] Avoid removing parentheses on ctypes.WinError
|
||||
* [isort] Avoid invalid combination of force-sort-within-types and lines-between-types
|
||||
* [isort] Ensure that from-style imports are always ordered first in __future__
|
||||
* [pycodestyle] Allow tab indentation before keyword
|
||||
* [pylint] Ignore @overrides and @overloads for too-many-positional
|
||||
* [pyupgrade] Enable printf-string-formatting fix with comments on right-hand side
|
||||
* [refurb] Make math-constant (FURB152) rule more targeted
|
||||
* [refurb] Support floating-point base in redundant-log-base (FURB163)
|
||||
* [ruff] Detect unused-asyncio-dangling-task (RUF006) on unused assignments
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 5 08:53:06 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ruff
|
||||
Version: 0.1.7
|
||||
Version: 0.1.8
|
||||
Release: 0
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dffd699d07abf54833e5f6cc50b85a6ff043715da8788c4a79bcd4ab4734d306
|
||||
size 1842985
|
3
ruff-0.1.8.tar.gz
Normal file
3
ruff-0.1.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7ee467677467526cfe135eab86a40a0e8db43117936ac4f9b469ce9cdb3fb62
|
||||
size 1891750
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:55db281d08896a502b3062aa0dd75be27832606266d3aadb7823a086a10faf3f
|
||||
size 33009302
|
||||
oid sha256:4df5a0a6696f132b92942330c8ef447f82c62372e23c3c31b99dc39cab2bb4fa
|
||||
size 33010041
|
||||
|
Loading…
Reference in New Issue
Block a user