make sure variable names are readable

Metadata

ID: python-best-practices/ambiguous-variable-name

Language: Python

Severity: Notice

Category: Best Practices

Description

In some fonts, some characters are indistinguishable from the numerals one and zero, such as, O looks like a zero. Use characters that are not ambiguous.

Non-Compliant Code Examples

I = 1  # use i instead

Compliant Code Examples

def i():
    pass
https://static.datadoghq.com/static/images/logos/github_avatar.svg https://static.datadoghq.com/static/images/logos/vscode_avatar.svg jetbrains

Seamless integrations. Try Datadog Code Analysis

PREVIEWING: rtrieu/product-analytics-ui-changes