Derived from the pyupgrade linter.
Fix is always available.
What it does#
Checks for unnecessary parentheses on
Why is this bad?#
Since Python 3.8,
functools.lru_cache can be used as a decorator without
trailing parentheses, as long as no arguments are passed to it.