PyCQA/flake8-bugbear

Consider adding alru_cache to B019

Open

#488 建立於 2024年8月8日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (116 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (1,116 star)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南