Bryukh / pep8online

Web service for pep8 check

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Names to avoid

Bryukh opened this issue · comments

According to PEP 8:
Names to Avoid
Never use the characters 'l' (lowercase letter el), 'O' (uppercase letter oh), or 'I' (uppercase letter eye) as single character variable names.

In some fonts, these characters are indistinguishable from the numerals one and zero. When tempted to use 'l', use 'L' instead.

I put the following
l = 20
I = 40
O = 30
into the online checker, and it doesn't recognize it as invalid