Generalize comment handling in flake8-comprehension
fixes
#4296
Labels
fixes
Related to suggested fixes for violations
flake8-comprehension
fixes
#4296
I've provided a few examples but there will be a few more. As mentioned that whenever the parenthesis or brackets are being dropped, that's where this will happen. It seems to be happening in most of comprehension fixes.
I believe we should have a generalized way of resolving this.
C404
C405
C406
C409
C410
C411
Originally posted by @dhruvmanila in #4099 (comment)
The text was updated successfully, but these errors were encountered: