---
source: crates/ruff/src/rules/pycodestyle/mod.rs
---
E26.py:4:12: E262 Inline comment should start with `# `
  |
4 | pass # an inline comment
5 | #: E262:1:12
6 | x = x + 1  #Increment x
  |            ^^^^^^^^^^^^ E262
7 | #: E262:1:12
8 | x = x + 1  #  Increment x
  |

E26.py:6:12: E262 Inline comment should start with `# `
   |
 6 | x = x + 1  #Increment x
 7 | #: E262:1:12
 8 | x = x + 1  #  Increment x
   |            ^^^^^^^^^^^^^^ E262
 9 | #: E262:1:12
10 | x = y + 1  #:  Increment x
   |

E26.py:8:12: E262 Inline comment should start with `# `
   |
 8 | x = x + 1  #  Increment x
 9 | #: E262:1:12
10 | x = y + 1  #:  Increment x
   |            ^^^^^^^^^^^^^^^ E262
11 | #: E265:1:1
12 | #Block comment
   |

E26.py:63:9: E262 Inline comment should start with `# `
   |
63 | # -*- coding: utf8 -*-
64 | #  (One space one NBSP) Ok for block comment
65 | a = 42  #  (One space one NBSP)
   |         ^^^^^^^^^^^^^^^^^^^^^^^ E262
66 | #: E262:2:9
67 | #  (Two spaces) Ok for block comment
   |

E26.py:66:9: E262 Inline comment should start with `# `
   |
66 | #: E262:2:9
67 | #  (Two spaces) Ok for block comment
68 | a = 42  #  (Two spaces)
   |         ^^^^^^^^^^^^^^^ E262
   |


