mypy: no need to declare None as return type for __init__

This commit is contained in:
Daniel Eklöf 2025-12-26 14:13:14 +01:00
parent 6ab2e2d9eb
commit ee682abac8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 5 additions and 5 deletions

View file

@ -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