---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
E227 [*] Missing whitespace around bitwise or shift operator
  --> E22.py:72:13
   |
70 | z = (x + 1)** y
71 | #: E225
72 | _1kB = _1MB >>10
   |             ^^
73 | #: E225
74 | _1kB = _1MB>> 10
   |
help: Add missing whitespace
   |
71 | #: E225
   - _1kB = _1MB >>10
72 + _1kB = _1MB >> 10
73 | #: E225
   |

E227 [*] Missing whitespace around bitwise or shift operator
  --> E22.py:74:12
   |
72 | _1kB = _1MB >>10
73 | #: E225
74 | _1kB = _1MB>> 10
   |            ^^
75 | #: E225 E225
76 | i=i+ 1
   |
help: Add missing whitespace
   |
73 | #: E225
   - _1kB = _1MB>> 10
74 + _1kB = _1MB >> 10
75 | #: E225 E225
   |

E227 [*] Missing whitespace around bitwise or shift operator
   --> E22.py:121:12
    |
119 |     return (i//2 for i in range(n))
120 | #: E227
121 | _1kB = _1MB>>10
    |            ^^
122 | #: E227
123 | _1MB = _1kB<<10
    |
help: Add missing whitespace
    |
120 | #: E227
    - _1kB = _1MB>>10
121 + _1kB = _1MB >> 10
122 | #: E227
    |

E227 [*] Missing whitespace around bitwise or shift operator
   --> E22.py:123:12
    |
121 | _1kB = _1MB>>10
122 | #: E227
123 | _1MB = _1kB<<10
    |            ^^
124 | #: E227
125 | a = b|c
    |
help: Add missing whitespace
    |
122 | #: E227
    - _1MB = _1kB<<10
123 + _1MB = _1kB << 10
124 | #: E227
    |

E227 [*] Missing whitespace around bitwise or shift operator
   --> E22.py:125:6
    |
123 | _1MB = _1kB<<10
124 | #: E227
125 | a = b|c
    |      ^
126 | #: E227
127 | b = c&a
    |
help: Add missing whitespace
    |
124 | #: E227
    - a = b|c
125 + a = b | c
126 | #: E227
    |

E227 [*] Missing whitespace around bitwise or shift operator
   --> E22.py:127:6
    |
125 | a = b|c
126 | #: E227
127 | b = c&a
    |      ^
128 | #: E227
129 | c = b^a
    |
help: Add missing whitespace
    |
126 | #: E227
    - b = c&a
127 + b = c & a
128 | #: E227
    |

E227 [*] Missing whitespace around bitwise or shift operator
   --> E22.py:129:6
    |
127 | b = c&a
128 | #: E227
129 | c = b^a
    |      ^
130 | #: E228
131 | a = b%c
    |
help: Add missing whitespace
    |
128 | #: E227
    - c = b^a
129 + c = b ^ a
130 | #: E228
    |

E227 [*] Missing whitespace around bitwise or shift operator
   --> E22.py:154:11
    |
152 | func2(lambda a, b=h[:], c=0: (a, b, c))
153 | if not -5 < x < +5:
154 |     print >>sys.stderr, "x is out of range."
    |           ^^
155 | print >> sys.stdout, "x is an integer."
156 | x = x / 2 - 1
    |
help: Add missing whitespace
    |
153 | if not -5 < x < +5:
    -     print >>sys.stderr, "x is out of range."
154 +     print >> sys.stderr, "x is out of range."
155 | print >> sys.stdout, "x is an integer."
    |
