Skip to content

Commit

Permalink
docs: fix syntax err in TC003
Browse files Browse the repository at this point in the history
  • Loading branch information
guilatrova committed Apr 17, 2023
1 parent fa50c28 commit 130a7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/violations/TC003.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def another_function(num: int):
```py
class ArgCantBeEven(Exception):
def __init__(self, arg: int):
super().__init__(f"The argument '{a}' should be even")
super().__init__(f"The argument '{arg}' should be even")

def first_function(a: int):
if a % 2 == 0:
Expand Down

0 comments on commit 130a7f2

Please sign in to comment.