Skip to content

Files

Latest commit

 

History

History
23 lines (14 loc) · 386 Bytes

File metadata and controls

23 lines (14 loc) · 386 Bytes

Pattern: Missing whitespace around bit-wise/shift operator

Issue: -

Description

There should be one space before and after bit-wise and shift operators (<<, >>, &, |, ^).

Example of incorrect code:

x = 128<<1

Example of correct code:

x = 128 << 1

Further Reading