Path to this page:
Subject: CVS commit: pkgsrc/devel/py-ruff
From: Thomas Klausner
Date: 2024-01-07 17:31:38
Message id: 20240107163138.679A0FA42@cvs.NetBSD.org
Log Message:
py-ruff: update to 0.1.11.
v0.1.11
Changes
Preview features
[pylint] Implement super-without-brackets (W0245) (#9257)
Bug fixes
Check path string properly in python -m ruff invocations (#9367)
Documentation
Tweak relative-imports message (#9365)
Add fix safety note for yield-in-for-loop (#9364)
v0.1.10
Changes
Preview features
Improve dummy_implementations preview style formatting (#9240)
Normalise Hex and unicode escape sequences in strings (#9280)
Parenthesize long type annotations in annotated assignments (#9210)
Parenthesize multi-context managers in with statements (#9222)
[flake8-pyi] Implement generator-return-from-iter-method (PYI058) (#9313)
[pylint] Implement empty-comment (PLR2044) (#9174)
[refurb] Implement bit-count (FURB161) (#9265)
[ruff] Add never-union rule to detect redundant typing.NoReturn and \
typing.Never (#9217)
CLI
Add paths to TOML parse errors (#9358)
Add row and column numbers to formatter parse errors (#9321)
Improve responsiveness when invoked via Python (#9315)
Short rule messages should not end with a period (#9345)
Configuration
Respect runtime-required decorators on functions (#9317)
Bug fixes
Avoid asyncio-dangling-task for nonlocal and global bindings (#9263)
Escape trailing placeholders in rule documentation (#9301)
Fix continuation detection following multi-line strings (#9332)
Fix scoping for generators in named expressions in classes (#9248)
Port from obsolete wsl crate to is-wsl (#9356)
Remove special pre-visit for module docstrings (#9261)
Respect __str__ definitions from super classes (#9338)
Respect unused-noqa via per-file-ignores (#9300)
Respect attribute chains when resolving builtin call paths (#9309)
Treat all typing_extensions members as typing aliases (#9335)
Use Display for formatter parse errors (#9316)
Wrap subscripted dicts in parens for f-string conversion (#9238)
[flake8-annotations] Avoid adding return types to stub methods (#9277)
[flake8-annotations] Respect mixed return and raise cases in return-type \
analysis (#9310)
[flake8-bandit] Don't report violations when SafeLoader is imported from \
yaml.loader (S506) (#9299)
[pylint] Avoid panic when comment is preceded by Unicode (#9331)
[pylint] Change PLR0917 error message to match other PLR09XX messages (#9308)
[refurb] Avoid false positives for math-constant (FURB152) (#9290)
Documentation
Expand target name for better rule documentation (#9302)
Fix typos found by codespell (#9346)
[perflint] Document PERF102 fix un-safety (#9351)
[pyupgrade] Document UP007 fix un-safety (#9306)
Files: