---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
E30.pyi:17:1: E303 [*] Too many blank lines (2)
   |
17 | def grouped1(): ...
   | ^^^ E303
18 | def grouped2(): ...
19 | def grouped3( ): ...
   |
   = help: Remove extraneous blank line(s)

ℹ Safe fix
13 13 | @overload
14 14 | def a(arg: int, name: str): ...
15 15 | 
16    |-
17 16 | def grouped1(): ...
18 17 | def grouped2(): ...
19 18 | def grouped3( ): ...

E30.pyi:22:1: E303 [*] Too many blank lines (2)
   |
22 | class BackendProxy:
   | ^^^^^ E303
23 |     backend_module: str
24 |     backend_object: str | None
   |
   = help: Remove extraneous blank line(s)

ℹ Safe fix
18 18 | def grouped2(): ...
19 19 | def grouped3( ): ...
20 20 | 
21    |-
22 21 | class BackendProxy:
23 22 |     backend_module: str
24 23 |     backend_object: str | None

E30.pyi:35:5: E303 [*] Too many blank lines (2)
   |
35 |     def ungrouped(): ...
   |     ^^^ E303
36 | a = "test"
   |
   = help: Remove extraneous blank line(s)

ℹ Safe fix
31 31 |     
32 32 |     def with_blank_line(): ...
33 33 |     
34    |-    
35 34 |     def ungrouped(): ...
36 35 | a = "test"
37 36 | 

E30.pyi:43:1: E303 [*] Too many blank lines (2)
   |
43 | def outer():
   | ^^^ E303
44 |      def inner():
45 |          pass
   |
   = help: Remove extraneous blank line(s)

ℹ Safe fix
39 39 |     pass
40 40 | b = "test"
41 41 | 
42    |-
43 42 | def outer():
44 43 |      def inner():
45 44 |          pass
