---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
E275 [*] Missing whitespace after keyword
  --> E27.py:38:8
   |
36 | from w import  (e, f)
37 | #: E275
38 | from w import(e, f)
   |        ^^^^^^
39 | #: E275
40 | from importable.module import(e, f)
   |
help: Added missing whitespace after keyword
   |
37 | #: E275
   - from w import(e, f)
38 + from w import (e, f)
39 | #: E275
   |

E275 [*] Missing whitespace after keyword
  --> E27.py:40:24
   |
38 | from w import(e, f)
39 | #: E275
40 | from importable.module import(e, f)
   |                        ^^^^^^
41 | #: E275
42 | try:
   |
help: Added missing whitespace after keyword
   |
39 | #: E275
   - from importable.module import(e, f)
40 + from importable.module import (e, f)
41 | #: E275
   |

E275 [*] Missing whitespace after keyword
  --> E27.py:43:28
   |
41 | #: E275
42 | try:
43 |     from importable.module import(e, f)
   |                            ^^^^^^
44 | except ImportError:
45 |     pass
   |
help: Added missing whitespace after keyword
   |
42 | try:
   -     from importable.module import(e, f)
43 +     from importable.module import (e, f)
44 | except ImportError:
   |

E275 [*] Missing whitespace after keyword
  --> E27.py:47:1
   |
45 |     pass
46 | #: E275
47 | if(foo):
   | ^^
48 |     pass
49 | else:
   |
help: Added missing whitespace after keyword
   |
46 | #: E275
   - if(foo):
47 + if (foo):
48 |     pass
   |

E275 [*] Missing whitespace after keyword
  --> E27.py:55:5
   |
53 | #: E275:2:11
54 | if True:
55 |     assert(1)
   |     ^^^^^^
56 | #: Okay
57 | def f():
   |
help: Added missing whitespace after keyword
   |
54 | if True:
   -     assert(1)
55 +     assert (1)
56 | #: Okay
   |

E275 [*] Missing whitespace after keyword
  --> E27.py:77:1
   |
76 | #: E275
77 | match(foo):
   | ^^^^^
78 |     case(1):
79 |         pass
   |
help: Added missing whitespace after keyword
   |
76 | #: E275
   - match(foo):
77 + match (foo):
78 |     case(1):
   |

E275 [*] Missing whitespace after keyword
  --> E27.py:78:5
   |
76 | #: E275
77 | match(foo):
78 |     case(1):
   |     ^^^^
79 |         pass
   |
help: Added missing whitespace after keyword
   |
77 | match(foo):
   -     case(1):
78 +     case (1):
79 |         pass
   |
