---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
E228 [*] Missing whitespace around modulo operator
   --> E22.py:131:6
    |
129 | c = b^a
130 | #: E228
131 | a = b%c
    |      ^
132 | #: E228
133 | msg = fmt%(errno, errmsg)
    |
help: Add missing whitespace
    |
130 | #: E228
    - a = b%c
131 + a = b % c
132 | #: E228
    |

E228 [*] Missing whitespace around modulo operator
   --> E22.py:133:10
    |
131 | a = b%c
132 | #: E228
133 | msg = fmt%(errno, errmsg)
    |          ^
134 | #: E228
135 | msg = "Error %d occurred"%errno
    |
help: Add missing whitespace
    |
132 | #: E228
    - msg = fmt%(errno, errmsg)
133 + msg = fmt % (errno, errmsg)
134 | #: E228
    |

E228 [*] Missing whitespace around modulo operator
   --> E22.py:135:26
    |
133 | msg = fmt%(errno, errmsg)
134 | #: E228
135 | msg = "Error %d occurred"%errno
    |                          ^
136 | #:
    |
help: Add missing whitespace
    |
134 | #: E228
    - msg = "Error %d occurred"%errno
135 + msg = "Error %d occurred" % errno
136 | #:
    |
