Skip to content

SIM300: Check Yoda Conditions #16

@MartinThoma

Description

@MartinThoma

Explanation

It's way more common to have the variable first.

Example

# Bad
"Yoda" == i_am

# Good
i_am == "Yoda"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions