SHA256
1
0
forked from pool/python-ruff
This branch is 47 commits behind pool/python-ruff:factory
Ana Guerrero ee581a7a22 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
2024-09-10 19:12:18 +00:00
2024-09-09 08:15:34 +00:00
2024-09-09 08:15:34 +00:00
2024-09-09 08:15:34 +00:00
2024-09-09 08:15:34 +00:00
2024-09-09 08:15:34 +00:00
2024-09-09 08:15:34 +00:00
2024-09-09 08:15:34 +00:00
Description
No description provided
375 KiB
Languages
RPM Spec 100%