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

ℹ Safe fix
1 1 | #: Okay
2 2 | True and False
3 3 | #: E271
4   |-True and  False
  4 |+True and False
5 5 | #: E272
6 6 | True  and False
7 7 | #: E271

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

ℹ Safe fix
3 3 | #: E271
4 4 | True and  False
5 5 | #: E272
6   |-True  and False
  6 |+True and False
7 7 | #: E271
8 8 | if   1:
9 9 | #: E273

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

ℹ Safe fix
5 5 | #: E272
6 6 | True  and False
7 7 | #: E271
8   |-if   1:
  8 |+if 1:
9 9 | #: E273
10 10 | True and		False
11 11 | #: E273 E274

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

ℹ Safe fix
11 11 | #: E273 E274
12 12 | True		and	False
13 13 | #: E271
14    |-a and  b
   14 |+a and b
15 15 | #: E271
16 16 | 1 and  b
17 17 | #: E271

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

ℹ Safe fix
13 13 | #: E271
14 14 | a and  b
15 15 | #: E271
16    |-1 and  b
   16 |+1 and b
17 17 | #: E271
18 18 | a and  2
19 19 | #: E271 E272

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

ℹ Safe fix
15 15 | #: E271
16 16 | 1 and  b
17 17 | #: E271
18    |-a and  2
   18 |+a and 2
19 19 | #: E271 E272
20 20 | 1  and  b
21 21 | #: E271 E272

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

ℹ Safe fix
17 17 | #: E271
18 18 | a and  2
19 19 | #: E271 E272
20    |-1  and  b
   20 |+1  and b
21 21 | #: E271 E272
22 22 | a  and  2
23 23 | #: E272

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

ℹ Safe fix
19 19 | #: E271 E272
20 20 | 1  and  b
21 21 | #: E271 E272
22    |-a  and  2
   22 |+a  and 2
23 23 | #: E272
24 24 | this  and False
25 25 | #: E273

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

ℹ Safe fix
32 32 | from u import (a, b)
33 33 | from v import c, d
34 34 | #: E271
35    |-from w import  (e, f)
   35 |+from w import (e, f)
36 36 | #: E275
37 37 | from w import(e, f)
38 38 | #: E275


