---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
E304 [*] Blank lines found after function decorator (1)
   --> E30.py:765:1
    |
763 | @decorator
764 |
765 | def function():
    | ^^^
766 |     pass
767 | # end
    |
help: Remove extraneous blank line(s)
    |
763 | @decorator
    -
764 | def function():
    |

E304 [*] Blank lines found after function decorator (1)
   --> E30.py:774:1
    |
773 | # comment    E304 not expected
774 | def function():
    | ^^^
775 |     pass
776 | # end
    |
help: Remove extraneous blank line(s)
    |
771 | @decorator
    -
772 | # comment    E304 not expected
    |

E304 [*] Blank lines found after function decorator (2)
   --> E30.py:786:1
    |
785 | # second comment  E304 not expected
786 | def function():
    | ^^^
787 |     pass
788 | # end
    |
help: Remove extraneous blank line(s)
    |
780 | @decorator
    -
781 | # comment  E304 not expected
    -
    -
782 | # second comment  E304 not expected
    |
