Skip to content

Commit

Permalink
add fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
hoel-bagard committed Feb 27, 2024
1 parent 51ce88b commit 56cd7a7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,29 @@ def fn2():
# end


# E301
class Class:
"""Class for minimal repo."""

columns = []
@classmethod
def cls_method(cls) -> None:
pass
# end


# E301
class Class:
"""Class for minimal repo."""

def method(cls) -> None:
pass
@classmethod
def cls_method(cls) -> None:
pass
# end


# E302
"""Main module."""
def fn():
Expand Down

0 comments on commit 56cd7a7

Please sign in to comment.