Skip to content

Commit deea595

Browse files
committed
chore: fix typo
1 parent 1d7e838 commit deea595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutor_flake/rules/constructor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def check(
3636
yield Flake8Error.construct(
3737
func,
3838
530,
39-
f"Funciton `{func.name}`'s return value includes the class type: `{class_name}`."
39+
f"Function `{func.name}`'s return value includes the class type: `{class_name}`."
4040
" Likely you want to return the Self type imported from `typing` or `typing_extensions`"
4141
" as child types likely should return their own type.",
4242
cls,

0 commit comments

Comments
 (0)