Cooper Lees

Results 257 comments of Cooper Lees
trafficstars

Agree this would be nice to add to B018. Thanks for reporting.

Hi, Thanks for the interest here. I don't feel we should add specific checks for specific third party libraries to flake8-bugbear. I'm all about avoiding polices where we can, but...

Is `mcs` a well known for a meta class? If so, I'd take a PR allowing this if the class is Abstract of some description.

Would accept making the check handle lambdas better if it's possible.

Hi, Why have you opened issues for multiple linters? I don't know how ruff works, but does it only implement checks the original linter implements before it impenitents it in...

Well, it seems you're going ahead and not using flake8-bugbear codes for RUF and I appreciate the suggestion and consideration here. I do feel any half decent unittest would catch...

If nothing catches Exception (and children) being caught/except after BaseException, I think this is worth a check. BaseException catching in general is even more evil than Exception and I generally...

Howdy - Good suggestion. TIL about `Counter` and I use `defaultdict(int)` a lot. With it being a dict subclass what fixes the memory? https://docs.python.org/3/library/collections.html#collections.Counter - Couldn't see anything noted here...

Yup - I'll accept an opinionated for this - Lets just make sure we share the memory savings etc. - Thanks!

So, just so I understand, you just want to make a generic API to add import tracking to multiple checks in a central place? Any other main goals I missed...