ruff
ruff copied to clipboard
Add a rule to catch int(round(...)
trafficstars
int(round(x))and int(round(x, 0)) and int(round(x, None)) can all simply be written round(x). However, unnecessary casts to int are prevalent. Please consider adding a rule to catch these?
Seems reasonable to me. unnecessary-round-cast or something?
This sounds like a good refurb rule. @dosisod