Skip to content

Commit cffed1d

Browse files
authored
fix: message cls crash (#225)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 82f2f92 commit cffed1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sp_repo_review/checks/ruff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ class RF1xx(Ruff):
8787
@classmethod
8888
def check(cls: type[RuffMixin], pyproject: dict[str, Any]) -> bool:
8989
"""
90-
Must select the {cls.name} `{cls.code}` checks. Recommended:
90+
Must select the {self.name} `{self.code}` checks. Recommended:
9191
```toml
92-
select = ["{cls.code}"] # {cls.name}
92+
select = ["{self.code}"] # {self.name}
9393
```
9494
"""
9595

0 commit comments

Comments
 (0)