---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
W291 [*] Trailing whitespace
 --> W29.py:4:6
  |
2 | # 情
3 | #: W291:1:6
4 | print 
  |      ^
5 | #: W293:2:1
6 | class Foo(object):
  |
help: Remove trailing whitespace
  |
3 | #: W291:1:6
  - print 
4 + print
5 | #: W293:2:1
  |

W291 [*] Trailing whitespace
  --> W29.py:11:35
   |
 9 | #: W291:2:35
10 | '''multiline
11 | string with trailing whitespace'''   
   |                                   ^^^
12 | #: W291 W292 noeol
13 | x = 1   
   |
help: Remove trailing whitespace
   |
10 | '''multiline
   - string with trailing whitespace'''   
11 + string with trailing whitespace'''
12 | #: W291 W292 noeol
   |

W291 [*] Trailing whitespace
  --> W29.py:13:6
   |
11 | string with trailing whitespace'''   
12 | #: W291 W292 noeol
13 | x = 1   
   |      ^^^
14 | #: W191 W292 noeol
15 | if False:
   |
help: Remove trailing whitespace
   |
12 | #: W291 W292 noeol
   - x = 1   
13 + x = 1
14 | #: W191 W292 noeol
   |
