forked from pool/python-ruff
Accepting request 1143460 from devel:languages:python
- update to 0.1.15 * Preview features * Error when NURSERY selector is used with --preview * Preserve indentation around multiline strings in formatter * [flake8-return] Add fixes for all rules (RET505, RET506, RET507, RET508) * [flake8-simplify] Add fix for if-with-same-arms (SIM114) * [pycodestyle] Add fix for multiple-imports-on-one-line (E401) * [pylint] Add fix for collapsible-else-if (PLR5501) * [pylint] Add fix for useless-else-on-loop (PLW0120) * [pylint] Implement assigning-non-slot (E0237) * [pylint] Implement potential-index-error (PLE0643) * [pylint] Implement too-many-nested-blocks (PLR1702) * [ruff] Add rule to sort __slots__ and __match_args__ * [ruff] Detect unnecessary dict comprehensions for iterables (RUF025) * [ruff] Guard against use of default_factory as a keyword argument (RUF026) * [ruff] Implement mutable-fromkeys-value (RUF024) * CLI * Enable auto-wrapping of --help output * Bug fixes * Avoid rendering display-only rules as fixable * Detect automagic-like assignments in notebooks * Generate custom JSON schema for dynamic setting * [flake8-no-pep420] Include global --config when determining namespace packages * [flake8-pie] Omit bound tuples passed to .startswith or .endswith * [flake8-return] Avoid panic when fixing inlined else blocks * [flake8-return] Consider exception suppression in unnecessary assignment * [flake8-return] Take NoReturn annotation into account when analyzing implicit returns * [flake8-simplify] Support inverted returns in needless-bool (SIM103) * [flake8-type-checking] Add Pydantic's BaseConfig to default-copy list * [flake8-type-checking] Avoid marking InitVar as a typing-only annotation OBS-URL: https://build.opensuse.org/request/show/1143460 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=16
This commit is contained in:
commit
4e617d27e2
@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 1 18:05:47 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.1.15
|
||||
* Preview features
|
||||
* Error when NURSERY selector is used with --preview
|
||||
* Preserve indentation around multiline strings in formatter
|
||||
* [flake8-return] Add fixes for all rules (RET505, RET506, RET507, RET508)
|
||||
* [flake8-simplify] Add fix for if-with-same-arms (SIM114)
|
||||
* [pycodestyle] Add fix for multiple-imports-on-one-line (E401)
|
||||
* [pylint] Add fix for collapsible-else-if (PLR5501)
|
||||
* [pylint] Add fix for useless-else-on-loop (PLW0120)
|
||||
* [pylint] Implement assigning-non-slot (E0237)
|
||||
* [pylint] Implement potential-index-error (PLE0643)
|
||||
* [pylint] Implement too-many-nested-blocks (PLR1702)
|
||||
* [ruff] Add rule to sort __slots__ and __match_args__
|
||||
* [ruff] Detect unnecessary dict comprehensions for iterables (RUF025)
|
||||
* [ruff] Guard against use of default_factory as a keyword argument (RUF026)
|
||||
* [ruff] Implement mutable-fromkeys-value (RUF024)
|
||||
* CLI
|
||||
* Enable auto-wrapping of --help output
|
||||
* Bug fixes
|
||||
* Avoid rendering display-only rules as fixable
|
||||
* Detect automagic-like assignments in notebooks
|
||||
* Generate custom JSON schema for dynamic setting
|
||||
* [flake8-no-pep420] Include global --config when determining namespace packages
|
||||
* [flake8-pie] Omit bound tuples passed to .startswith or .endswith
|
||||
* [flake8-return] Avoid panic when fixing inlined else blocks
|
||||
* [flake8-return] Consider exception suppression in unnecessary assignment
|
||||
* [flake8-return] Take NoReturn annotation into account when analyzing implicit returns
|
||||
* [flake8-simplify] Support inverted returns in needless-bool (SIM103)
|
||||
* [flake8-type-checking] Add Pydantic's BaseConfig to default-copy list
|
||||
* [flake8-type-checking] Avoid marking InitVar as a typing-only annotation
|
||||
* [pycodestyle] Allow dtype comparisons in type-comparison
|
||||
* [pydocstyle] Re-implement last-line-after-section (D413)
|
||||
* Documentation
|
||||
* [flake8-pytest-style] Add fix safety documentation for duplicate-parameterize-test-cases
|
||||
* [pylint] Document literal-membership fix safety conditions
|
||||
* [isort] Fix reference to isort rule code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 21 15:21:29 UTC 2024 - 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.14
|
||||
Version: 0.1.15
|
||||
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:ad3f8088b2dfd884820289a06ab718cde7d38b94972212cc4ba90d5fbc9955f3
|
||||
size 1954042
|
3
ruff-0.1.15.tar.gz
Normal file
3
ruff-0.1.15.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6dfa8c1b21c913c326919056c390966648b680966febcb796cc9d1aaab8564e
|
||||
size 1971643
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d33c9f139428b941714f43efd683d9f6236831fa2104e7e79d7abbbe375195b2
|
||||
size 25200327
|
||||
oid sha256:f6f3e1810f6a471f61e42fcbb9f38f48987c90c30e85b0e5118bf3acc40e4dc1
|
||||
size 25225275
|
||||
|
Loading…
Reference in New Issue
Block a user