mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
mypy: no need to declare None as return type for __init__
This commit is contained in:
parent
6ab2e2d9eb
commit
ee682abac8
2 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ import argparse
|
|||
|
||||
|
||||
class Codepoint:
|
||||
def __init__(self, start: int, end: None | int = None) -> None:
|
||||
def __init__(self, start: int, end: None | int = None):
|
||||
self.start = start
|
||||
self.end = start if end is None else end
|
||||
self.vs15 = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue