add types

This commit is contained in:
def 2022-09-05 10:49:52 +02:00
parent ad351e594a
commit fb16c59312

View file

@ -1,4 +1,3 @@
import pathlib
import sys import sys
from sys import platform from sys import platform
@ -7,6 +6,7 @@ if platform != "linux":
input() input()
sys.exit(1) sys.exit(1)
import pathlib
from loguru import logger from loguru import logger
import pretty_errors import pretty_errors
from colorama import Fore, Back, Style, init from colorama import Fore, Back, Style, init
@ -37,8 +37,8 @@ parser.add_argument(
default="config.yaml", default="config.yaml",
) )
parser.add_argument("--proxy", "-p", help="Path to the proxy file", type=pathlib.Path) parser.add_argument("--proxy", "-p", help="Path to the proxy file", type=pathlib.Path)
parser.add_argument("--rtc_min", help="") parser.add_argument("--rtc_min", help="", type=int)
parser.add_argument("--rtc_max", help="") parser.add_argument("--rtc_max", help="", type=int)
args = parser.parse_args() args = parser.parse_args()