Python

Python

Made by DeepSource

Unnecessary parentheses after keyword PYL-C0325

Style
Minor
Autofix

Extra parentheses in code can be removed for improved readability.

In the examples below, the first example is more readable than the second one.

Preferred:

if len(some_variable) + 1 < 1:
    ...

Not preferred:

if (len(some_variable) + 1) < 1:
    ...