argo0n / NograBot

Discord.py bot written by Argon#0002
GNU General Public License v3.0
2 stars 1 forks source link

(PYL-C0325) Unnecessary parentheses after keyword #70

Closed argo0n closed 3 years ago

argo0n commented 3 years ago

Description

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: python if len(some_variable) + 1 < 1: ... Not preferred: python if (len(some_variable) + 1) < 1: ...

Occurrences

There are 11 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/argo0n/NograBot/issue/PYL-C0325/occurrences/

argo0n commented 3 years ago

Fixed in commit 4b1d69e