1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

remove unneeded optional

This commit is contained in:
Kelly Brazil
2022-02-01 17:18:55 -08:00
parent a15a1967dc
commit 96ec70de4f
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import locale
import shutil
from datetime import datetime, timezone
from textwrap import TextWrapper
from typing import Dict, Iterable, List, Union, Optional
from typing import Dict, Iterable, List, Union
def warning_message(message_lines: List[str]) -> None:
@ -76,7 +76,7 @@ def error_message(message_lines: List[str]) -> None:
print(message, file=sys.stderr)
def compatibility(mod_name: str, compatible: List, quiet: Optional[bool] = False) -> None:
def compatibility(mod_name: str, compatible: List, quiet: bool = False) -> None:
"""
Checks for the parser's compatibility with the running OS
platform.