Alex Waygood
Alex Waygood
> Considering starting by showing the path if it's not `.venv` (i.e., a virtualenv in the current working directory). I think this would be really useful. I was just caught...
Cross-referencing the similar issues over at mypy: - https://github.com/python/mypy/issues/17077 - https://github.com/python/mypy/issues/5756
> @AlexWaygood do you have ideas/opinions on a name for this rule? Possibly something like `consider-using-dataclass` could work well... but there might be other reasons you might want to consider...
Maybe something like `NonDataclassSimpleClass`?
> This is interesting #10146 I haven't looked at how the two rules overlap but maybe there's an opportunity. That is interesting, indeed... it's flagging a different antipattern, but one...
Fair point... In that case, I wonder if this is this even a "bug". Perhaps this could be classified as a "feature request for a new rule" 😛
FYI we already have a check for duplicate items in a union over at [flake8-pyi](https://github.com/PyCQA/flake8-pyi) (error code Y016). But we only support `.pyi` files currently. Feel free to take inspiration...
It looks like bugbear's tests currently assert the column number an error occurs on, as well as the line number — you won't be able to do that with a...
Thanks for opening the issue @jaraco! I'm not _sure_ I agree that this pattern has been "supported by consensus". If anything, I feel like I see more and more linters...
> If the goal is to ensure people don't access a possibly unbound loop variable outside of the loop, that should probably be a different check. Agreed that if this...