python-ruff

Edit Package python-ruff
No description set
Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000309 309 Bytes
python-ruff.changes 0000086468 84.4 KB
python-ruff.spec 0000001847 1.8 KB
ruff-0.6.4.tar.gz 0002469375 2.35 MB
vendor.tar.zst 0027229027 26 MB
Revision 37 (latest revision is 46)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1199612 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 37)
- 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
Comments 0
openSUSE Build Service is sponsored by