vnrecode: add type definitions

This commit is contained in:
OleSTEEP 2024-09-04 02:40:47 +03:00
parent 8f9db132e6
commit 7433027cf3
5 changed files with 69 additions and 63 deletions

View file

@ -1,4 +1,4 @@
from argparse import ArgumentParser
from argparse import ArgumentParser, Namespace
from dataclasses import dataclass
from typing import Self
import tomllib
@ -68,7 +68,7 @@ class Params:
)
@staticmethod
def get_args():
def get_args() -> Namespace:
parser = ArgumentParser(prog="vnrecode",
description="Python utility to compress Visual Novel Resources"
)