--- - branch: MAIN date: Fri Apr 26 07:26:31 UTC 2024 files: - new: '1.22' old: '1.21' path: pkgsrc/devel/py-ruff/Makefile pathrev: pkgsrc/devel/py-ruff/Makefile@1.22 type: modified - new: '1.22' old: '1.21' path: pkgsrc/devel/py-ruff/distinfo pathrev: pkgsrc/devel/py-ruff/distinfo@1.22 type: modified - new: '1.21' old: '1.20' path: pkgsrc/devel/py-ruff/cargo-depends.mk pathrev: pkgsrc/devel/py-ruff/cargo-depends.mk@1.21 type: modified id: 20240426T072631Z.c4e2cd1ef2087dfc5b54e81722b4f244ad0b4fd9 log: | py-ruff: updated to 0.4.2 v0.4.2 Rule changes [flake8-pyi] Allow for overloaded __exit__ and __aexit__ definitions (PYI036) [pyupgrade] Catch usages of "%s" % var and provide an unsafe fix (UP031) [refurb] Implement new rule that suggests min/max over sorted() (FURB192) Server Fix an issue with missing diagnostics for Neovim and Helix Implement hover documentation for noqa codes Introduce common Ruff configuration options with new server settings Bug fixes Use macos-12 for building release wheels to enable macOS 11 compatibility [flake8-blind-expect] Allow raise from in BLE001 [flake8-pyi] Allow simple assignments to None in enum class scopes (PYI026) [flake8-simplify] Avoid raising SIM911 for non-zip attribute calls [refurb] Avoid operator.itemgetter suggestion for single-item tuple [ruff] Respect per-file-ignores for RUF100 with no other diagnostics [ruff] Fix async comprehension false positive (RUF029) Documentation [flake8-bugbear] Document explicitly disabling strict zip (B905) [flake8-type-checking] Mention lint.typing-modules in TCH001, TCH002, and TCH003 [isort] Improve documentation around custom isort sections [pylint] Fix documentation oversight for invalid-X-returns Performance Use matchit to resolve per-file settings module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-ruff' unixtime: '1714116391' user: adam