---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
E271 [*] Multiple spaces after keyword
 --> E27.py:4:9
  |
2 | True and False
3 | #: E271
4 | True and  False
  |         ^^
5 | #: E272
6 | True  and False
  |
help: Replace with single space
  |
3 | #: E271
  - True and  False
4 + True and False
5 | #: E272
  |

E271 [*] Multiple spaces after keyword
 --> E27.py:6:5
  |
4 | True and  False
5 | #: E272
6 | True  and False
  |     ^^
7 | #: E271
8 | if   1:
  |
help: Replace with single space
  |
5 | #: E272
  - True  and False
6 + True and False
7 | #: E271
  |

E271 [*] Multiple spaces after keyword
  --> E27.py:8:3
   |
 6 | True  and False
 7 | #: E271
 8 | if   1:
   |   ^^^
 9 |     pass
10 | #: E273
   |
help: Replace with single space
  |
7 | #: E271
  - if   1:
8 + if 1:
9 |     pass
  |

E271 [*] Multiple spaces after keyword
  --> E27.py:15:6
   |
13 | True        and    False
14 | #: E271
15 | a and  b
   |      ^^
16 | #: E271
17 | 1 and  b
   |
help: Replace with single space
   |
14 | #: E271
   - a and  b
15 + a and b
16 | #: E271
   |

E271 [*] Multiple spaces after keyword
  --> E27.py:17:6
   |
15 | a and  b
16 | #: E271
17 | 1 and  b
   |      ^^
18 | #: E271
19 | a and  2
   |
help: Replace with single space
   |
16 | #: E271
   - 1 and  b
17 + 1 and b
18 | #: E271
   |

E271 [*] Multiple spaces after keyword
  --> E27.py:19:6
   |
17 | 1 and  b
18 | #: E271
19 | a and  2
   |      ^^
20 | #: E271 E272
21 | 1  and  b
   |
help: Replace with single space
   |
18 | #: E271
   - a and  2
19 + a and 2
20 | #: E271 E272
   |

E271 [*] Multiple spaces after keyword
  --> E27.py:21:7
   |
19 | a and  2
20 | #: E271 E272
21 | 1  and  b
   |       ^^
22 | #: E271 E272
23 | a  and  2
   |
help: Replace with single space
   |
20 | #: E271 E272
   - 1  and  b
21 + 1  and b
22 | #: E271 E272
   |

E271 [*] Multiple spaces after keyword
  --> E27.py:23:7
   |
21 | 1  and  b
22 | #: E271 E272
23 | a  and  2
   |       ^^
24 | #: E272
25 | this  and False
   |
help: Replace with single space
   |
22 | #: E271 E272
   - a  and  2
23 + a  and 2
24 | #: E272
   |

E271 [*] Multiple spaces after keyword
  --> E27.py:36:14
   |
34 | from v import c, d
35 | #: E271
36 | from w import  (e, f)
   |              ^^
37 | #: E275
38 | from w import(e, f)
   |
help: Replace with single space
   |
35 | #: E271
   - from w import  (e, f)
36 + from w import (e, f)
37 | #: E275
   |

E271 [*] Multiple spaces after keyword
  --> E27.py:71:5
   |
70 | #: E271
71 | type  Number = int
   |     ^^
72 |
73 | #: E273
   |
help: Replace with single space
   |
70 | #: E271
   - type  Number = int
71 + type Number = int
72 |
   |
