---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
snapshot_kind: text
---
E24.py:2:8: E241 [*] Multiple spaces after comma
  |
1 | #: E241
2 | a = (1,  2)
  |        ^^ E241
3 | #: Okay
4 | b = (1, 20)
  |
  = help: Replace with single space

ℹ Safe fix
1 1 | #: E241
2   |-a = (1,  2)
  2 |+a = (1, 2)
3 3 | #: Okay
4 4 | b = (1, 20)
5 5 | #: E242

E24.py:11:18: E241 [*] Multiple spaces after comma
   |
 9 | #: E241 E241 E241
10 | # issue 135
11 | more_spaces = [a,    b,
   |                  ^^^^ E241
12 |                ef,  +h,
13 |                c,   -d]
   |
   = help: Replace with single space

ℹ Safe fix
8  8  | b = (1, 20)  # space before 20
9  9  | #: E241 E241 E241
10 10 | # issue 135
11    |-more_spaces = [a,    b,
   11 |+more_spaces = [a, b,
12 12 |                ef,  +h,
13 13 |                c,   -d]

E24.py:12:19: E241 [*] Multiple spaces after comma
   |
10 | # issue 135
11 | more_spaces = [a,    b,
12 |                ef,  +h,
   |                   ^^ E241
13 |                c,   -d]
   |
   = help: Replace with single space

ℹ Safe fix
9  9  | #: E241 E241 E241
10 10 | # issue 135
11 11 | more_spaces = [a,    b,
12    |-               ef,  +h,
   12 |+               ef, +h,
13 13 |                c,   -d]

E24.py:13:18: E241 [*] Multiple spaces after comma
   |
11 | more_spaces = [a,    b,
12 |                ef,  +h,
13 |                c,   -d]
   |                  ^^^ E241
   |
   = help: Replace with single space

ℹ Safe fix
10 10 | # issue 135
11 11 | more_spaces = [a,    b,
12 12 |                ef,  +h,
13    |-               c,   -d]
   13 |+               c, -d]
