- update to 0.1.7
* Preview features * Implement multiline dictionary and list hugging for preview style * Implement the fix_power_op_line_length preview style * Use Python version to determine typing rewrite safety * [flake8-annotations] Enable auto-return-type involving Optional and Union annotations * [flake8-bandit] Implement django-raw-sql (S611) * [flake8-bandit] Implement tarfile-unsafe-members (S202) * [flake8-pyi] Implement fix for unnecessary-literal-union (PYI030) * [flake8-simplify] Extend dict-get-with-none-default (SIM910) to non-literals * [pylint] - add unnecessary-list-index-lookup (PLR1736) + autofix * [pylint] - implement R0202 and R0203 with autofixes * [pylint] Implement repeated-keyword (PLe1132) * [pylint] Implement too-many-positional (PLR0917) * [pylint] Implement unnecessary-dict-index-lookup (PLR1733) * [refurb] Implement redundant-log-base (FURB163) * Rule changes * [flake8-boolean-trap] Allow booleans in @override methods * [flake8-bugbear] Avoid B015,B018 for last expression in a cell * [flake8-pie] Allow ellipses for enum values in stub files * [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias * [flake8-pyi] Check for kwarg and vararg NoReturn type annotations * [flake8-simplify] Omit select context managers from SIM117 * [pep8-naming] Allow Django model loads in non-lowercase-variable-in-function (N806) * [pycodestyle] Avoid E703 for last expression in a cell * [pycodestyle] Update E402 to work at cell level for notebooks * [pydocstyle] Avoid D100 for Jupyter Notebooks * [pylint] Implement fix for unspecified-encoding (PLW1514) * Formatter * Avoid unstable formatting in ellipsis-only body with trailing comment OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=20
This commit is contained in:
parent
5edabb2571
commit
6408889776
2
_service
2
_service
@ -1,7 +1,7 @@
|
||||
<services>
|
||||
<service name="download_files" mode="manual" />
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="srctar">ruff-0.1.6.tar.gz</param>
|
||||
<param name="srctar">ruff-*.tar.gz</param>
|
||||
<param name="compression">zst</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
|
@ -1,3 +1,86 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 5 08:53:06 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.1.7
|
||||
* Preview features
|
||||
* Implement multiline dictionary and list hugging for preview style
|
||||
* Implement the fix_power_op_line_length preview style
|
||||
* Use Python version to determine typing rewrite safety
|
||||
* [flake8-annotations] Enable auto-return-type involving Optional and Union annotations
|
||||
* [flake8-bandit] Implement django-raw-sql (S611)
|
||||
* [flake8-bandit] Implement tarfile-unsafe-members (S202)
|
||||
* [flake8-pyi] Implement fix for unnecessary-literal-union (PYI030)
|
||||
* [flake8-simplify] Extend dict-get-with-none-default (SIM910) to non-literals
|
||||
* [pylint] - add unnecessary-list-index-lookup (PLR1736) + autofix
|
||||
* [pylint] - implement R0202 and R0203 with autofixes
|
||||
* [pylint] Implement repeated-keyword (PLe1132)
|
||||
* [pylint] Implement too-many-positional (PLR0917)
|
||||
* [pylint] Implement unnecessary-dict-index-lookup (PLR1733)
|
||||
* [refurb] Implement redundant-log-base (FURB163)
|
||||
* Rule changes
|
||||
* [flake8-boolean-trap] Allow booleans in @override methods
|
||||
* [flake8-bugbear] Avoid B015,B018 for last expression in a cell
|
||||
* [flake8-pie] Allow ellipses for enum values in stub files
|
||||
* [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias
|
||||
* [flake8-pyi] Check for kwarg and vararg NoReturn type annotations
|
||||
* [flake8-simplify] Omit select context managers from SIM117
|
||||
* [pep8-naming] Allow Django model loads in non-lowercase-variable-in-function (N806)
|
||||
* [pycodestyle] Avoid E703 for last expression in a cell
|
||||
* [pycodestyle] Update E402 to work at cell level for notebooks
|
||||
* [pydocstyle] Avoid D100 for Jupyter Notebooks
|
||||
* [pylint] Implement fix for unspecified-encoding (PLW1514)
|
||||
* Formatter
|
||||
* Avoid unstable formatting in ellipsis-only body with trailing comment
|
||||
* Inline trailing comments for type alias similar to assignments
|
||||
* Insert trailing comma when function breaks with single argument
|
||||
* CLI
|
||||
* Update ruff check and ruff format to default to the current directory
|
||||
* Stop at the first resolved parent configuration
|
||||
* Configuration
|
||||
* [pylint] Default max-positional-args to max-args
|
||||
* [pylint] Add allow-dunder-method-names setting for bad-dunder-method-name (PLW3201)
|
||||
* [isort] Add support for from-first setting
|
||||
* [isort] Add support for length-sort settings
|
||||
* Bug fixes
|
||||
* Add support for @functools.singledispatch
|
||||
* Avoid off-by-one error in stripping noqa following multi-byte char
|
||||
* Avoid off-by-one error in with-item named expressions
|
||||
* Avoid syntax error via invalid ur string prefix
|
||||
* Avoid underflow in get_model matching
|
||||
* Avoid unnecessary index diagnostics when value is modified
|
||||
* Convert over-indentation rule to use number of characters
|
||||
* Detect implicit returns in auto-return-types
|
||||
* Fix start >= end error in over-indentation
|
||||
* Ignore @overload and @override methods for too-many-arguments checks
|
||||
* Lexer start of line is false only for Mode::Expression
|
||||
* Mark pydantic_settings.BaseSettings as having default copy semantics
|
||||
* Respect dictionary unpacking in NamedTuple assignments
|
||||
* Respect local subclasses in flake8-type-checking
|
||||
* Support type alias statements in simple statement positions
|
||||
* [flake8-annotations] Avoid filtering out un-representable types in return annotation
|
||||
* [flake8-pie] Retain extra ellipses in protocols and abstract methods
|
||||
* [flake8-pyi] Respect local enum subclasses in simple-defaults (PYI052)
|
||||
* [flake8-trio] Use correct range for TRIO115 fix
|
||||
* [flake8-trio] Use full arguments range for zero-sleep-call
|
||||
* [isort] fix: mark __main__ as first-party import
|
||||
* [pep8-naming] Avoid N806 errors for type alias statements
|
||||
* [perflint] Avoid PERF101 if there's an append in loop body
|
||||
* [pycodestyle] Allow space-before-colon after end-of-slice
|
||||
* [pydocstyle] Avoid non-character breaks in over-indentation (D208)
|
||||
* [pydocstyle] Ignore underlines when determining docstring logical lines
|
||||
* [pylint] Extend self-assigning-variable to multi-target assignments
|
||||
* [tryceratops] Avoid repeated triggers in nested tryceratops diagnostics
|
||||
* Documentation
|
||||
* Add advice for fixing RUF008 when mutability is not desired
|
||||
* Added the command to run ruff using pkgx to the installation.md
|
||||
* Document fix safety for flake8-comprehensions and some pyupgrade rules
|
||||
* Fix doc formatting for zero-sleep-call
|
||||
* Remove duplicate imports from os-stat documentation
|
||||
* Replace generated reference to MkDocs
|
||||
* Update Arch Linux package URL in installation.md
|
||||
* [flake8-pyi] Fix error in t-suffixed-type-alias (PYI043) example
|
||||
* [flake8-pyi] Improve motivation for custom-type-var-return-type (PYI019)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 19 03:53:46 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.6
|
||||
Version: 0.1.7
|
||||
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:1b09f29b16c6ead5ea6b097ef2764b42372aebe363722f1605ecbcd2b9207184
|
||||
size 1719627
|
3
ruff-0.1.7.tar.gz
Normal file
3
ruff-0.1.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dffd699d07abf54833e5f6cc50b85a6ff043715da8788c4a79bcd4ab4734d306
|
||||
size 1842985
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:329333da709d2e98d09ecad785995966e868d6b499bf4f47a3152e51054694b9
|
||||
size 29044550
|
||||
oid sha256:55db281d08896a502b3062aa0dd75be27832606266d3aadb7823a086a10faf3f
|
||||
size 33009302
|
||||
|
Loading…
Reference in New Issue
Block a user