Accepting request 1199612 from devel:languages:python
- update to 0.6.4: * \[`flake8-builtins`\] Use dynamic builtins list based on Python version * \[`pydoclint`\] Permit yielding `None` in `DOC402` and `DOC403` * \[`pylint`\] Update diagnostic message for `PLW3201` * \[`ruff`\] Implement `post-init-default` (`RUF033`) * \[`ruff`\] Implement useless if-else (`RUF034`) * \[`flake8-pyi`\] Respect `pep8_naming.classmethod-decorators` settings when determining if a method is a classmethod in `custom-type-var-return-type` (`PYI019`) * \[`flake8-pyi`\] Teach various rules that annotations might be stringized * \[`pylint`\] Avoid `no-self-use` for `attrs`-style validators * \[`pylint`\] Recurse into subscript subexpressions when searching for list/dict lookups (`PLR1733`, `PLR1736`) * \[`pyupgrade`\] Detect `aiofiles.open` calls in `UP015` * \[`pyupgrade`\] Mark `sys.version_info[0] < 3` and similar comparisons as outdated (`UP036`) * [flake8-simplify] Extend open-file-with-context-handler to work with other standard-library IO modules (SIM115) * [ruff] Avoid unused-async for functions with FastAPI route decorator (RUF029) * [ruff] Ignore fstring-missing-syntax (RUF027) for fastAPI paths * [ruff] Implement check for Decimal called with a float literal (RUF032) * [flake8-simplify] Extend open-file-with-context-handler to work with dbm.sqlite3 (SIM115) * [pycodestyle] Disable E741 in stub files (.pyi) * [pydoclint] Avoid DOC201 on explicit returns in functions that only return None * [flake8-bugbear] Update diagnostic message when expression is at the end of function (B015) * [flake8-pyi] Skip type annotations in string-or-bytes-too-long (PYI053) * [flake8-type-checking] Always recognise relative imports as first-party OBS-URL: https://build.opensuse.org/request/show/1199612 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=37
This commit is contained in:
commit
ee581a7a22
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 9 08:14:16 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.6.4:
|
||||||
|
* \[`flake8-builtins`\] Use dynamic builtins list based on
|
||||||
|
Python version
|
||||||
|
* \[`pydoclint`\] Permit yielding `None` in `DOC402` and
|
||||||
|
`DOC403`
|
||||||
|
* \[`pylint`\] Update diagnostic message for `PLW3201`
|
||||||
|
* \[`ruff`\] Implement `post-init-default` (`RUF033`)
|
||||||
|
* \[`ruff`\] Implement useless if-else (`RUF034`)
|
||||||
|
* \[`flake8-pyi`\] Respect `pep8_naming.classmethod-decorators`
|
||||||
|
settings when determining if a method is a classmethod in
|
||||||
|
`custom-type-var-return-type` (`PYI019`)
|
||||||
|
* \[`flake8-pyi`\] Teach various rules that annotations might
|
||||||
|
be stringized
|
||||||
|
* \[`pylint`\] Avoid `no-self-use` for `attrs`-style validators
|
||||||
|
* \[`pylint`\] Recurse into subscript subexpressions when
|
||||||
|
searching for list/dict lookups (`PLR1733`, `PLR1736`)
|
||||||
|
* \[`pyupgrade`\] Detect `aiofiles.open` calls in `UP015`
|
||||||
|
* \[`pyupgrade`\] Mark `sys.version_info[0] < 3` and similar
|
||||||
|
comparisons as outdated (`UP036`)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 2 09:01:34 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
Mon Sep 2 09:01:34 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-ruff
|
Name: python-ruff
|
||||||
Version: 0.6.3
|
Version: 0.6.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:183b99e9edd1ef63be34a3b51fee0a9f4ab95add123dbf89a71f7b1f0c991983
|
|
||||||
size 2463514
|
|
3
ruff-0.6.4.tar.gz
Normal file
3
ruff-0.6.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ac3b5bfbee99973f80aa1b7cbd1c9cbce200883bdd067300c22a6cc1c7fba212
|
||||||
|
size 2469375
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:7663ec6a43e5a30d481ae52733f493ad466b330933f864b2b4a28a1fe4d15985
|
oid sha256:a4dfad870e192380b8895bb4e581c91185e87c0dd59765179d8d78fe9e078cc4
|
||||||
size 27262198
|
size 27229027
|
||||||
|
Loading…
x
Reference in New Issue
Block a user