PyCQA/flake8-bugbear

Consider adding alru_cache to B019

Open

#488 opened on 2024年8月8日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Python (116 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,116 stars)
PR merge metrics
 (PR metrics pending)

説明

The async-lru project provides a port for Python's built-in functools.lru_cache function for asyncio.

The same rules apply here with respect to garbage collection on instance methods. As this package is maintained by aio-libs it might be worth considering extending this rule to apply to uses of this decorator.

コントリビューターガイド