vnrecode: add type definitions
This commit is contained in:
parent
8f9db132e6
commit
7433027cf3
5 changed files with 69 additions and 63 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue